diff options
author | Sean Christopherson <seanjc@google.com> | 2024-08-30 17:15:37 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-09-09 20:16:36 -0700 |
commit | 98a69b96caca3e07aff57ca91fd7cc3a3853871a (patch) | |
tree | 3fbaf5adcad01ac0ee38e46f790f05b70d140cf0 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | d859b16161c81ee929b7b02a85227b8e3250bc97 (diff) |
KVM: x86/mmu: WARN on MMIO cache hit when emulating write-protected gfn
WARN if KVM gets an MMIO cache hit on a RET_PF_WRITE_PROTECTED fault, as
KVM should return RET_PF_WRITE_PROTECTED if and only if there is a memslot,
and creating a memslot is supposed to invalidate the MMIO cache by virtue
of changing the memslot generation.
Keep the code around mainly to provide a convenient location to document
why emulated MMIO should be impossible.
Suggested-by: Yuan Yao <yuan.yao@linux.intel.com>
Link: https://lore.kernel.org/r/20240831001538.336683-23-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions