Skip to content

KVM: arm64: Fixes for 'writable' ID registers in protected mode

Oliver Upton kvmarm 1 version Applied

Status from this message: Applied to next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3KVM: arm64: Copy guest CTR_EL0 into hyp VMarch/arm64/kvm/hyp/nvhe/pkvm.c+3 -11 reply
2/3KVM: arm64: Copy MIDR_EL1 into hyp VM when it is writablearch/arm64/kvm/hyp/nvhe/pkvm.c+3 -01 reply
3/3KVM: arm64: Fix documentation for KVM_CAP_ARM_WRITABLE_IMP_ID_REGSDocumentation/virt/kvm/api.rst+1 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarc Zyngier
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] KVM: arm64: Fixes for 'writable' ID registers in protected mode

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

Signature · 1 line
2.39.5