All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] KVM: arm64: selftests: Add FEAT_RAS EL2 registers to get-reg-list
@ 2025-07-28 15:26 Oliver Upton
  2025-07-28 15:47 ` Marc Zyngier
  2025-07-28 17:15 ` Oliver Upton
  0 siblings, 2 replies; 3+ messages in thread
From: Oliver Upton @ 2025-07-28 15:26 UTC (permalink / raw)
  To: kvmarm; +Cc: Marc Zyngier, Joey Gouly, Suzuki K Poulose, Zenghui Yu,
	Oliver Upton

VDISR_EL2 and VSESR_EL2 are now visible to userspace for nested VMs. Add
them to get-reg-list.

Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
---
 tools/testing/selftests/kvm/arm64/get-reg-list.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/testing/selftests/kvm/arm64/get-reg-list.c b/tools/testing/selftests/kvm/arm64/get-reg-list.c
index f4f85d12d42e..011fad95dd02 100644
--- a/tools/testing/selftests/kvm/arm64/get-reg-list.c
+++ b/tools/testing/selftests/kvm/arm64/get-reg-list.c
@@ -63,6 +63,8 @@ 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(VDISR_EL2,	ID_AA64PFR0_EL1, RAS, IMP),
+	REG_FEAT(VSESR_EL2,	ID_AA64PFR0_EL1, RAS, IMP),
 };
 
 bool filter_reg(__u64 reg)
@@ -749,6 +751,8 @@ static __u64 el2_regs[] = {
 	SYS_REG(CNTHV_CTL_EL2),
 	SYS_REG(CNTHV_CVAL_EL2),
 	SYS_REG(SP_EL2),
+	SYS_REG(VDISR_EL2),
+	SYS_REG(VSESR_EL2),
 };
 
 #define BASE_SUBLIST \
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] KVM: arm64: selftests: Add FEAT_RAS EL2 registers to get-reg-list
  2025-07-28 15:26 [PATCH] KVM: arm64: selftests: Add FEAT_RAS EL2 registers to get-reg-list Oliver Upton
@ 2025-07-28 15:47 ` Marc Zyngier
  2025-07-28 17:15 ` Oliver Upton
  1 sibling, 0 replies; 3+ messages in thread
From: Marc Zyngier @ 2025-07-28 15:47 UTC (permalink / raw)
  To: Oliver Upton; +Cc: kvmarm, Joey Gouly, Suzuki K Poulose, Zenghui Yu

On Mon, 28 Jul 2025 16:26:03 +0100,
Oliver Upton <oliver.upton@linux.dev> wrote:
> 
> VDISR_EL2 and VSESR_EL2 are now visible to userspace for nested VMs. Add
> them to get-reg-list.
> 
> Signed-off-by: Oliver Upton <oliver.upton@linux.dev>

Acked-by: Marc Zyngier <maz@kernel.org>

	M.

-- 
Without deviation from the norm, progress is not possible.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] KVM: arm64: selftests: Add FEAT_RAS EL2 registers to get-reg-list
  2025-07-28 15:26 [PATCH] KVM: arm64: selftests: Add FEAT_RAS EL2 registers to get-reg-list Oliver Upton
  2025-07-28 15:47 ` Marc Zyngier
@ 2025-07-28 17:15 ` Oliver Upton
  1 sibling, 0 replies; 3+ messages in thread
From: Oliver Upton @ 2025-07-28 17:15 UTC (permalink / raw)
  To: kvmarm, Oliver Upton
  Cc: Marc Zyngier, Joey Gouly, Suzuki K Poulose, Zenghui Yu

On Mon, 28 Jul 2025 08:26:03 -0700, Oliver Upton wrote:
> VDISR_EL2 and VSESR_EL2 are now visible to userspace for nested VMs. Add
> them to get-reg-list.
> 
> 

Applied to next, thanks!

[1/1] KVM: arm64: selftests: Add FEAT_RAS EL2 registers to get-reg-list
      https://git.kernel.org/kvmarm/kvmarm/c/18ec25dd0e97

--
Best,
Oliver

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-07-28 17:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-28 15:26 [PATCH] KVM: arm64: selftests: Add FEAT_RAS EL2 registers to get-reg-list Oliver Upton
2025-07-28 15:47 ` Marc Zyngier
2025-07-28 17:15 ` Oliver Upton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.