Merge branch kvm-arm64/pkvm/restrict-hypercalls into kvmarm-master/next
authorMarc Zyngier <maz@kernel.org>
Mon, 11 Oct 2021 08:21:37 +0000 (09:21 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 11 Oct 2021 08:21:37 +0000 (09:21 +0100)
* kvm-arm64/pkvm/restrict-hypercalls:
  : .
  : Restrict the use of some hypercalls as well as kexec once
  : the protected KVM mode has been initialised.
  : .
  KVM: arm64: Disable privileged hypercalls after pKVM finalisation
  KVM: arm64: Prevent re-finalisation of pKVM for a given CPU
  KVM: arm64: Propagate errors from __pkvm_prot_finalize hypercall
  KVM: arm64: Reject stub hypercalls after pKVM has been initialised
  arm64: Prevent kexec and hibernation if is_protected_kvm_enabled()
  KVM: arm64: Turn __KVM_HOST_SMCCC_FUNC_* into an enum (mostly)

Signed-off-by: Marc Zyngier <maz@kernel.org>

Trivial merge