From nobody Mon Sep 09 16:05:32 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X2Wrr26kDz5WlCj; Mon, 09 Sep 2024 16:05:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X2Wrr1HXnz4rd8; Mon, 9 Sep 2024 16:05:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725897932; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HybpquYKdLv4EBMeY1BLK3cQJxls5IkIFqEGhTWAIr8=; b=eVbc2P5isIsp/1iV6+P6nrKt0KahzDqAhGopmSNpWKYF5NC9eRwAeZ5OGvhe97SGhyozn9 3w9gK9cYcpp8iAF/62L6nx4km9ZOik0R5Dbu7xF0HCSalHEnwB1JkFqWZIfe0EU0KQTksV oq/LR0bpOCC88F9lqUZKAZLoxBB6V66ZYp7n5QS7ei/moeJE9z/VfXguVV0hV2fVfSuuP2 exRxMTJBqJ52PXJKkXTzdp7ELxd/FSYbcH4Zzdku/vfUOxQM2HJE8hywrto1bK0qAGpKnR yekJ9L8cdFi+GRrMRrmtFmqJCifFndnvhPI8HlvbaccMU36iFDfGiyQ0h/qEnA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725897932; a=rsa-sha256; cv=none; b=h04yym01PI9lyFx2BFdcmi6ZhghC9lWOsAEZ+ZllGu6B8eC6tZ/afATXjPDIrRCwK9YJLn 6eedLc/xm34eY5iXian4tbX0NIRgra4hTRbjnBQjZtno/39PHNhlltV+wMyOwG4n5EkXhe 24xirJlk+qkhdamIqUlKntNCt5jwXHex9AuFOLeppHJhxKgI+FLiTAsnOnbNlUBb/R5Yds bA5QucRbp6VqZ7ucxk/g8H3BTrzBpaS0lX8t7wJP36bFcbN7GRojjymIvAvRrx+Oxmes0X reatlKaFZ2myiQyBgxeBVJ4ACt1iP0ex/Dha2rpNSRvJuw/MKHFiz9xNFem3oA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725897932; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HybpquYKdLv4EBMeY1BLK3cQJxls5IkIFqEGhTWAIr8=; b=EA4m7oHrmctVzO87jpsiWpG7zr03cGw9TeE1MY02RLJXPDGfD6RXPrhGFOGU7IETIZb1Ot G3kn+yXCV7bP/obBVBDhyJ6KBvY+N9CX4NsLy8JnFLze8dW5iRHEexmnG4n9z9ttoYpV2o 2T8/Luhun3e4DqIxAUA+nOEByw9dTv/Z+P9P8sfQqUO1amqRIO0zQQOzBmz0pmRqcsASKY nPGYs1HCTUfZDB6FKqHsU5D1vXey0d2Qo+pHmxQ6bl6YryPCzfREGMY81XtaPPrfWpOxOh OA6qrRthA9OaxT+YNZ0b933ccbvDgItkp6I9ExraeBKMLfL6AZrxDzjPsPpVIw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X2Wrr0t9hz18c8; Mon, 9 Sep 2024 16:05:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 489G5W0N041790; Mon, 9 Sep 2024 16:05:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 489G5Wij041787; Mon, 9 Sep 2024 16:05:32 GMT (envelope-from git) Date: Mon, 9 Sep 2024 16:05:32 GMT Message-Id: <202409091605.489G5Wij041787@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: 610348a90467 - main - arm64: add additional MDCR_EL2 fields List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: andrew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 610348a90467980de0498fab8dfdddf221d7a604 Auto-Submitted: auto-generated The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=610348a90467980de0498fab8dfdddf221d7a604 commit 610348a90467980de0498fab8dfdddf221d7a604 Author: Zachary Leaf AuthorDate: 2024-07-03 07:26:34 +0000 Commit: Andrew Turner CommitDate: 2024-09-09 15:56:53 +0000 arm64: add additional MDCR_EL2 fields Monitor Debug Configuration Register provides EL2 configuration options for self-hosted debug and the Performance Monitors Extension. Reviewed by: andrew Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D46191 --- sys/arm64/include/hypervisor.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/sys/arm64/include/hypervisor.h b/sys/arm64/include/hypervisor.h index 1a27a8dd919b..499dba9092fc 100644 --- a/sys/arm64/include/hypervisor.h +++ b/sys/arm64/include/hypervisor.h @@ -267,5 +267,35 @@ #define MDCR_EL2_TDOSA (0x1UL << MDCR_EL2_TDOSA_SHIFT) #define MDCR_EL2_TDRA_SHIFT 11 #define MDCR_EL2_TDRA (0x1UL << MDCR_EL2_TDRA_SHIFT) +#define MDCR_E2PB_SHIFT 12 +#define MDCR_E2PB_MASK (0x3UL << MDCR_E2PB_SHIFT) +#define MDCR_TPMS_SHIFT 14 +#define MDCR_TPMS (0x1UL << MDCR_TPMS_SHIFT) +#define MDCR_EnSPM_SHIFT 15 +#define MDCR_EnSPM (0x1UL << MDCR_EnSPM_SHIFT) +#define MDCR_HPMD_SHIFT 17 +#define MDCR_HPMD (0x1UL << MDCR_HPMD_SHIFT) +#define MDCR_TTRF_SHIFT 19 +#define MDCR_TTRF (0x1UL << MDCR_TTRF_SHIFT) +#define MDCR_HCCD_SHIFT 23 +#define MDCR_HCCD (0x1UL << MDCR_HCCD_SHIFT) +#define MDCR_E2TB_SHIFT 24 +#define MDCR_E2TB_MASK (0x3UL << MDCR_E2TB_SHIFT) +#define MDCR_HLP_SHIFT 26 +#define MDCR_HLP (0x1UL << MDCR_HLP_SHIFT) +#define MDCR_TDCC_SHIFT 27 +#define MDCR_TDCC (0x1UL << MDCR_TDCC_SHIFT) +#define MDCR_MTPME_SHIFT 28 +#define MDCR_MTPME (0x1UL << MDCR_MTPME_SHIFT) +#define MDCR_HPMFZO_SHIFT 29 +#define MDCR_HPMFZO (0x1UL << MDCR_HPMFZO_SHIFT) +#define MDCR_PMSSE_SHIFT 30 +#define MDCR_PMSSE_MASK (0x3UL << MDCR_PMSSE_SHIFT) +#define MDCR_HPMFZS_SHIFT 36 +#define MDCR_HPMFZS (0x1UL << MDCR_HPMFZS_SHIFT) +#define MDCR_PMEE_SHIFT 40 +#define MDCR_PMEE_MASK (0x3UL << MDCR_PMEE_SHIFT) +#define MDCR_EBWE_SHIFT 43 +#define MDCR_EBWE (0x1UL << MDCR_EBWE_SHIFT) #endif /* !_MACHINE_HYPERVISOR_H_ */