ARM: at91: pm: at91_pm_suspend_in_sram() must be 8-byte aligned
PATCH 1/1 ARM: at91: pm: at91_pm_suspend_in_sram() must be 8-byte aligned
From: Patrick Doyle <[email protected]>
fncpy() requires that the source and the destination are both 8-byte aligned.
Signed-off-by Patrick Doyle <[email protected]>
Signed-off-by Alexandre Belloni <[email protected]>
--- arch/arm/mach-at91/pm_suspend.S | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/mach-at91/pm_suspend.S +2 -0
@@ -80,6 +80,8 @@ tmp2 .req r5 * @r2: base address of second SDRAM Controller or 0 if not present * @r3: pm information */ +/* at91_pm_suspend_in_sram must be 8-byte aligned per the requirements of fncpy() */ + .align 3 ENTRY(at91_pm_suspend_in_sram) /* Save registers on stack */ stmfd sp!, {r4 - r12, lr}
Signature · 1 line
2.1.4
PATCH 1/1 ARM: at91: pm: at91_pm_suspend_in_sram() must be 8-byte aligned
Hi,
Quoted 7 lines · Alexandre Belloni
From: Patrick Doyle <[email protected]>
fncpy()requires that the source and the destination are both 8-byte aligned.Signed-off-by Patrick Doyle <[email protected]>Signed-off-by Alexandre Belloni <[email protected]>
Additional tags:
Fixes d94e688cae56 ("ARM: at91/pm: move the copying the sram function to the sram initialization phase")
Cc <[email protected]> # 4.1+
Sylvain
PATCH 1/1 ARM: at91: pm: at91_pm_suspend_in_sram() must be 8-byte aligned
Le 16/10/2015 13:22, Sylvain Rochet a ?crit :
Quoted 8 lines
Hi,
Quoted 5 lines · Alexandre Belloni
From: Patrick Doyle <[email protected]>
fncpy()requires that the source and the destination are both 8-byte aligned.
Quoted 7 lines
Quoted 2 lines
Signed-off-by Patrick Doyle <[email protected]>Signed-off-by Alexandre Belloni <[email protected]>Additional tags:
Fixes d94e688cae56 ("ARM: at91/pm: move the copying the sram function to the sram initialization phase")Cc <[email protected]> # 4.1+
Absolutely: thanks Sylvain.
Acked-by Nicolas Ferre <[email protected]>
Thank you to Patrick for having found this issue.
Best regards,
Signature · 1 line
Nicolas Ferre