linux_old1/arch/arm/mach-exynos
Bartlomiej Zolnierkiewicz 497ab3b30c ARM: EXYNOS: fix CPU1 hotplug on Exynos3250
CPU1 hotplug may hang when AFTR is used.  Fix it by:
- setting AUTOWAKEUP_EN bit in ARM_COREx_CONFIGURATION register in
  exynos_cpu_power_up()
- not clearing reserved bits of ARM_COREx_CONFIGURATION register in
  exynos_cpu_power_down()
- waiting while an undocumented register 0x0908 becomes non-zero in
  exynos_core_restart()
- using dsb_sev() instead of IPI in exynos_boot_secondary() on
  Exynos3250

This patch also fixes hotplug issues during resume from S2R:
$ echo mem > /sys/power/state
[  156.517266] Disabling non-boot CPUs ...
[  156.517781] IRQ18 no longer affine to CPU1
[  156.518043] CPU1: shutdown
[  156.544718] Enabling non-boot CPUs ...
[  156.554925] CPU1: Software reset
[  158.552631] CPU1: failed to come online
[  158.552753] Error taking CPU1 up: -5

Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Tested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Tested-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
2015-03-27 02:32:56 +09:00
..
include/mach ARM: SAMSUNG: remove unused DMA infrastructure 2015-01-24 13:09:54 +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
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
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: fix CPU1 hotplug on Exynos3250 2015-03-27 02:32:56 +09:00
pm.c ARM: SoC driver updates 2015-02-17 09:38:59 -08:00
pm_domains.c ARM: EXYNOS: Use platform device name as power domain name 2015-03-18 02:19:24 +09: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: fix CPU1 hotplug on Exynos3250 2015-03-27 02:32:56 +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: EXYNOS: Remove left over 'extra_save' 2015-03-18 02:34:38 +09:00