diff options
author | Nicholas Piggin <[email protected]> | 2021-04-12 11:48:43 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2021-04-12 13:36:24 +1000 |
commit | da487a5d1bee6a30798a8db15986d3d028c8ac92 (patch) | |
tree | 574f450a6b9ca5aecc4f675917b71535574e2c50 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 5eee8371828a92a2620453907d6b2b6dc819ab3a (diff) |
powerpc/64s: remove KVM SKIP test from instruction breakpoint handler
The code being executed in KVM_GUEST_MODE_SKIP is hypervisor code with
MSR[IR]=0, so the faults of concern are the d-side ones caused by access
to guest context by the hypervisor.
Instruction breakpoint interrupts are not a concern here. It's unlikely
any good would come of causing breaks in this code, but skipping the
instruction that caused it won't help matters (e.g., skip the mtmsr that
sets MSR[DR]=0 or clears KVM_GUEST_MODE_SKIP).
[Paul notes: "the 0x1300 interrupt was dropped from the architecture a
long time ago and is not generated by P7, P8, P9 or P10." So add a
comment about this in the handler code while we're here. ]
Signed-off-by: Nicholas Piggin <[email protected]>
Reviewed-by: Daniel Axtens <[email protected]>
Reviewed-by: Fabiano Rosas <[email protected]>
Acked-by: Paul Mackerras <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions