mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
Revert "ARM: proc-v7: Retry uncached stmia if necessary"
This reverts commit 3e1698ed50.
This commit is contained in:
@@ -288,11 +288,7 @@ __v7_ca17mp_setup:
|
||||
1: adr r0, __v7_setup_stack_ptr
|
||||
ldr r12, [r0]
|
||||
add r12, r12, r0 @ the local stack
|
||||
1:
|
||||
stmia r12, {r1-r6, lr} @ v7_invalidate_l1 touches r0-r6
|
||||
ldr r0, [r12, #(6 * 4)] @ read back the return address
|
||||
teq r0, lr @ confirm it is correct
|
||||
bne 1b @ retrying if not
|
||||
bl v7_invalidate_l1
|
||||
ldmia r12, {r1-r6, lr}
|
||||
#ifdef CONFIG_SMP
|
||||
@@ -478,11 +474,7 @@ __v7_setup:
|
||||
adr r0, __v7_setup_stack_ptr
|
||||
ldr r12, [r0]
|
||||
add r12, r12, r0 @ the local stack
|
||||
1:
|
||||
stmia r12, {r1-r6, lr} @ v7_invalidate_l1 touches r0-r6
|
||||
ldr r0, [r12, #(6 * 4)] @ read back the return address
|
||||
teq r0, lr @ confirm it is correct
|
||||
bne 1b @ retrying if not
|
||||
bl v7_invalidate_l1
|
||||
ldmia r12, {r1-r6, lr}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user