]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Add a vcpu flag to control SVE visibility for the guest
authorDave Martin <Dave.Martin@arm.com>
Fri, 28 Sep 2018 13:39:12 +0000 (14:39 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 29 Mar 2019 14:41:52 +0000 (14:41 +0000)
commitc1bffba9159d968526f196f2c4ffc585fd4ba68d
treeac049c39dd9d23992d0e35c1aab25b0ea0c8a178
parent5bd552374aab650b89c5ede763e8500cda0af907
KVM: arm64: Add a vcpu flag to control SVE visibility for the guest

Since SVE will be enabled or disabled on a per-vcpu basis, a flag
is needed in order to track which vcpus have it enabled.

This patch adds a suitable flag and a helper for checking it.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: zhang.lei <zhang.lei@jp.fujitsu.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/asm/kvm_host.h