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)
committerAlex Shi <alex.shi@linaro.org>
Wed, 9 Nov 2016 14:15:48 +0000 (22:15 +0800)
commit45f5d7f2ea9f736fde9d94fe3e3268add0ba2b15
tree9ea89ae58e7bc64f88dd443c3f9282168c7af76c
parentbaf8b41c950e6536f750146ae27c0dbd307ebc94
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>
(cherry picked from commit d88701bea3664cea99b8b7380f63a3bd0ec3ead3)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Conflicts:
arch/arm64/include/asm/cpufeature.h
arch/arm64/include/asm/cpufeature.h
arch/arm64/kernel/cpufeature.c