Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arm64: Repaint ID_AA64MMFR2_EL1.IDS description

ID_AA64MMFR2_EL1.IDS, as described in the sysreg file, is pretty horrible
as it diesctly give the ESR value. Repaint it using the usual NI/IMP
identifiers to describe the absence/presence of FEAT_IDST.

Also add the new EL3 routing feature, even if we really don't care about it.

Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Link: https://patch.msgid.link/20260108173233.2911955-2-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>

+5 -4
+1 -1
arch/arm64/kvm/hyp/nvhe/sys_regs.c
··· 134 134 MAX_FEAT(ID_AA64MMFR2_EL1, UAO, IMP), 135 135 MAX_FEAT(ID_AA64MMFR2_EL1, IESB, IMP), 136 136 MAX_FEAT(ID_AA64MMFR2_EL1, AT, IMP), 137 - MAX_FEAT_ENUM(ID_AA64MMFR2_EL1, IDS, 0x18), 137 + MAX_FEAT(ID_AA64MMFR2_EL1, IDS, IMP), 138 138 MAX_FEAT(ID_AA64MMFR2_EL1, TTL, IMP), 139 139 MAX_FEAT(ID_AA64MMFR2_EL1, BBM, 2), 140 140 MAX_FEAT(ID_AA64MMFR2_EL1, E0PD, IMP),
+4 -3
arch/arm64/tools/sysreg
··· 2256 2256 0b0000 NI 2257 2257 0b0001 IMP 2258 2258 EndEnum 2259 - Enum 39:36 IDS 2260 - 0b0000 0x0 2261 - 0b0001 0x18 2259 + UnsignedEnum 39:36 IDS 2260 + 0b0000 NI 2261 + 0b0001 IMP 2262 + 0b0010 EL3 2262 2263 EndEnum 2263 2264 UnsignedEnum 35:32 AT 2264 2265 0b0000 NI