summaryrefslogtreecommitdiff
path: root/tools/lib/argv_split.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-11-11 05:07:24 +0300
committerPeter Zijlstra <peterz@infradead.org>2021-11-17 16:49:06 +0300
commitf4b027c5c8199abd4fb6f00d67d380548dbfdfa8 (patch)
tree938eba7ad7a6f91a6454098ae12f417d89eceeb5 /tools/lib/argv_split.c
parent5c7df80e2ce4c954c80eb4ecf5fa002a5ff5d2d6 (diff)
downloadlinux-f4b027c5c8199abd4fb6f00d67d380548dbfdfa8.tar.xz
KVM: x86: Register Processor Trace interrupt hook iff PT enabled in guest
Override the Processor Trace (PT) interrupt handler for guest mode if and only if PT is configured for host+guest mode, i.e. is being used independently by both host and guest. If PT is configured for system mode, the host fully controls PT and must handle all events. Fixes: 8479e04e7d6b ("KVM: x86: Inject PMI for KVM guest") Reported-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Reported-by: Artem Kashkanov <artem.kashkanov@intel.com> Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20211111020738.2512932-4-seanjc@google.com
Diffstat (limited to 'tools/lib/argv_split.c')
0 files changed, 0 insertions, 0 deletions