* [PATCH] KVM: arm64: selftests: Add SCTLR2_EL2 to get-reg-list
@ 2025-10-23 21:19 Mark Brown
2025-10-30 16:23 ` Marc Zyngier
0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2025-10-23 21:19 UTC (permalink / raw)
To: Marc Zyngier, Oliver Upton, Joey Gouly, Suzuki K Poulose,
Paolo Bonzini, Shuah Khan
Cc: linux-arm-kernel, kvmarm, kvm, linux-kselftest, linux-kernel, Mark Brown
We recently added support for SCTLR2_EL2 to the kernel but did not add it
to get-reg-list, resulting in it reporting the missing register when it
is available. Add it.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
tools/testing/selftests/kvm/arm64/get-reg-list.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/testing/selftests/kvm/arm64/get-reg-list.c b/tools/testing/selftests/kvm/arm64/get-reg-list.c
index c9b84eeaab6b..2abef0a86d46 100644
--- a/tools/testing/selftests/kvm/arm64/get-reg-list.c
+++ b/tools/testing/selftests/kvm/arm64/get-reg-list.c
@@ -63,6 +63,7 @@ static struct feature_id_reg feat_id_regs[] = {
REG_FEAT(HDFGWTR2_EL2, ID_AA64MMFR0_EL1, FGT, FGT2),
REG_FEAT(ZCR_EL2, ID_AA64PFR0_EL1, SVE, IMP),
REG_FEAT(SCTLR2_EL1, ID_AA64MMFR3_EL1, SCTLRX, IMP),
+ REG_FEAT(SCTLR2_EL2, ID_AA64MMFR3_EL1, SCTLRX, IMP),
REG_FEAT(VDISR_EL2, ID_AA64PFR0_EL1, RAS, IMP),
REG_FEAT(VSESR_EL2, ID_AA64PFR0_EL1, RAS, IMP),
REG_FEAT(VNCR_EL2, ID_AA64MMFR4_EL1, NV_frac, NV2_ONLY),
@@ -718,6 +719,7 @@ static __u64 el2_regs[] = {
SYS_REG(VMPIDR_EL2),
SYS_REG(SCTLR_EL2),
SYS_REG(ACTLR_EL2),
+ SYS_REG(SCTLR2_EL2),
SYS_REG(HCR_EL2),
SYS_REG(MDCR_EL2),
SYS_REG(CPTR_EL2),
---
base-commit: 211ddde0823f1442e4ad052a2f30f050145ccada
change-id: 20251023-b4-kvm-arm64-get-reg-list-sctlr-el2-222e463e8aaf
Best regards,
--
Mark Brown <broonie@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] KVM: arm64: selftests: Add SCTLR2_EL2 to get-reg-list
2025-10-23 21:19 [PATCH] KVM: arm64: selftests: Add SCTLR2_EL2 to get-reg-list Mark Brown
@ 2025-10-30 16:23 ` Marc Zyngier
0 siblings, 0 replies; 2+ messages in thread
From: Marc Zyngier @ 2025-10-30 16:23 UTC (permalink / raw)
To: Oliver Upton, Joey Gouly, Suzuki K Poulose, Paolo Bonzini,
Shuah Khan, Mark Brown
Cc: linux-arm-kernel, kvmarm, kvm, linux-kselftest, linux-kernel
On Thu, 23 Oct 2025 22:19:29 +0100, Mark Brown wrote:
> We recently added support for SCTLR2_EL2 to the kernel but did not add it
> to get-reg-list, resulting in it reporting the missing register when it
> is available. Add it.
>
>
Applied to fixes, thanks!
[1/1] KVM: arm64: selftests: Add SCTLR2_EL2 to get-reg-list
commit: 92e781c93ebe75e39ecdf78fb8ef1fdf1b63a9f8
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-10-30 16:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-23 21:19 [PATCH] KVM: arm64: selftests: Add SCTLR2_EL2 to get-reg-list Mark Brown
2025-10-30 16:23 ` Marc Zyngier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®