]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
arm64: Add ARM64_HYP_OFFSET_LOW capability
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 30 Jun 2016 17:40:38 +0000 (18:40 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Sun, 3 Jul 2016 21:41:27 +0000 (23:41 +0200)
As we need to indicate to the rest of the kernel which region of
the HYP VA space is safe to use, add a capability that will
indicate that KVM should use the [VA_BITS-2:0] range.

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

index 224efe730e4614b4ffd6ab105bacf3de6d6890db..d40edbb6ef2300b8c6a66d129c9842dfad8ac18c 100644 (file)
@@ -36,8 +36,9 @@
 #define ARM64_HAS_VIRT_HOST_EXTN               11
 #define ARM64_WORKAROUND_CAVIUM_27456          12
 #define ARM64_HAS_32BIT_EL0                    13
+#define ARM64_HYP_OFFSET_LOW                   14
 
-#define ARM64_NCAPS                            14
+#define ARM64_NCAPS                            15
 
 #ifndef __ASSEMBLY__