arm64: Add ARM64_HAS_VIRT_HOST_EXTN feature
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 29 Jan 2015 11:24:05 +0000 (11:24 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Feb 2016 18:34:16 +0000 (18:34 +0000)
commitd88701bea3664cea99b8b7380f63a3bd0ec3ead3
tree2a91794924445300fd79b316494b35a35de2aeaf
parentf81f03fa231a8c3aacd580759e73b9238b92ba29
arm64: Add ARM64_HAS_VIRT_HOST_EXTN feature

Add a new ARM64_HAS_VIRT_HOST_EXTN features to indicate that the
CPU has the ARMv8.1 VHE capability.

This will be used to trigger kernel patching in KVM.

Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/asm/cpufeature.h
arch/arm64/kernel/cpufeature.c