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)
commit3864d17f177e7cd481f1e4860a624b362057cfe0
tree9235e4f01dd66c8959d657d5c366d9f866bb5440
parent9e1ff307c779ce1f0f810c7ecce3d95bbae40896
parent057bed206f70d624c2eacb43ec56551950a26832
Merge branch kvm-arm64/pkvm/restrict-hypercalls into kvmarm-master/next

* 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>