summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/include/aarch64/delay.h
Commit message (Collapse)AuthorAgeFilesLines
* KVM: arm64: selftests: Add basic support to generate delaysRaghavendra Rao Ananta2021-10-171-0/+25
Add udelay() support to generate a delay in the guest. The routines are derived and simplified from kernel's arch/arm64/lib/delay.c. Signed-off-by: Raghavendra Rao Ananta <rananta@google.com> Reviewed-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Oliver Upton <oupton@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20211007233439.1826892-8-rananta@google.com