diff options
| author | Max Krummenacher <[email protected]> | 2021-01-11 15:17:04 +0000 |
|---|---|---|
| committer | Shawn Guo <[email protected]> | 2021-01-18 06:47:34 +0000 |
| commit | a88afa46b86ff461c89cc33fc3a45267fff053e8 (patch) | |
| tree | a79e3ce3a8c8adea90dd084cb2e6e9675792499d /net/switchdev/switchdev.c | |
| parent | ARM: dts: imx7d-flex-concentrator: fix pcf2127 reset (diff) | |
| download | kernel-a88afa46b86ff461c89cc33fc3a45267fff053e8.tar.gz kernel-a88afa46b86ff461c89cc33fc3a45267fff053e8.zip | |
ARM: imx: build suspend-imx6.S with arm instruction set
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 <[email protected]>
Fixes: df595746fa69 ("ARM: imx: add suspend in ocram support for i.mx6q")
Acked-by: Oleksandr Suvorov <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
