diff mbox series

[v3,1/5] arm64/sysreg: Update ID_AA64MMFR1_EL1 register

Message ID 20241022092734.59984-2-yangyicong@huawei.com (mailing list archive)
State New, archived
Headers show
Series Support Armv8.9/v9.4 FEAT_HAFT | expand

Commit Message

Yicong Yang Oct. 22, 2024, 9:27 a.m. UTC
From: Yicong Yang <yangyicong@hisilicon.com>

Update ID_AA64MMFR1_EL1 register fields definition per DDI0601 (ID092424)
2024-09. ID_AA64MMFR1_EL1.ETS adds definition for FEAT_ETS2 and
FEAT_ETS3. ID_AA64MMFR1_EL1.HAFDBS adds definition for FEAT_HAFT and
FEAT_HDBSS.

Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
---
 arch/arm64/tools/sysreg | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Mark Brown Oct. 22, 2024, 5:05 p.m. UTC | #1
On Tue, Oct 22, 2024 at 05:27:30PM +0800, Yicong Yang wrote:
> From: Yicong Yang <yangyicong@hisilicon.com>
> 
> Update ID_AA64MMFR1_EL1 register fields definition per DDI0601 (ID092424)
> 2024-09. ID_AA64MMFR1_EL1.ETS adds definition for FEAT_ETS2 and
> FEAT_ETS3. ID_AA64MMFR1_EL1.HAFDBS adds definition for FEAT_HAFT and
> FEAT_HDBSS.

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

This was also in a recent KVM series (which prompted me to send the same
change since the change there was only partially done), it'd be good to
get this merged.
Yicong Yang Oct. 23, 2024, 10:06 a.m. UTC | #2
On 2024/10/23 1:05, Mark Brown wrote:
> On Tue, Oct 22, 2024 at 05:27:30PM +0800, Yicong Yang wrote:
>> From: Yicong Yang <yangyicong@hisilicon.com>
>>
>> Update ID_AA64MMFR1_EL1 register fields definition per DDI0601 (ID092424)
>> 2024-09. ID_AA64MMFR1_EL1.ETS adds definition for FEAT_ETS2 and
>> FEAT_ETS3. ID_AA64MMFR1_EL1.HAFDBS adds definition for FEAT_HAFT and
>> FEAT_HDBSS.
> 
> Reviewed-by: Mark Brown <broonie@kernel.org>
> 
> This was also in a recent KVM series (which prompted me to send the same
> change since the change there was only partially done), it'd be good to
> get this merged.
> 

Thanks. I may missed that series..
diff mbox series

Patch

diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg
index 8d637ac4b7c6..ae64ba810298 100644
--- a/arch/arm64/tools/sysreg
+++ b/arch/arm64/tools/sysreg
@@ -1648,6 +1648,8 @@  EndEnum
 UnsignedEnum	39:36	ETS
 	0b0000	NI
 	0b0001	IMP
+	0b0010	ETS2
+	0b0011	ETS3
 EndEnum
 UnsignedEnum	35:32	TWED
 	0b0000	NI
@@ -1688,6 +1690,8 @@  UnsignedEnum	3:0	HAFDBS
 	0b0000	NI
 	0b0001	AF
 	0b0010	DBM
+	0b0011	HAFT
+	0b0100	HDBSS
 EndEnum
 EndSysreg