From: broonie@kernel.org
To: Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>
Cc: Fuad Tabba <tabba@google.com>, Joey Gouly <joey.gouly@arm.com>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Mark Brown <broonie@kernel.org>
Subject: [PATCH 02/13] arm64/sysreg: Add definition for HAFGRTR_EL2
Date: Sat, 09 Dec 2023 01:02:48 +0000 [thread overview]
Message-ID: <20231209-b4-arm64-sysreg-additions-v1-2-45284e538474@kernel.org> (raw)
In-Reply-To: <20231209-b4-arm64-sysreg-additions-v1-0-45284e538474@kernel.org>
From: Fuad Tabba <tabba@google.com>
Add a definition of HAFGRTR_EL2 (fine grained trap control for the AMU) as
per DDI0601 2023-09.
This was extracted from Fuad Tabba's patch "KVM: arm64: Handle
HAFGRTR_EL2 trapping in nested virt".
Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20231206100503.564090-6-tabba@google.com
[Extract sysreg update and rewrite commit message -- broonie]
Signed-off-by: Mark Brown <broonie@kernel.org>
---
arch/arm64/tools/sysreg | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg
index 8faeab1ee024..145b33f75a96 100644
--- a/arch/arm64/tools/sysreg
+++ b/arch/arm64/tools/sysreg
@@ -2297,6 +2297,49 @@ Field 1 DBGBVRn_EL1
Field 0 DBGBCRn_EL1
EndSysreg
+Sysreg HAFGRTR_EL2 3 4 3 1 6
+Res0 63:50
+Field 49 AMEVTYPER115_EL0
+Field 48 AMEVCNTR115_EL0
+Field 47 AMEVTYPER114_EL0
+Field 46 AMEVCNTR114_EL0
+Field 45 AMEVTYPER113_EL0
+Field 44 AMEVCNTR113_EL0
+Field 43 AMEVTYPER112_EL0
+Field 42 AMEVCNTR112_EL0
+Field 41 AMEVTYPER111_EL0
+Field 40 AMEVCNTR111_EL0
+Field 39 AMEVTYPER110_EL0
+Field 38 AMEVCNTR110_EL0
+Field 37 AMEVTYPER19_EL0
+Field 36 AMEVCNTR19_EL0
+Field 35 AMEVTYPER18_EL0
+Field 34 AMEVCNTR18_EL0
+Field 33 AMEVTYPER17_EL0
+Field 32 AMEVCNTR17_EL0
+Field 31 AMEVTYPER16_EL0
+Field 30 AMEVCNTR16_EL0
+Field 29 AMEVTYPER15_EL0
+Field 28 AMEVCNTR15_EL0
+Field 27 AMEVTYPER14_EL0
+Field 26 AMEVCNTR14_EL0
+Field 25 AMEVTYPER13_EL0
+Field 24 AMEVCNTR13_EL0
+Field 23 AMEVTYPER12_EL0
+Field 22 AMEVCNTR12_EL0
+Field 21 AMEVTYPER11_EL0
+Field 20 AMEVCNTR11_EL0
+Field 19 AMEVTYPER10_EL0
+Field 18 AMEVCNTR10_EL0
+Field 17 AMCNTEN1
+Res0 16:5
+Field 4 AMEVCNTR03_EL0
+Field 3 AMEVCNTR02_EL0
+Field 2 AMEVCNTR01_EL0
+Field 1 AMEVCNTR00_EL0
+Field 0 AMCNTEN0
+EndSysreg
+
Sysreg ZCR_EL2 3 4 1 2 0
Fields ZCR_ELx
EndSysreg
--
2.39.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-12-09 1:04 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-09 1:02 [PATCH 00/13] arm64/sysreg: System register updates from the 2023-09 XML release broonie
2023-12-09 1:02 ` [PATCH 01/13] arm64/sysreg: Update HFGITR_EL2 definiton to DDI0601 2023-09 broonie
2023-12-09 1:02 ` broonie [this message]
2023-12-09 1:02 ` [PATCH 03/13] arm64/sysreg: add system register POR_EL{0,1} broonie
2023-12-09 1:02 ` [PATCH 04/13] arm64/sysreg: update CPACR_EL1 register broonie
2023-12-09 1:02 ` [PATCH 05/13] arm64/sysreg: Add definition for ID_AA64PFR2_EL1 Mark Brown
2023-12-11 8:59 ` Fuad Tabba
2023-12-09 1:02 ` [PATCH 06/13] arm64/sysreg: Update ID_AA64ISAR2_EL1 defintion for DDI0601 2023-09 Mark Brown
2023-12-11 9:07 ` Fuad Tabba
2023-12-12 9:10 ` Will Deacon
2023-12-12 10:24 ` Fuad Tabba
2023-12-12 12:56 ` Mark Brown
2023-12-09 1:02 ` [PATCH 07/13] arm64/sysreg: Add definition for ID_AA64ISAR3_EL1 Mark Brown
2023-12-11 9:14 ` Fuad Tabba
2023-12-09 1:02 ` [PATCH 08/13] arm64/sysreg: Add definition for ID_AA64FPFR0_EL1 Mark Brown
2023-12-11 9:18 ` Fuad Tabba
2023-12-09 1:02 ` [PATCH 09/13] arm64/sysreg: Update ID_AA64SMFR0_EL1 definition for DDI0601 2023-09 Mark Brown
2023-12-11 9:17 ` Fuad Tabba
2023-12-09 1:02 ` [PATCH 10/13] arm64/sysreg: Update SCTLR_EL1 " Mark Brown
2023-12-11 9:19 ` Fuad Tabba
2023-12-09 1:02 ` [PATCH 11/13] arm64/sysreg: Update HCRX_EL2 definition " Mark Brown
2023-12-11 9:26 ` Fuad Tabba
2023-12-09 1:02 ` [PATCH 12/13] arm64/sysreg: Add definition for FPMR Mark Brown
2023-12-11 9:28 ` Fuad Tabba
2023-12-09 1:02 ` [PATCH 13/13] arm64/sysreg: Add new system registers for GCS Mark Brown
2023-12-11 9:38 ` Fuad Tabba
2023-12-11 20:27 ` [PATCH 00/13] arm64/sysreg: System register updates from the 2023-09 XML release Will Deacon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231209-b4-arm64-sysreg-additions-v1-2-45284e538474@kernel.org \
--to=broonie@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=joey.gouly@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tabba@google.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox