diff options
| author | Vincent Donnefort <vdonnefort@google.com> | 2026-10-01 15:28:32 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-10-02 17:06:39 +0100 |
| commit | 4b66a1941718ef1c945b32ab28e91330e4394de2 (patch) | |
| tree | 1a3da86fbb2ab2afc1e8f94a81847ea5a06108d0 /rust/kernel/alloc/kvec/errors.rs | |
| parent | 8bd0e6812a1be71d50620f00445940ded0df897c (diff) | |
KVM: arm64: Add pkvm_private_va_range_pa
Mappings in the pKVM private range are not identity mapped, making the
standard __hyp_pa() unsuitable for translating these addresses.
Introduce pkvm_private_va_range_pa() to resolve physical addresses for
this range by walking the hypervisor page-table. This will be useful for
the upcoming pKVM heap allocator.
Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Reviewed-by: Fuad Tabba <fuad.tabba@linux.dev>
Tested-by: Fuad Tabba <fuad.tabba@linux.dev>
Link: https://patch.msgid.link/20261001142849.3367614-2-vdonnefort@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions
