summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-c2c.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-11-19 04:34:44 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2022-12-02 21:22:31 +0300
commitef16b2dff4d1c71eb32b306d400d4c0f3a383ba7 (patch)
tree8209f55b3709730fd025e0a26613f1764d64f14f /tools/perf/builtin-c2c.c
parentef40757743b47cc95de9b4ed41525c94f8dc73d9 (diff)
downloadlinux-ef16b2dff4d1c71eb32b306d400d4c0f3a383ba7.tar.xz
KVM: arm64: selftests: Enable single-step without a "full" ucall()
Add a new ucall hook, GUEST_UCALL_NONE(), to allow tests to make ucalls without allocating a ucall struct, and use it to enable single-step in ARM's debug-exceptions test. Like the disable single-step path, the enabling path also needs to ensure that no exclusive access sequences are attempted after enabling single-step, as the exclusive monitor is cleared on ERET from the debug exception taken to EL2. The test currently "works" because clear_bit() isn't actually an atomic operation... yet. Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20221119013450.2643007-4-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/builtin-c2c.c')
0 files changed, 0 insertions, 0 deletions