From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:59478 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752161AbbLFFvl (ORCPT ); Sun, 6 Dec 2015 00:51:41 -0500 Subject: Patch "ARM: at91: pm: at91_pm_suspend_in_sram() must be 8-byte aligned" has been added to the 4.2-stable tree To: pdoyle@irobot.com, alexandre.belloni@free-electrons.com, gregkh@linuxfoundation.org, nicolas.ferre@atmel.com Cc: , From: Date: Sat, 05 Dec 2015 21:51:40 -0800 Message-ID: <1449381100217189@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled ARM: at91: pm: at91_pm_suspend_in_sram() must be 8-byte aligned to the 4.2-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: arm-at91-pm-at91_pm_suspend_in_sram-must-be-8-byte-aligned.patch and it can be found in the queue-4.2 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From 5fcf8d1a0e84792b2bc44922c5d833dab96a9c1e Mon Sep 17 00:00:00 2001 From: Patrick Doyle Date: Fri, 16 Oct 2015 12:39:05 +0200 Subject: ARM: at91: pm: at91_pm_suspend_in_sram() must be 8-byte aligned From: Patrick Doyle commit 5fcf8d1a0e84792b2bc44922c5d833dab96a9c1e upstream. fncpy() requires that the source and the destination are both 8-byte aligned. Signed-off-by: Patrick Doyle Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre Fixes: d94e688cae56 ("ARM: at91/pm: move the copying the sram function to the sram initialization phase") Signed-off-by: Greg Kroah-Hartman --- arch/arm/mach-at91/pm_suspend.S | 2 ++ 1 file changed, 2 insertions(+) --- a/arch/arm/mach-at91/pm_suspend.S +++ b/arch/arm/mach-at91/pm_suspend.S @@ -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} Patches currently in stable-queue which might be from pdoyle@irobot.com are queue-4.2/arm-at91-pm-at91_pm_suspend_in_sram-must-be-8-byte-aligned.patch