KVM: arm64: Handle FFA_RXTX_MAP and FFA_RXTX_UNMAP calls from the host
authorWill Deacon <will@kernel.org>
Tue, 23 May 2023 10:18:21 +0000 (11:18 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 1 Jun 2023 21:34:51 +0000 (21:34 +0000)
commit9d0c6a9af9e38efa675e565bd181794deca1188a
treea0b6a1be0916d2836d462d9ae2aac578bb9ef51a
parentbc3888a0f4e979ecf9dd8c33a84b8da8cc130790
KVM: arm64: Handle FFA_RXTX_MAP and FFA_RXTX_UNMAP calls from the host

Handle FFA_RXTX_MAP and FFA_RXTX_UNMAP calls from the host by sharing
the host's mailbox memory with the hypervisor and establishing a
separate pair of mailboxes between the hypervisor and the SPMD at EL3.

Co-developed-by: Andrew Walbran <qwandor@google.com>
Signed-off-by: Andrew Walbran <qwandor@google.com>
Signed-off-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20230523101828.7328-5-will@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/hyp/nvhe/ffa.c
include/linux/arm_ffa.h