ARM: NOMMU: Reload __secondary_data after PROCINFO_INITFUNC
PATCH 1/1 ARM: NOMMU: Reload __secondary_data after PROCINFO_INITFUNC
__secondary_data used to reside in r7 around call to PROCINFO_INITFUNC. After commit 95731b8ee63e ("ARM: 9059/1: cache-v7:
get rid of mini-stack") r7 is used as a scratch register, so we have to reload __secondary_data before we setup the stack pointer.
--- arch/arm/kernel/head-nommu.S | 1 + 1 file changed, 1 insertion(+)
arch/arm/kernel/head-nommu.S +1 -0
@@ -114,6 +114,7 @@ ENTRY(secondary_startup) add r12, r12, r10 ret r12 1: bl __after_proc_init + ldr r7, __secondary_data @ reload r7 ldr sp, [r7, #12] @ set up the stack pointer mov fp, #0 b secondary_start_kernel
Signature · 7 lines
2.7.4 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Russell King (Oracle)
maintainerQuoted 6 lines · Vladimir Murzin
__secondary_dataused to reside in r7 around call toPROCINFO_INITFUNC. After commit95731b8ee63e("ARM: 9059/1: cache-v7:
get rid of mini-stack") r7 is used as a scratch register, so we have to reload__secondary_databefore we setup the stack pointer.Fixes 95731b8ee63ec9419822a51cd9878fa32582fdd2 ("ARM: 9059/1: cache-v7: get rid of mini-stack")
Documentation/process/submitting-patches.rst requests only 12 digits for the sha1 in the fixes line, which makes this:
and avoids it being unnecessarily long. Please make that change before sending it to the patch system, thanks.
Other than that, patch looks good, thanks.
Quoted 27 lines
Signed-off-by Vladimir Murzin <[email protected]>--- arch/arm/kernel/head-nommu.S | 1 + 1 file changed, 1 insertion(+)arch/arm/kernel/head-nommu.S +1
-0@@ -114,6 +114,7 @@ ENTRY(secondary_startup) add r12, r12, r10 ret r12 1: bl __after_proc_init + ldr r7, __secondary_data @ reload r7 ldr sp, [r7, #12] @ set up the stack pointer mov fp, #0 b secondary_start_kernelSignature · 7 lines
2.7.4 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 7 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 8 lines · Russell King (Oracle)
Quoted 6 lines · Vladimir Murzin
__secondary_dataused to reside in r7 around call toPROCINFO_INITFUNC. After commit95731b8ee63e("ARM: 9059/1: cache-v7:
get rid of mini-stack") r7 is used as a scratch register, so we have to reload__secondary_databefore we setup the stack pointer.Fixes 95731b8ee63ec9419822a51cd9878fa32582fdd2 ("ARM: 9059/1: cache-v7: get rid of mini-stack")
Quoted 7 lines
Documentation/process/submitting-patches.rstrequests only 12 digits for the sha1 in the fixes line, which makes this:Fixes 95731b8ee63e ("ARM: 9059/1: cache-v7: get rid of mini-stack")and avoids it being unnecessarily long. Please make that change before sending it to the patch system, thanks.
Done.
Quoted 2 lines
Other than that, patch looks good, thanks.
Thanks for prompt feedback!
Cheers
Vladimir
Quoted 23 lines
Quoted 23 lines
Signed-off-by Vladimir Murzin <[email protected]>--- arch/arm/kernel/head-nommu.S | 1 + 1 file changed, 1 insertion(+)arch/arm/kernel/head-nommu.S +1
-0@@ -114,6 +114,7 @@ ENTRY(secondary_startup) add r12, r12, r10 ret r12 1: bl __after_proc_init + ldr r7, __secondary_data @ reload r7 ldr sp, [r7, #12] @ set up the stack pointer mov fp, #0 b secondary_start_kernelSignature · 1 line
2.7.4
Quoted 6 lines
Quoted 5 lines
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel