OSDN Git Service

KVM: arm64: Map SVE context at EL2 when available
authorMarc Zyngier <maz@kernel.org>
Thu, 11 Mar 2021 15:07:14 +0000 (15:07 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 18 Mar 2021 13:57:49 +0000 (13:57 +0000)
commit0a9a98fda3a24b0775ace4be096290b221f2f6a5
treec29b6ae2741322a04b6c8353c4e97712a858c29a
parent52029198c1cec1e21513d74f87363a0408f28650
KVM: arm64: Map SVE context at EL2 when available

When running on nVHE, and that the vcpu supports SVE, map the
SVE state at EL2 so that KVM can access it.

Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/fpsimd.c