diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2016-02-01 14:56:31 -0500 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2016-02-29 13:34:14 -0500 |
commit | d4c7688c51e57be20ca5f3dffa4c8771888a42fc (patch) | |
tree | ef37556f1e5e57e9d9e5a582bf25f3daf1dfc636 /arch/arm/kvm/hyp/hyp.h | |
parent | b98e2e728eed3091edbce64cfcc447a482b7726c (diff) |
ARM: KVM: Switch to C-based stage2 init
As we now have hooks to setup VTCR from C code, let's drop the
original VTCR setup and reimplement it as part of the HYP code.
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/kvm/hyp/hyp.h')
-rw-r--r-- | arch/arm/kvm/hyp/hyp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/kvm/hyp/hyp.h b/arch/arm/kvm/hyp/hyp.h index 8b9c2eb5a9dc..ff6de6a3af2d 100644 --- a/arch/arm/kvm/hyp/hyp.h +++ b/arch/arm/kvm/hyp/hyp.h | |||
@@ -71,6 +71,8 @@ | |||
71 | #define HCPTR __ACCESS_CP15(c1, 4, c1, 2) | 71 | #define HCPTR __ACCESS_CP15(c1, 4, c1, 2) |
72 | #define HSTR __ACCESS_CP15(c1, 4, c1, 3) | 72 | #define HSTR __ACCESS_CP15(c1, 4, c1, 3) |
73 | #define TTBCR __ACCESS_CP15(c2, 0, c0, 2) | 73 | #define TTBCR __ACCESS_CP15(c2, 0, c0, 2) |
74 | #define HTCR __ACCESS_CP15(c2, 4, c0, 2) | ||
75 | #define VTCR __ACCESS_CP15(c2, 4, c1, 2) | ||
74 | #define DACR __ACCESS_CP15(c3, 0, c0, 0) | 76 | #define DACR __ACCESS_CP15(c3, 0, c0, 0) |
75 | #define DFSR __ACCESS_CP15(c5, 0, c0, 0) | 77 | #define DFSR __ACCESS_CP15(c5, 0, c0, 0) |
76 | #define IFSR __ACCESS_CP15(c5, 0, c0, 1) | 78 | #define IFSR __ACCESS_CP15(c5, 0, c0, 1) |