Re: [PATCH 2/4] KVM: arm64: Introduce flag shadowing TIF_FOREIGN_FPSTATE
From: Mark Brown <broonie@kernel.org>
Date: 2021-10-21 15:29:01
Also in:
kvm, kvmarm
From: Mark Brown <broonie@kernel.org>
Date: 2021-10-21 15:29:01
Also in:
kvm, kvmarm
On Thu, Oct 21, 2021 at 04:11:22PM +0100, Marc Zyngier wrote:
We currently have to maintain a mapping the thread_info structure at EL2 in order to be able to check the TIF_FOREIGN_FPSTATE flag. In order to eventually get rid of this, start with a vcpu flag that shadows the thread flag on each entry into the hypervisor.
Reviewed-by: Mark Brown <broonie@kernel.org>