diff mbox series

[v1,03/18] arm64/sysreg: add TCR2En to HCRX_EL2

Message ID 20230309145246.22787-4-joey.gouly@arm.com (mailing list archive)
State New, archived
Headers show
Series Permission Indirection Extension | expand

Commit Message

Joey Gouly March 9, 2023, 2:52 p.m. UTC
This bit controls the trapping of TCR2_EL1 to EL2.

Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Mark Brown <broonie@kernel.org>
---
 arch/arm64/tools/sysreg | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Mark Brown March 9, 2023, 3:23 p.m. UTC | #1
On Thu, Mar 09, 2023 at 02:52:31PM +0000, Joey Gouly wrote:

> This bit controls the trapping of TCR2_EL1 to EL2.

>  Sysreg	HCRX_EL2	3	4	1	2	2
> -Res0	63:12
> +Res0	63:15
> +Field	14	TCR2En
> +Res0	13:12

This is correct but it would be much better to sync with the latest XML
release (DDI 0601 2022-12), there's a bunch of other fields defined.
That way different serieses can share the patch without conflicts, and
it makes life a bit easier with the review.
diff mbox series

Patch

diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg
index 0c3a6790842a..1d9805239a73 100644
--- a/arch/arm64/tools/sysreg
+++ b/arch/arm64/tools/sysreg
@@ -1935,7 +1935,9 @@  Fields	ZCR_ELx
 EndSysreg
 
 Sysreg	HCRX_EL2	3	4	1	2	2
-Res0	63:12
+Res0	63:15
+Field	14	TCR2En
+Res0	13:12
 Field	11	MSCEn
 Field	10	MCE2
 Field	9	CMOW