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

2021-01-11 Thread Max Krummenacher
Resent due to gmail adding HTML, sorry for the noise. Am Montag, den 11.01.2021, 18:49 +0100 schrieb Ahmad Fatoum: > > On 11.01.21 16:17, Max Krummenacher wrote: > > When the kernel is configured to use the Thumb-2 instruction set > > "suspend-to-memory" fails to r

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

2021-01-11 Thread Max Krummenacher
wever to compile the whole file in ARM mode and have the linker taking care of the ARM/Thumb-2 switching. This would also keep the code working if a i.MX CPU variant exists that resumes in the same mode in which it went to sleep. Max Krummenacher (1): ARM: imx: build suspend-imx6.S with arm

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

2021-01-11 Thread Max Krummenacher
it should execute. Fix this by using the arm instruction set for all code in suspend-imx6.S. Signed-off-by: Max Krummenacher --- arch/arm/mach-imx/suspend-imx6.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-imx/suspend-imx6.S b/arch/arm/mach-imx/suspend-imx6.S index 1ea