KVM: arm64: Live system register access fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | KVM: arm64: Check for SYSREGS_ON_CPU before accessing the 32bit statearch/ | +2 | 0 replies | |
| 2/4 | KVM: arm64: Simplify sysreg access on exception deliveryarch/ | +4 | 0 replies | |
| 3/4 | KVM: arm64: Fix vcpu_{read,write}_sys_reg() accessorsarch/ arch/ | +162 | 0 replies | |
| 4/4 | KVM: arm64: Remove __vcpu_{read,write}_sys_reg_{from,to}_cpu()arch/ arch/ | +80 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/4] KVM: arm64: Live system register access fixes
This series stems from [1], which outlined some rather bad bugs in the way we handle live system registers with VHE. As the discussion progressed, I decided to tighten things a bit, and found a couple more bugs in the process.
I appreciate this is a bit big for a -rc, but at the same time some of the issues are rather annoying, and I'd like to make sure we address these for good.
[1] https://lore.kernel.org/all/[email protected]/
Marc Zyngier (4):
KVM: arm64: Check for SYSREGS_ON_CPU before accessing the 32bit state
KVM: arm64: Simplify sysreg access on exception delivery
KVM: arm64: Fix vcpu_{read,write}_sys_reg() accessors
KVM: arm64: Remove __vcpu_{read,write}_sys_reg_{from,to}_cpu()
arch/arm64/include/asm/kvm_host.h | 111 +--------- arch/arm64/kvm/hyp/exception.c | 20 +- arch/arm64/kvm/sys_regs.c | 344 ++++++++++++++++++++---------- 3 files changed, 243 insertions(+), 232 deletions(-)
Signature · 1 line
2.39.2