Ben Gardon 87aa9ec939 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>
2021-02-04 04:38:53 -05:00
..
2020-12-19 11:18:38 -08:00
2020-12-14 17:34:12 -08:00
2020-11-05 11:32:03 -08:00
2021-01-08 15:06:02 -08:00
2020-12-14 18:29:11 -08:00
2020-12-16 16:38:41 -08:00
2020-08-09 14:10:26 -07:00