Skip to content

Get writable masks for feature ID from userspace

Jing Zhang kvm kvmarm linux-arm-kernel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4KVM: arm64: Allow userspace to get the writable masks for feature ID registersarch/arm64/include/asm/kvm_host.h arch/arm64/include/uapi/asm/kvm.h arch/arm64/kvm/arm.c +2 more+112 -00 replies
2/4KVM: arm64: Document KVM_ARM_GET_REG_WRITABLE_MASKSDocumentation/virt/kvm/api.rst+42 -04 replies
3/4KVM: arm64: Use guest ID register values for the sake of emulationarch/arm64/kvm/sys_regs.c+3 -30 replies
4/4KVM: arm64: Reject attempts to set invalid debug arch versionarch/arm64/kvm/sys_regs.c+29 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/4] Get writable masks for feature ID from userspace

This patch series were part of [1], but actually are independent from that. In this patch series, a VM ioctl is added to allow userspace to get writable masks for feature ID registers.
Another two fixes for ID registers are also included in this series. This is based on v6.6-rc2.

[1] https://lore.kernel.org/all/[email protected]

---

Jing Zhang (3):
KVM: arm64: Allow userspace to get the writable masks for feature ID
registers
KVM: arm64: Document KVM_ARM_GET_REG_WRITABLE_MASKS
KVM: arm64: Use guest ID register values for the sake of emulation

Oliver Upton (1):
KVM: arm64: Reject attempts to set invalid debug arch version

 Documentation/virt/kvm/api.rst    |  42 ++++++++++++
 arch/arm64/include/asm/kvm_host.h |   2 +
 arch/arm64/include/uapi/asm/kvm.h |  32 +++++++++
 arch/arm64/kvm/arm.c              |  10 +++
 arch/arm64/kvm/sys_regs.c         | 104 ++++++++++++++++++++++++++++--
 include/uapi/linux/kvm.h          |   2 +
 6 files changed, 186 insertions(+), 6 deletions(-)

base-commit: ce9ecca0238b140b88f43859b211c9fdfd8e5b70

Signature · 1 line
2.42.0.459.ge4e396fd5e-goog