All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] KVM: arm64: Fixes for 'writable' ID registers in protected mode
@ 2025-03-05 23:08 Oliver Upton
  2025-03-05 23:08 ` [PATCH 1/3] KVM: arm64: Copy guest CTR_EL0 into hyp VM Oliver Upton
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Oliver Upton @ 2025-03-05 23:08 UTC (permalink / raw)
  To: kvmarm
  Cc: Marc Zyngier, Joey Gouly, Suzuki K Poulose, Sebastian Ott,
	Oliver Upton

Address a few issues with ID register handling in protected mode:

 - CTR_EL0 isn't trapped on FEAT_EVT systems if userspace changed the
   guest value

 - VPIDR_EL2 is set to 0 if userspace enabled writable 'implementation
   ID' registers

 - Fix in capability documentation

Oliver Upton (3):
  KVM: arm64: Copy guest CTR_EL0 into hyp VM
  KVM: arm64: Copy MIDR_EL1 into hyp VM when it is writable
  KVM: arm64: Fix documentation for KVM_CAP_ARM_WRITABLE_IMP_ID_REGS

 Documentation/virt/kvm/api.rst | 2 +-
 arch/arm64/kvm/hyp/nvhe/pkvm.c | 7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)


base-commit: 164f95739b6893716add9439cf765edd5254d0f6
-- 
2.39.5


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

end of thread, other threads:[~2025-03-06 10:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-05 23:08 [PATCH 0/3] KVM: arm64: Fixes for 'writable' ID registers in protected mode Oliver Upton
2025-03-05 23:08 ` [PATCH 1/3] KVM: arm64: Copy guest CTR_EL0 into hyp VM Oliver Upton
2025-03-06  0:25   ` Marc Zyngier
2025-03-05 23:08 ` [PATCH 2/3] KVM: arm64: Copy MIDR_EL1 into hyp VM when it is writable Oliver Upton
2025-03-06 10:52   ` Sebastian Ott
2025-03-05 23:08 ` [PATCH 3/3] KVM: arm64: Fix documentation for KVM_CAP_ARM_WRITABLE_IMP_ID_REGS Oliver Upton
2025-03-06  0:26 ` [PATCH 0/3] KVM: arm64: Fixes for 'writable' ID registers in protected mode Marc Zyngier
2025-03-06  1:01 ` 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.