diff mbox series

[v4,10/36] arm64: Define ID_AA64MMFR1_EL1.HAFDBS advertising FEAT_HAFT

Message ID 20241009190019.3222687-11-maz@kernel.org (mailing list archive)
State New
Headers show
Series KVM: arm64: Add EL2 support to FEAT_S1PIE/S1POE | expand

Commit Message

Marc Zyngier Oct. 9, 2024, 6:59 p.m. UTC
This definition is missing, and we are going to need it to sanitise
TCR2_ELx.

Signed-off-by: Marc Zyngier <maz@kernel.org>
---
 arch/arm64/tools/sysreg | 1 +
 1 file changed, 1 insertion(+)

Comments

Mark Brown Oct. 10, 2024, 4:20 p.m. UTC | #1
On Wed, Oct 09, 2024 at 07:59:53PM +0100, Marc Zyngier wrote:
> This definition is missing, and we are going to need it to sanitise
> TCR2_ELx.

> diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg
> index 3c812fd28eca2..8db4431093b26 100644
> --- a/arch/arm64/tools/sysreg
> +++ b/arch/arm64/tools/sysreg
> @@ -1688,6 +1688,7 @@ UnsignedEnum	3:0	HAFDBS
>  	0b0000	NI
>  	0b0001	AF
>  	0b0010	DBM
> +	0b0011	HAFT
>  EndEnum

This is correct in so far as it goes, but we are also mising HDBSS
according to the 2024-09 XML, plus a couple of new revisions of ETS.
I'll send a patch doing the full update, it should just be a trivial
add/add conflict.

Reviewed-by: Mark Brown <broonie@kernel.org>

It tends to make life a bit easier to note which version of the spec is
being referenced with these updates.
diff mbox series

Patch

diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg
index 3c812fd28eca2..8db4431093b26 100644
--- a/arch/arm64/tools/sysreg
+++ b/arch/arm64/tools/sysreg
@@ -1688,6 +1688,7 @@  UnsignedEnum	3:0	HAFDBS
 	0b0000	NI
 	0b0001	AF
 	0b0010	DBM
+	0b0011	HAFT
 EndEnum
 EndSysreg