linux/arch/arm/mach-exynos
Krzysztof Kozlowski ca489c58ef ARM: EXYNOS: Don't use LDREX and STREX after disabling cache coherency
During CPU shutdown the exynos_cpu_power_down() is called after
disabling cache coherency and it uses LDREX and STREX instructions (by
calling of_machine_is_compatible() -> kobject_get() -> kref_get()).

The LDREX and STREX should not be used after disabling the cache
coherency so just use soc_is_exynos().

Fixes: adc548d77c ("ARM: EXYNOS: Use MCPM call-backs to support S2R
on exynos5420")

Reported-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: <stable@vger.kernel.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
2015-02-27 05:50:52 +09:00
..
include/mach ARM: SAMSUNG: remove unused DMA infrastructure 2015-01-24 13:09:54 +09:00
common.h cpuidle: exynos: add coupled cpuidle support for exynos4210 2015-01-30 08:39:15 +09:00
exynos-pmu.h ARM: EXYNOS: Move PMU specific definitions from common.h 2014-11-21 22:49:44 +09:00
exynos-smc.S ARM: EXYNOS: Add support for secure monitor calls 2013-04-09 01:52:06 +09:00
exynos.c ARM: make arrays containing machine compatible strings const 2015-02-19 09:44:17 +01:00
firmware.c ARM: 8263/1: EXYNOS: Add .write_sec outer cache callback for L2C-310 2015-01-16 14:35:37 +00:00
headsmp.S ARM: EXYNOS: Remove file path from comment section 2014-07-15 08:40:32 +09:00
Kconfig More ACPI and power management updates for 3.19-rc1 2014-12-18 20:28:33 -08:00
Makefile Merge branch 'v3.19-next/cleanup-samsung' into v3.19-next/mach-exynos 2014-11-21 21:40:23 +09:00
Makefile.boot ARM: dts: Add basic dts file for Samsung Trats board 2012-09-21 10:50:27 +09:00
mcpm-exynos.c ARM: EXYNOS: Use MCPM call-backs to support S2R on exynos5420 2014-11-21 22:49:46 +09:00
mfc.h ARM: SAMSUNG: Reorganize calls to reserve memory for MFC 2014-03-21 02:00:09 +09:00
platsmp.c ARM: EXYNOS: Don't use LDREX and STREX after disabling cache coherency 2015-02-27 05:50:52 +09:00
pm_domains.c ARM: exynos: Move to generic PM domain DT bindings 2014-09-22 15:57:40 +02:00
pm.c ARM: SoC driver updates 2015-02-17 09:38:59 -08:00
pmu.c ARM: EXYNOS: use u8 for val[] in struct exynos_pmu_conf 2014-11-27 02:47:05 +09:00
regs-pmu.h ARM: EXYNOS: Add exynos3250 suspend-to-ram support 2015-01-15 00:24:26 +09:00
sleep.S ARM: 8264/1: EXYNOS: Add support for non-secure L2X0 resume 2015-01-16 14:35:39 +00:00
smc.h ARM: EXYNOS: Add support for firmware-assisted suspend/resume 2014-10-21 00:06:35 +09:00
suspend.c ARM: make of_device_ids const 2015-02-19 09:44:25 +01:00