summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-02-25 12:47:27 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2021-03-15 04:43:34 -0400
commit64bb2769d700f56dbb2f95705bb0732acddd00bf (patch)
tree134902ac1d8d523172398fbbba43dc88f35e40b9 /tools/perf/scripts/python/bin
parent203219571330a591bc60b84ab052dbe0ccc52827 (diff)
downloadlinux-64bb2769d700f56dbb2f95705bb0732acddd00bf.tar.gz
linux-64bb2769d700f56dbb2f95705bb0732acddd00bf.zip
KVM: x86/mmu: Check for shadow-present SPTE before querying A/D status
When updating accessed and dirty bits, check that the new SPTE is present before attempting to query its A/D bits. Failure to confirm the SPTE is present can theoretically cause a false negative, e.g. if a MMIO SPTE replaces a "real" SPTE and somehow the PFNs magically match. Realistically, this is all but guaranteed to be a benign bug. Fix it up primarily so that a future patch can tweak the MMU_WARN_ON checking A/D status to fire if the SPTE is not-present. Fixes: f8e144971c68 ("kvm: x86/mmu: Add access tracking for tdp_mmu") Cc: Ben Gardon <bgardon@google.com> Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20210225204749.1512652-3-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions