]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: selftests: Ensure pending interrupts are handled in arch_timer test
authorColton Lewis <coltonlewis@google.com>
Fri, 23 Aug 2024 17:58:35 +0000 (17:58 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 30 Aug 2024 08:03:45 +0000 (09:03 +0100)
commitca1a18368d764f9b29ab0c79b3ddd712f5511855
tree695b712f3d6e9567f01a69bf51f32dcc41f8130a
parent8400291e289ee6b2bf9779ff1c83a291501f017b
KVM: arm64: selftests: Ensure pending interrupts are handled in arch_timer test

Break up the asm instructions poking daifclr and daifset to handle
interrupts. R_RBZYL specifies pending interrupts will be handle after
context synchronization events such as an ISB.

Introduce a function wrapper for the WFI instruction.

Signed-off-by: Colton Lewis <coltonlewis@google.com>
Link: https://lore.kernel.org/r/20240823175836.2798235-2-coltonlewis@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
tools/testing/selftests/kvm/aarch64/vgic_irq.c
tools/testing/selftests/kvm/include/aarch64/processor.h
tools/testing/selftests/kvm/lib/aarch64/processor.c