KVM: x86: Make valid TDP MMU roots persistent
Sean Christopherson
reviewerPlease pull the previously discussed persistent TDP MMU roots change. This specific commit has been in linux-next since April 26th, and the core functionality of the patch has been in linux-next since April 21st (the only tweak from v2=>v3 was to reintroduce a lockdep assertion with a more robust guard against false positives).
The following changes since commit 9ed3bf411226f446a9795f2b49a15b9df98d7cf5:
KVM: x86/mmu: Move filling of Hyper-V's TLB range struct into Hyper-V code (2023-04-10 15:17:29 -0700)
are available in the Git repository at:
https://github.com/kvm-x86/linux.git tags/kvm-x86-mmu-6.4-2
for you to fetch changes up to edbdb43fc96b11b3bfa531be306a1993d9fe89ec:
KVM: x86: Preserve TDP MMU roots until they are explicitly invalidated (2023-04-26 15:50:27 -0700)
----------------------------------------------------------------
Fix a long-standing flaw in x86's TDP MMU where unloading roots on a vCPU can result in the root being freed even though the root is completely valid and can be reused as-is (with a TLB flush).
----------------------------------------------------------------
Sean Christopherson (1):
KVM: x86: Preserve TDP MMU roots until they are explicitly invalidated
arch/x86/kvm/mmu/tdp_mmu.c | 121 +++++++++++++++++++++------------------------ 1 file changed, 56 insertions(+), 65 deletions(-)
Paolo Bonzini
maintainerQuoted 6 lines · Sean Christopherson
Please pull the previously discussed persistent TDP MMU roots change. This specific commit has been in linux-next since April 26th, and the core functionality of the patch has been in linux-next since April 21st (the only tweak from v2=>v3 was to reintroduce a lockdep assertion with a more robust guard against false positives).
Done, thanks.
Paolo
Quoted 24 lines
The following changes since commit
9ed3bf411226f446a9795f2b49a15b9df98d7cf5:KVM: x86/mmu: Move filling of Hyper-V's TLB range struct into Hyper-V code (2023-04-10 15:17:29 -0700)
are available in the Git repository at:
https://github.com/kvm-x86/linux.git tags/kvm-x86-mmu-6.4-2
for you to fetch changes up to
edbdb43fc96b11b3bfa531be306a1993d9fe89ec:KVM: x86: Preserve TDP MMU roots until they are explicitly invalidated (2023-04-26 15:50:27 -0700)
----------------------------------------------------------------
Fix a long-standing flaw in x86's TDP MMU where unloading roots on a vCPU can result in the root being freed even though the root is completely valid and can be reused as-is (with a TLB flush).----------------------------------------------------------------
Sean Christopherson (1):
KVM: x86: Preserve TDP MMU roots until they are explicitly invalidatedarch/x86/kvm/mmu/tdp_mmu.c | 121 +++++++++++++++++++++------------------------ 1 file changed, 56 insertions(+), 65 deletions(-)