projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c9ae25
)
arm64: hyp-stub: Don't save lr in the EL1 code
author
Marc Zyngier
<
[email protected]
>
Mon, 3 Apr 2017 18:37:36 +0000
(19:37 +0100)
committer
Christoffer Dall
<
[email protected]
>
Sun, 9 Apr 2017 14:49:18 +0000
(07:49 -0700)
The EL2 code is not corrupting lr anymore, so don't bother preserving
it in the EL1 trampoline code.
Acked-by: Catalin Marinas <
[email protected]
>
Signed-off-by: Marc Zyngier <
[email protected]
>
Signed-off-by: Christoffer Dall <
[email protected]
>
arch/arm64/kernel/hyp-stub.S
patch
|
blob
|
history
diff --git
a/arch/arm64/kernel/hyp-stub.S
b/arch/arm64/kernel/hyp-stub.S
index e4215ad06930addb74f1f5839a8ad183ea7b5dc3..193dfb25ce2f8b41c4fe4ef2302ea2cab6b22057 100644
(file)
--- a/
arch/arm64/kernel/hyp-stub.S
+++ b/
arch/arm64/kernel/hyp-stub.S
@@
-116,18
+116,14
@@
ENDPROC(\label)
*/
ENTRY(__hyp_get_vectors)
- str lr, [sp, #-16]!
mov x0, #HVC_GET_VECTORS
hvc #0
- ldr lr, [sp], #16
ret
ENDPROC(__hyp_get_vectors)
ENTRY(__hyp_set_vectors)
- str lr, [sp, #-16]!
mov x1, x0
mov x0, #HVC_SET_VECTORS
hvc #0
- ldr lr, [sp], #16
ret
ENDPROC(__hyp_set_vectors)