KVM: arm64: selftests: Add MMIO readl/writel support
Define the readl() and writel() functions for the guests to access (4-byte) the MMIO region. The routines, and their dependents, are inspired from the kernel's arch/arm64/include/asm/io.h and arch/arm64/include/asm/barrier.h. 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-2-rananta@google.com
Showing
Please register or sign in to comment