[PATCH 1/1] ARM: imx: build suspend-imx6.S with arm instruction set

Shawn Guo shawnguo at kernel.org
Mon Jan 18 01:45:13 EST 2021


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 at toradex.com>

Applied, thanks.



More information about the linux-arm-kernel mailing list