summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2023-02-16 23:22:54 +0300
committerSean Christopherson <seanjc@google.com>2023-03-24 02:07:52 +0300
commit65966aaca18a5cbf42ac22234cb9cbbf60a4d33c (patch)
treeb4f226c6d7934cfc655e99bc89c15bfb20ed78fd /tools/perf/scripts/python/exported-sql-viewer.py
parent3d8f61bf8bcd69bcd397276d53aa18f7ca8347f9 (diff)
downloadlinux-65966aaca18a5cbf42ac22234cb9cbbf60a4d33c.tar.xz
KVM: x86: Assert that the emulator doesn't load CS with garbage in !RM
Yell loudly if KVM attempts to load CS outside of Real Mode without an accompanying control transfer type, i.e. on X86_TRANSFER_NONE. KVM uses X86_TRANSFER_NONE when emulating IRET and exceptions/interrupts for Real Mode, but IRET emulation for Protected Mode is non-existent. WARN instead of trying to pass in a less-wrong type, e.g. X86_TRANSFER_RET, as emulating IRET goes even beyond emulating FAR RET (which KVM also doesn't fully support). Reported-by: Hou Wenlong <houwenlong.hwl@antgroup.com> Link: https://lore.kernel.org/r/20230216202254.671772-1-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions