MMIO mask fix for AMD memory encryption support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: x86/mmu: Allow for overriding MMIO SPTE maskarch/ arch/ arch/ | +38 | 4 replies | |
| 2/2 | KVM: SVM: Implement reserved bit callback to set MMIO SPTE maskarch/ | +42 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/2] MMIO mask fix for AMD memory encryption support
This patch series ensures that a valid MMIO SPTE mask can be generated under SVM when memory encryption is enabled.
The patchset includes:
- Add an optional callback to return a reserved bit(s) mask
- Implement the callback in SVM
---
Patches based on https://git.kernel.org/pub/scm/virt/kvm/kvm.git next commit:
7d73710d9ca2 ("kvm: vmx: Stop wasting a page for guest_msrs")
Tom Lendacky (2):
KVM: x86/mmu: Allow for overriding MMIO SPTE mask
KVM: SVM: Implement reserved bit callback to set MMIO SPTE mask
arch/x86/include/asm/kvm_host.h | 4 ++- arch/x86/kvm/mmu/mmu.c | 54 +++++++++++++++++++++------------ arch/x86/kvm/svm.c | 42 +++++++++++++++++++++++++ arch/x86/kvm/x86.c | 2 +- 4 files changed, 80 insertions(+), 22 deletions(-)
Signature · 1 line
2.17.1