diff options
author | Sean Christopherson <seanjc@google.com> | 2022-02-26 03:15:29 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-03-08 17:31:53 +0300 |
commit | 966da62adaf1792c56fe909fc78f3833208ef5ae (patch) | |
tree | ce62ddc803568d17cb548b0a3bc99ce8c70fc993 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0e587aa7335588ac5e12ef707f7979ff91b11751 (diff) | |
download | linux-966da62adaf1792c56fe909fc78f3833208ef5ae.tar.xz |
KVM: x86/mmu: WARN if old _or_ new SPTE is REMOVED in non-atomic path
WARN if the new_spte being set by __tdp_mmu_set_spte() is a REMOVED_SPTE,
which is called out by the comment as being disallowed but not actually
checked. Keep the WARN on the old_spte as well, because overwriting a
REMOVED_SPTE in the non-atomic path is also disallowed (as evidence by
lack of splats with the existing WARN).
Fixes: 08f07c800e9d ("KVM: x86/mmu: Flush TLBs after zap in TDP MMU PF handler")
Cc: Ben Gardon <bgardon@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Ben Gardon <bgardon@google.com>
Message-Id: <20220226001546.360188-12-seanjc@google.com>
Reviewed-by: Mingwei Zhang <mizhang@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions