diff options
author | Sean Christopherson <[email protected]> | 2024-01-09 15:02:47 -0800 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-01-30 15:29:44 -0800 |
commit | ab3b6a7de8df00b380fb66a523c79e3b387aa877 (patch) | |
tree | 2d012ee5f35c86405358056dc99d2084e7d04c44 /tools/perf/scripts/python/check-perf-trace.py | |
parent | cd34fd8c758e968aae15944b1679c974af719648 (diff) |
KVM: selftests: Add a forced emulation variation of KVM_ASM_SAFE()
Add KVM_ASM_SAFE_FEP() to allow forcing emulation on an instruction that
might fault. Note, KVM skips RIP past the FEP prefix before injecting an
exception, i.e. the fixup needs to be on the instruction itself. Do not
check for FEP support, that is firmly the responsibility of whatever code
wants to use KVM_ASM_SAFE_FEP().
Sadly, chaining variadic arguments that contain commas doesn't work, thus
the unfortunate amount of copy+paste.
Tested-by: Dapeng Mi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions