KVM: arm64: Handle FFA_MEM_LEND calls from the host
authorWill Deacon <will@kernel.org>
Tue, 23 May 2023 10:18:25 +0000 (11:18 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 1 Jun 2023 21:34:51 +0000 (21:34 +0000)
commit634d90cf0ac6562f121a4acd4caec36d695d6aa2
tree79370772b20034659f5bd93d5492458178fda185
parent0e3bcb49c13567adb821c4251dcfd04ad7e1179f
KVM: arm64: Handle FFA_MEM_LEND calls from the host

Handle FFA_MEM_LEND calls from the host by treating them identically to
FFA_MEM_SHARE calls for the purposes of the host stage-2 page-table, but
forwarding on the original request to EL3.

Signed-off-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20230523101828.7328-9-will@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/hyp/nvhe/ffa.c