android_kernel_samsung_a7y1.../arch/arm/mach-imx
Ahmad Fatoum 9a5e0607dc ARM: imx: build v7_cpu_resume() unconditionally
commit 512a928affd51c2dc631401e56ad5ee5d5dd68b6 upstream.

This function is not only needed by the platform suspend code, but is also
reused as the CPU resume function when the ARM cores can be powered down
completely in deep idle, which is the case on i.MX6SX and i.MX6UL(L).

Providing the static inline stub whenever CONFIG_SUSPEND is disabled means
that those platforms will hang on resume from cpuidle if suspend is disabled.

So there are two problems:

  - The static inline stub masks the linker error
  - The function is not available where needed

Fix both by just building the function unconditionally, when
CONFIG_SOC_IMX6 is enabled. The actual code is three instructions long,
so it's arguably ok to just leave it in for all i.MX6 kernel configurations.

Fixes: 05136f0897b5 ("ARM: imx: support arm power off in cpuidle for i.mx6sx")
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 14:10:42 +02:00
..
devices A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
3ds_debugboard.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
3ds_debugboard.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
anatop.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
avic.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
board-mx31lilly.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
board-mx31lite.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
board-mx31moboard.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
common.h ARM: imx: build v7_cpu_resume() unconditionally 2020-04-07 14:10:42 +02:00
cpu-imx5.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpu-imx25.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpu-imx27.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpu-imx31.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpu-imx35.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpu.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuidle-imx5.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuidle-imx6q.c ARM: imx6q: cpuidle: fix bug that CPU might not wake up at expected time 2020-04-06 12:57:24 +02:00
cpuidle-imx6sl.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuidle-imx6sx.c ARM: imx: cpuidle-imx6sx: Restrict the SW2ISO increase to i.MX6SX 2020-04-06 19:16:50 +02:00
cpuidle.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
crmregs-imx3.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
devices-imx1.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
devices-imx21.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
devices-imx27.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
devices-imx31.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
devices-imx35.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ehci-imx27.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ehci-imx31.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ehci-imx35.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ehci.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
epit.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
eukrea-baseboards.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
gpc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hardware.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
headsmp.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hotplug.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
iim.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
imx1-dt.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
imx27-dt.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
imx31-dt.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
imx35-dt.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
iomux-imx31.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
iomux-mx1.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
iomux-mx2x.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
iomux-mx3.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
iomux-mx21.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
iomux-mx27.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
iomux-mx35.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
iomux-v1.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
iomux-v1.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
iomux-v3.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
iomux-v3.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
irq-common.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
irq-common.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-apf9328.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-armadillo5x0.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-bug.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-imx6q.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-imx6sl.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-imx6sx.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-imx6ul.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-imx7d.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-imx25.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-imx27_visstrim_m10.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-imx50.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-imx51.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-imx53.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-kzm_arm11_01.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-ls1021a.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-mx21ads.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-mx27_3ds.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-mx27ads.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-mx31_3ds.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-mx31ads.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-mx31lilly.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-mx31lite.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-mx31moboard.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-mx35_3ds.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-pca100.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-pcm037_eet.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-pcm037.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-pcm043.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-qong.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-scb9328.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-vf610.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-vpr200.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile ARM: imx: build v7_cpu_resume() unconditionally 2020-04-07 14:10:42 +02:00
Makefile.boot A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mm-imx1.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mm-imx3.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mm-imx21.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mm-imx27.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mmdc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mx1.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mx2x.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mx3x.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mx21.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mx27.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mx31.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mx31lilly-db.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mx31lite-db.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mx31moboard-devboard.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mx31moboard-marxbot.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mx31moboard-smartbot.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mx35.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mxc.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcm037.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
platsmp.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pm-imx3.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pm-imx5.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pm-imx6.c ARM: imx6: register pm_power_off handler if "fsl,pmic-stby-poweroff" is set 2020-04-07 12:27:28 +02:00
pm-imx27.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
resume-imx6.S ARM: imx: build v7_cpu_resume() unconditionally 2020-04-07 14:10:42 +02:00
src.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ssi-fiq-ksym.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ssi-fiq.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
suspend-imx6.S ARM: imx: build v7_cpu_resume() unconditionally 2020-04-07 14:10:42 +02:00
suspend-imx53.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
system.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tzic.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ulpi.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30