KVM: arm64: Fix guest feature sanitization and pKVM state synchronization
Status from this message: Applied to fixes, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 1 replyApplied
- v13 patches 7 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | KVM: arm64: Hide S1POE from guests when not supported by the hostarch/ | +3 | 0 replies | |
| 2/4 | KVM: arm64: Optimise away S1POE handling when not supported by hostarch/ | +2 | 0 replies | |
| 3/4 | KVM: arm64: Fix ID register initialization for non-protected pKVM guestsarch/ | +33 | 0 replies | |
| 4/4 | KVM: arm64: Remove redundant kern_hyp_va() in unpin_host_sve_state()arch/ | +1 | 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: Fix guest feature sanitization and pKVM state synchronization
This series addresses state management and feature synchronization vulnerabilities in both standard KVM and pKVM implementations on arm64. The primary focus is ensuring that the hypervisor correctly handles architectural extensions during context switches to prevent state corruption.
Changes since v1 [1]:
- Moved optimising away S1POE handling when not supported by host to a separate patch.
- Fixed clearing, checking and setting KVM_ARCH_FLAG_ID_REGS_INITIALIZED
[1] https://lore.kernel.org/all/[email protected]/
Based on Linux 6.19.
Cheers,
/fuad
Fuad Tabba (4):
KVM: arm64: Hide S1POE from guests when not supported by the host
KVM: arm64: Optimise away S1POE handling when not supported by host
KVM: arm64: Fix ID register initialization for non-protected pKVM
guests
KVM: arm64: Remove redundant kern_hyp_va() in unpin_host_sve_state()
arch/arm64/include/asm/kvm_host.h | 3 ++- arch/arm64/kvm/hyp/nvhe/pkvm.c | 37 ++++++++++++++++++++++++++++--- arch/arm64/kvm/sys_regs.c | 3 +++ 3 files changed, 39 insertions(+), 4 deletions(-)
base-commit: 05f7e89ab9731565d8a62e3b5d1ec206485eeb0b
Signature · 1 line
2.53.0.273.g2a3d683680-goog