diff options
author | Oliver Upton <[email protected]> | 2022-11-07 21:56:36 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2022-11-10 14:43:46 +0000 |
commit | 6b91b8f95cadd3441c056182daf9024475ac4a91 (patch) | |
tree | 47c413fa22c1b28e5c4143494ad5895a7aff487d /lib/mpi/mpi-mod.c | |
parent | 8e94e1252cc054bb31fd3e9a15235cd831970ec1 (diff) |
KVM: arm64: Use an opaque type for pteps
Use an opaque type for pteps and require visitors explicitly dereference
the pointer before using. Protecting page table memory with RCU requires
that KVM dereferences RCU-annotated pointers before using. However, RCU
is not available for use in the nVHE hypervisor and the opaque type can
be conditionally annotated with RCU for the stage-2 MMU.
Call the type a 'pteref' to avoid a naming collision with raw pteps. No
functional change intended.
Signed-off-by: Oliver Upton <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions