diff mbox series

[v3,01/17] arm64/sysreg: Add missing Pauth_LR field definitions to ID_AA64ISAR1_EL1

Message ID 20231214100158.2305400-2-tabba@google.com (mailing list archive)
State New, archived
Headers show
Series KVM: arm64: Fixes to fine grain traps and pKVM traps | expand

Commit Message

Fuad Tabba Dec. 14, 2023, 10:01 a.m. UTC
Add the Pauth_LR field definitions to ID_AA64ISAR1_EL1, based on
DDI0601 2023-09.

These fields aren't used yet. Adding them for completeness and
consistency (definition already exists for ID_AA64ISAR2_EL1).

Signed-off-by: Fuad Tabba <tabba@google.com>
---
 arch/arm64/tools/sysreg | 2 ++
 1 file changed, 2 insertions(+)

Comments

Mark Brown Dec. 14, 2023, 10:42 a.m. UTC | #1
On Thu, Dec 14, 2023 at 10:01:41AM +0000, Fuad Tabba wrote:
> Add the Pauth_LR field definitions to ID_AA64ISAR1_EL1, based on
> DDI0601 2023-09.
> 
> These fields aren't used yet. Adding them for completeness and
> consistency (definition already exists for ID_AA64ISAR2_EL1).

This is fine in so far as it goes, though it does make life slightly
easier to do the whole register at once.  There's also a new 0b0010
value in SPECRES here, though not worth making it a blocker:

Reviewed-by: Mark Brown <broonie@kernel.org>
Mark Brown Dec. 14, 2023, 10:49 a.m. UTC | #2
On Thu, Dec 14, 2023 at 10:42:12AM +0000, Mark Brown wrote:

> This is fine in so far as it goes, though it does make life slightly
> easier to do the whole register at once.  There's also a new 0b0010
> value in SPECRES here, though not worth making it a blocker:

Sorry, was looking at a draft version there - this is fine as per the
current docs (as is patch 2).
diff mbox series

Patch

diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg
index 2c4b6665c5bf..d596be2599d1 100644
--- a/arch/arm64/tools/sysreg
+++ b/arch/arm64/tools/sysreg
@@ -1401,6 +1401,7 @@  UnsignedEnum	11:8	API
 	0b0011	PAuth2
 	0b0100	FPAC
 	0b0101	FPACCOMBINE
+	0b0110	PAuth_LR
 EndEnum
 UnsignedEnum	7:4	APA
 	0b0000	NI
@@ -1409,6 +1410,7 @@  UnsignedEnum	7:4	APA
 	0b0011	PAuth2
 	0b0100	FPAC
 	0b0101	FPACCOMBINE
+	0b0110	PAuth_LR
 EndEnum
 UnsignedEnum	3:0	DPB
 	0b0000	NI