diff options
author | Ben Gardon <bgardon@google.com> | 2021-02-02 19:57:16 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-02-04 10:38:53 +0100 |
commit | 87aa9ec939ec7277b730786e19c161c9194cc8ca (patch) | |
tree | e6b16fc6cb6e6ae99b79819a87dd6e32b519e8bc /Kbuild | |
parent | KVM: x86: cleanup CR3 reserved bits checks (diff) | |
download | linux-87aa9ec939ec7277b730786e19c161c9194cc8ca.tar.xz linux-87aa9ec939ec7277b730786e19c161c9194cc8ca.zip |
KVM: x86/mmu: Fix TDP MMU zap collapsible SPTEs
There is a bug in the TDP MMU function to zap SPTEs which could be
replaced with a larger mapping which prevents the function from doing
anything. Fix this by correctly zapping the last level SPTEs.
Cc: stable@vger.kernel.org
Fixes: 14881998566d ("kvm: x86/mmu: Support disabling dirty logging for the tdp MMU")
Signed-off-by: Ben Gardon <bgardon@google.com>
Message-Id: <20210202185734.1680553-11-bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions