]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: selftests: Add basic support for arch_timers
authorRaghavendra Rao Ananta <rananta@google.com>
Thu, 7 Oct 2021 23:34:30 +0000 (23:34 +0000)
committerMarc Zyngier <maz@kernel.org>
Sun, 17 Oct 2021 10:17:20 +0000 (11:17 +0100)
commita6286e7f98d47aa817a761ab124ef68413f5a44a
treecfcc163c7bd242c3768ead995d74843204b4b80f
parentc9bc9aed8a5edd9c68cfa26cdb46baa370380738
KVM: arm64: selftests: Add basic support for arch_timers

Add a minimalistic library support to access the virtual timers,
that can be used for simple timing functionalities, such as
introducing delays in the guest.

Signed-off-by: Raghavendra Rao Ananta <rananta@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-7-rananta@google.com
tools/testing/selftests/kvm/include/aarch64/arch_timer.h [new file with mode: 0644]