summaryrefslogtreecommitdiff
path: root/lib/mpi
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2025-05-14 11:34:46 +0100
committerMarc Zyngier <maz@kernel.org>2025-05-19 07:59:46 +0100
commit34fa9dece52757727ed2ffd5cf4713c6cd0b707f (patch)
tree36476a109783c36157ce2b47b93ed91b84ba409b /lib/mpi
parent469c4713d48028186e4bbf4b74ebce273af9a394 (diff)
KVM: arm64: nv: Extract translation helper from the AT code
The address translation infrastructure is currently pretty tied to the AT emulation. However, we also need to features that require the use of VAs, such as VNCR_EL2 (and maybe one of these days SPE), meaning that we need a slightly more generic infrastructure. Start this by introducing a new helper (__kvm_translate_va()) that performs a S1 walk for a given translation regime, EL and PAN settings. Reviewed-by: Oliver Upton <oliver.upton@linux.dev> Link: https://lore.kernel.org/r/20250514103501.2225951-4-maz@kernel.org Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions