KVM: arm64: selftests: Add support to disable and enable local IRQs
authorRaghavendra Rao Ananta <rananta@google.com>
Thu, 7 Oct 2021 23:34:32 +0000 (23:34 +0000)
committerMarc Zyngier <maz@kernel.org>
Sun, 17 Oct 2021 10:17:20 +0000 (11:17 +0100)
commit5c636d585cfd0d01a89b18fced77a07ab2ef386a
treeda0f84a9a7a85c11ffc966be46b9b2b031a857be
parent80166904655976bb9babc48fd283c2bba5799920
KVM: arm64: selftests: Add support to disable and enable local IRQs

Add functions local_irq_enable() and local_irq_disable() to
enable and disable the IRQs from the guest, respectively.

Signed-off-by: Raghavendra Rao Ananta <rananta@google.com>
Reviewed-by: Oliver Upton <oupton@google.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211007233439.1826892-9-rananta@google.com
tools/testing/selftests/kvm/include/aarch64/processor.h