diff options
author | Yan Zhao <yan.y.zhao@intel.com> | 2025-03-18 09:32:38 +0800 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-04-28 11:03:06 -0700 |
commit | 988da7820206405ef2d8afde83c2c2cd7af503a2 (patch) | |
tree | 0322d35ef5f1db0377a3306c25b7f7adeea5aa21 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d17cc13cc484821b03e5c1cc5808ecb83d10027e (diff) |
KVM: x86/tdp_mmu: WARN if PFN changes for spurious faults
Add a WARN() to assert that KVM does _not_ change the PFN of a
shadow-present SPTE during spurious fault handling.
KVM should _never_ change the PFN of a shadow-present SPTE and TDP MMU
already BUG()s on this. However, spurious faults just return early before
the existing BUG() could be hit.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Yan Zhao <yan.y.zhao@intel.com>
Link: https://lore.kernel.org/r/20250318013238.5732-1-yan.y.zhao@intel.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions