projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67b2abf
)
ARM: virt: fix wrong HSCTLR.EE bit setting
author
Li Liu
<john.liuli@huawei.com>
Tue, 1 Jul 2014 10:01:50 +0000
(18:01 +0800)
committer
Christoffer Dall
<christoffer.dall@linaro.org>
Fri, 11 Jul 2014 11:57:38 +0000
(
04:57
-0700)
HSCTLR.EE is defined as bit[25] referring to arm manual
DDI0606C.b(p1590).
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Li Liu <john.liuli@huawei.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/kernel/hyp-stub.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/kernel/hyp-stub.S
b/arch/arm/kernel/hyp-stub.S
index 797b1a6a4906da0f8ca3f942186ac0e033250ce6..7e666cfda6344fc88c087ca654be6bca7410fabf 100644
(file)
--- a/
arch/arm/kernel/hyp-stub.S
+++ b/
arch/arm/kernel/hyp-stub.S
@@
-134,9
+134,7
@@
ENTRY(__hyp_stub_install_secondary)
mcr p15, 4, r7, c1, c1, 3 @ HSTR
THUMB( orr r7, #(1 << 30) ) @ HSCTLR.TE
-#ifdef CONFIG_CPU_BIG_ENDIAN
- orr r7, #(1 << 9) @ HSCTLR.EE
-#endif
+ARM_BE8(orr r7, r7, #(1 << 25)) @ HSCTLR.EE
mcr p15, 4, r7, c1, c0, 0 @ HSCTLR
mrc p15, 4, r7, c1, c1, 1 @ HDCR