KVM: arm64: Expose the WFXT feature to guests
authorMarc Zyngier <maz@kernel.org>
Tue, 19 Apr 2022 18:27:52 +0000 (19:27 +0100)
committerMarc Zyngier <maz@kernel.org>
Wed, 20 Apr 2022 12:24:45 +0000 (13:24 +0100)
commit06e0b802583d7bbc075476d90da995ee3e6053d5
treec6c162cca82b98c238ed5f3dbf4f80ae01da1dec
parenta3fb59651449d8bd4dc4ed5413888819932c740b
KVM: arm64: Expose the WFXT feature to guests

Plumb in the capability, and expose WFxT to guests when available.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20220419182755.601427-8-maz@kernel.org
arch/arm64/kernel/cpufeature.c
arch/arm64/kvm/sys_regs.c