]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Move vcpu SVE/SME flags to the state flag set
authorMarc Zyngier <maz@kernel.org>
Sat, 28 May 2022 11:38:20 +0000 (12:38 +0100)
committerMarc Zyngier <maz@kernel.org>
Wed, 29 Jun 2022 09:23:14 +0000 (10:23 +0100)
commit01022b9b1a2bb7ab256056c9200f00abb143e9d4
tree9964a1ce95d585b61f8e48e60c4ebdaa293b9082
parent721b3fd7994eae49bd205d147c8024f4c002c797
KVM: arm64: Move vcpu SVE/SME flags to the state flag set

The two HOST_{SVE,SME}_ENABLED are only used for the host kernel
to track its own state across a vcpu run so that it can be fully
restored.

Move these flags to the so called state set.

Reviewed-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Reiji Watanabe <reijiw@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/fpsimd.c