summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorIvan Orlov <iorlov@amazon.com>2024-12-17 21:14:56 +0300
committerSean Christopherson <seanjc@google.com>2024-12-19 02:14:45 +0300
commit7bd7ff99110a2f63f758b292ab762cad16b85656 (patch)
treec7dd97e15cc92a9c5cc56071fc0d226418842395 /tools/perf/scripts/python/stackcollapse.py
parent47ef3ef843c0f6e8006094d707b4aac18ed87e53 (diff)
downloadlinux-7bd7ff99110a2f63f758b292ab762cad16b85656.tar.xz
KVM: SVM: Handle event vectoring error in check_emulate_instruction()
Detect unhandleable vectoring in check_emulate_instruction() to prevent infinite retry loops on SVM, and to eliminate the main differences in how VM-Exits during event vectoring are handled on SVM versus VMX. E.g. if the vCPU puts its IDT in emulated MMIO memory and generates an event, without the check_emulate_instruction() change, SVM will re-inject the event and resume the guest, and effectively put the vCPU into an infinite loop. Signed-off-by: Ivan Orlov <iorlov@amazon.com> Link: https://lore.kernel.org/r/20241217181458.68690-6-iorlov@amazon.com [sean: grab "svm" locally, massage changelog] Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions