Re: [PATCH v1 16/24] kvm: arm64: Add offset for hyp VA <-> PA conversion

2020-11-11 Thread Marc Zyngier
On 2020-11-09 11:32, David Brazdil wrote: Add a host-initialized constant to KVM nVHE hyp code for converting between EL2 linear map virtual addresses and physical addresses. Also add `__hyp_pa` macro that performs the conversion. Signed-off-by: David Brazdil --- arch/arm64/kvm/arm.c

[PATCH v1 16/24] kvm: arm64: Add offset for hyp VA <-> PA conversion

2020-11-09 Thread David Brazdil
Add a host-initialized constant to KVM nVHE hyp code for converting between EL2 linear map virtual addresses and physical addresses. Also add `__hyp_pa` macro that performs the conversion. Signed-off-by: David Brazdil --- arch/arm64/kvm/arm.c | 15 +++