summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/kvm_host.h
diff options
context:
space:
mode:
authorDave Martin <Dave.Martin@arm.com>2018-09-28 14:39:21 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2019-03-29 14:41:54 +0000
commitead9e430c0fba1a7aa6d948a626c48ef9c4aa069 (patch)
treef4c9958e218eee29e80cd3e7de44699cf2e0d44f /arch/arm/include/asm/kvm_host.h
parent8e3c54c8b6a9286b1571c4a4ba1d4afbd217f297 (diff)
arm64/sve: In-kernel vector length availability query interface
KVM will need to interrogate the set of SVE vector lengths available on the system. This patch exposes the relevant bits to the kernel, along with a sve_vq_available() helper to check whether a particular vector length is supported. __vq_to_bit() and __bit_to_vq() are not intended for use outside these functions: now that these are exposed outside fpsimd.c, they are prefixed with __ in order to provide an extra hint that they are not intended for general-purpose use. 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>
Diffstat (limited to 'arch/arm/include/asm/kvm_host.h')
0 files changed, 0 insertions, 0 deletions