diff options
author | 2022-11-19 01:34:44 +0000 | |
---|---|---|
committer | 2022-12-02 13:22:31 -0500 | |
commit | ef16b2dff4d1c71eb32b306d400d4c0f3a383ba7 (patch) | |
tree | 8209f55b3709730fd025e0a26613f1764d64f14f /tools/include | |
parent | KVM: x86: fix APICv/x2AVIC disabled when vm reboot by itself (diff) | |
download | linux-ef16b2dff4d1c71eb32b306d400d4c0f3a383ba7.tar.gz linux-ef16b2dff4d1c71eb32b306d400d4c0f3a383ba7.tar.bz2 linux-ef16b2dff4d1c71eb32b306d400d4c0f3a383ba7.zip |
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/include')
0 files changed, 0 insertions, 0 deletions