KVM: arm64: Do not map the host fpsimd state to hyp in pKVM
authorFuad Tabba <tabba@google.com>
Tue, 23 Apr 2024 15:05:19 +0000 (16:05 +0100)
committerMarc Zyngier <maz@kernel.org>
Wed, 1 May 2024 15:48:14 +0000 (16:48 +0100)
commitd48965bc47e40b06034315260b18368d6ad152b4
treea2f295ba2d6384d1167de228b4c2c043bf33c650
parentcfbdc546b667d16cdbec04c628dc1ce5a5d33bd2
KVM: arm64: Do not map the host fpsimd state to hyp in pKVM

pKVM maintains its own state at EL2 for tracking the host fpsimd
state. Therefore, no need to map and share the host's view with
it.

Signed-off-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Acked-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20240423150538.2103045-12-tabba@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/fpsimd.c
arch/arm64/kvm/reset.c