KVM: arm64: Probe FF-A version and host/hyp partition ID during init
authorWill Deacon <will@kernel.org>
Tue, 23 May 2023 10:18:19 +0000 (11:18 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 1 Jun 2023 21:34:50 +0000 (21:34 +0000)
commit12bdce4f41197a1a97ba1c711f77d557841e13d9
tree48fe3238f4dfd410dad2a2df563c788b795e6d94
parent048be5fea43deef7e96c0de5ba05515c5cbe28cb
KVM: arm64: Probe FF-A version and host/hyp partition ID during init

Probe FF-A during pKVM initialisation so that we can detect any
inconsistencies in the version or partition ID early on.

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