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

2021-01-17 Thread Shawn Guo
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

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 resume. Observed on a Colibri

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

2021-01-11 Thread 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 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

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

2021-01-11 Thread Oleksandr Suvorov
On Mon, Jan 11, 2021 at 5:20 PM 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

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

2021-01-11 Thread Max Krummenacher
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