[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210118064512.GK28365@dragon>
Date: Mon, 18 Jan 2021 14:45:13 +0800
From: Shawn Guo <shawnguo@...nel.org>
To: Max Krummenacher <max.oss.09@...il.com>
Cc: Max Krummenacher <max.krummenacher@...adex.com>,
Lucas Stach <l.stach@...gutronix.de>,
linux-arm-kernel@...ts.infradead.org,
Fabio Estevam <festevam@...il.com>,
Rouven Czerwinski <r.czerwinski@...gutronix.de>,
linux-kernel@...r.kernel.org,
Ahmad Fatoum <a.fatoum@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Sascha Hauer <s.hauer@...gutronix.de>,
Russell King <linux@...linux.org.uk>,
NXP Linux Team <linux-imx@....com>
Subject: Re: [PATCH 1/1] ARM: imx: build suspend-imx6.S with arm instruction
set
On Mon, Jan 11, 2021 at 04:17:04PM +0100, Max Krummenacher wrote:
> When the kernel is configured to use the Thumb-2 instruction set
> "suspend-to-memory" fails to resume. Observed on a Colibri iMX6ULL
> (i.MX 6ULL) and Apalis iMX6 (i.MX 6Q).
>
> It looks like the CPU resumes unconditionally in ARM instruction mode
> and then chokes on the presented Thumb-2 code it should execute.
>
> Fix this by using the arm instruction set for all code in
> suspend-imx6.S.
>
> Signed-off-by: Max Krummenacher <max.krummenacher@...adex.com>
Applied, thanks.
Powered by blists - more mailing lists