KVM: arm64: writable MIDR/REVIDR
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 3 repliesIn review
- v24 patches 9 repliesSuperseded
- v14 patches 3 repliesSuperseded
Changes in v3 from the cover letter
* handle VPIDR_EL2 as part of vcpu ctxt - thanks Oliver!
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | KVM: arm64: Allow userspace to change MIDR_EL1arch/ arch/ arch/ +2 more | +64 | 0 replies | |
| 2/4 | KVM: arm64: Allow userspace to change REVIDR_EL1arch/ arch/ | +11 | 0 replies | |
| 3/4 | KVM: arm64: Allow userspace to change AIDR_EL1arch/ arch/ | +10 | 0 replies | |
| 4/4 | KVM: selftests: arm64: Test writes to MIDR,REVIDR,AIDRtools/ | +26 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/4] KVM: arm64: writable MIDR/REVIDR
Based on prior discussion [1] this series allows VMMs to change MIDR/REVIDR to enable migration between machines that differ in these registers. Since these are used for errata handling the errata management series [2] is a prerequisite for this one.
changes for V3:
* handle VPIDR_EL2 as part of vcpu ctxt - thanks Oliver!
changes for V2:
* let the guest actually observe the changed MIDR_EL1 value
* extra .set_user function
* added selftest
[1] https://lore.kernel.org/kvmarm/[email protected]/T/#mb855bc51714095a164a7b26bb8bead1606e4b753
[2] https://lore.kernel.org/kvmarm/[email protected]/T/
Sebastian Ott (4):
KVM: arm64: Allow userspace to change MIDR_EL1
KVM: arm64: Allow userspace to change REVIDR_EL1
KVM: arm64: Allow userspace to change AIDR_EL1
KVM: selftests: arm64: Test writes to MIDR,REVIDR,AIDR
arch/arm64/include/asm/kvm_host.h | 9 ++ arch/arm64/kvm/hyp/include/hyp/sysreg-sr.h | 5 +- arch/arm64/kvm/hyp/nvhe/sysreg-sr.c | 10 +- arch/arm64/kvm/hyp/vhe/sysreg-sr.c | 28 ++-- arch/arm64/kvm/sys_regs.c | 137 +++++++----------- .../testing/selftests/kvm/arm64/set_id_regs.c | 32 +++- 6 files changed, 108 insertions(+), 113 deletions(-)
Signature · 1 line
2.42.0