diff options
| author | Raghavendra Rao Ananta <rananta@google.com> | 2021-10-08 02:34:25 +0300 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2021-10-17 13:15:11 +0300 |
| commit | 88ec7e258b70eed5e532d32115fccd11ea2a6287 (patch) | |
| tree | 1d9a69affdedec58146e868ed9a7981c24a51a55 /lib/mpi/mpi-inline.h | |
| parent | 9e1ff307c779ce1f0f810c7ecce3d95bbae40896 (diff) | |
| download | linux-88ec7e258b70eed5e532d32115fccd11ea2a6287.tar.xz | |
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
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions
