linux-stable/arch/arm
Ahmad Fatoum 09192ee93d ARM: imx: build v7_cpu_resume() unconditionally
commit 512a928aff 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: 05136f0897 ("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-03-11 18:03:07 +01:00
..
boot ARM: dts: ls1021a: Restore MDIO compatible to gianfar 2020-03-11 18:03:05 +01:00
common ARM: 8847/1: pm: fix HYP/SVC mode mismatch when MCPM is used 2020-01-27 14:46:22 +01:00
configs USB: rio500: Remove Rio 500 kernel driver 2019-10-17 13:43:20 -07:00
crypto crypto: arm/crc32 - avoid warning when compiling with Clang 2019-11-20 18:00:23 +01:00
firmware ARM: trusted_foundations: do not use naked function 2018-12-01 09:42:49 +01:00
include ARM: 8723/2: always assume the "unified" syntax for assembly code 2020-02-28 16:35:52 +01:00
kernel ARM: 8955/1: virt: Relax arch timer version check during early boot 2020-02-05 14:18:23 +00:00
kvm ARM: KVM: Add SMCCC_ARCH_WORKAROUND_1 fast handling 2018-10-18 09:16:27 +02:00
lib ARM: 8813/1: Make aligned 2-byte getuser()/putuser() atomic on ARMv6+ 2019-12-17 20:37:38 +01:00
mach-actions License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-alpine License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-artpec
mach-asm9260
mach-aspeed
mach-at91 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-axxia License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-bcm License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-berlin
mach-clps711x License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-cns3xxx ARM: cns3xxx: Fix writing to wrong PCI config registers after alignment 2019-02-06 17:31:34 +01:00
mach-davinci ARM: davinci: dm365: Fix McBSP dma_slave_map entry 2019-11-10 11:25:14 +01:00
mach-digicolor License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-dove License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-ebsa110 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-efm32 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-ep93xx License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-exynos ARM: exynos: Fix undefined instruction during Exynos5422 resume 2019-06-15 11:54:59 +02:00
mach-footbridge License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-gemini License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-highbank License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-hisi ARM: hisi: check of_iomap and fix missing of_node_put 2018-09-26 08:38:10 +02:00
mach-imx ARM: imx: build v7_cpu_resume() unconditionally 2020-03-11 18:03:07 +01:00
mach-integrator gpio: pl061: handle failed allocations 2019-02-20 10:20:50 +01:00
mach-iop13xx ARM: iop: don't use using 64-bit DMA masks 2019-05-08 07:20:51 +02:00
mach-iop32x ARM: iop32x/n2100: fix PCI IRQ mapping 2019-02-15 08:09:12 +01:00
mach-iop33x License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-ixp4xx License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-keystone ARM: keystone: fix platform_domain_notifier array overrun 2018-06-21 04:02:59 +09:00
mach-ks8695 ARM: ks8695: fix section mismatch warning 2019-12-05 15:37:15 +01:00
mach-lpc18xx
mach-lpc32xx
mach-mediatek
mach-meson
mach-mmp ARM: mmp/mmp2: fix cpu_is_mmp2() on mmp2-dt 2018-12-21 14:13:05 +01:00
mach-moxart
mach-mv78xx0 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-mvebu ARM: mvebu: declare asm symbols as character arrays in pmsu.c 2018-10-03 17:00:52 -07:00
mach-mxs
mach-netx
mach-nomadik
mach-nspire
mach-omap1 ARM: OMAP1/2: fix SoC name printing 2019-12-17 20:38:20 +01:00
mach-omap2 ARM: OMAP2+: Fix potentially uninitialized return value for _setup_reset() 2020-01-27 14:46:27 +01:00
mach-orion5x ARM: orion5x: Revert commit 4904dbda41. 2018-05-30 07:52:05 +02:00
mach-oxnas
mach-picoxcell
mach-prima2 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-pxa ARM: pxa: avoid section mismatch warning 2019-02-12 19:46:04 +01:00
mach-qcom
mach-realview
mach-rockchip ARM: rockchip: Force CONFIG_PM on Rockchip systems 2018-09-15 09:45:33 +02:00
mach-rpc ARM: riscpc: fix lack of keyboard interrupts after irq conversion 2020-01-27 14:46:34 +01:00
mach-s3c24xx ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify 2019-03-23 14:35:27 +01:00
mach-s3c64xx License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-s5pv210
mach-sa1100 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-shmobile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-socfpga License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-spear License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-sti
mach-stm32
mach-sunxi
mach-tango ARM: tango: Improve ARCH_MULTIPLATFORM compatibility 2019-02-15 08:09:12 +01:00
mach-tegra ARM: tegra: Enable PLLP bypass during Tegra124 LP1 2020-02-14 16:32:14 -05:00
mach-u300 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-uniphier License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-ux500 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-versatile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-vexpress ARM: vexpress: Set-up shared OPP table instead of individual for each CPU 2020-01-12 12:11:52 +01:00
mach-vt8500 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-w90x900 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-zx License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-zynq ARM: zynq: Use memcpy_toio instead of memcpy on smp bring-up 2019-10-05 12:48:07 +02:00
mm ARM: 8949/1: mm: mark free_memmap as __init 2020-02-14 16:32:23 -05:00
net bpf: get rid of pure_initcall dependency to enable jits 2019-08-25 10:50:02 +02:00
nwfpe License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
plat-iop ARM: iop: don't use using 64-bit DMA masks 2019-05-08 07:20:51 +02:00
plat-omap ARM: OMAP: Fix dmtimer init for omap1 2018-05-30 07:52:01 +02:00
plat-orion ARM: orion: don't use using 64-bit DMA masks 2019-05-08 07:20:51 +02:00
plat-pxa ARM: pxa: ssp: Fix "WARNING: invalid free of devm_ allocated data" 2020-01-27 14:46:29 +01:00
plat-samsung ARM: samsung: Fix system restart on S3C6410 2019-10-05 12:48:07 +02:00
plat-versatile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
probes ARM: 8834/1: Fix: kprobes: optimized kprobes illegal instruction 2019-02-27 10:08:01 +01:00
tools License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vdso ARM: vdso: Remove dependency with the arch_timer driver internals 2019-05-31 06:47:18 -07:00
vfp ARM: 8810/1: vfp: Fix wrong assignement to ufp_exc 2019-02-20 10:20:46 +01:00
xen xen/efi: Set nonblocking callbacks 2019-10-29 09:16:56 +01:00
Kconfig ARM: 8951/1: Fix Kexec compilation issue. 2020-02-28 16:36:07 +01:00
Kconfig-nommu License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig.debug ARM: debug: enable UART1 for socfpga Cyclone5 2019-12-17 20:38:18 +01:00
Makefile ARM: 8723/2: always assume the "unified" syntax for assembly code 2020-02-28 16:35:52 +01:00