mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 09:20:54 +07:00
01601b3495
Due to recent consolidation of Exynos suspend and cpuidle code, some
parts of suspend and resume sequences are executed two times, once from
exynos_pm_syscore_ops and then from exynos_cpu_pm_notifier() and thus it
breaks suspend, at least on Exynos4-based boards. In addition, simple
core power down from a cpuidle driver could, in case of CPU 0 could
result in calling functions that are specific to suspend and deeper idle
states.
This patch fixes the issue by moving those operations outside the CPU PM
notifier into suspend and AFTR code paths. This leads to a bit of code
duplication, but allows additional code simplification, so in the end
more code is removed than added.
Fixes:
|
||
---|---|---|
.. | ||
include/mach | ||
common.h | ||
exynos-smc.S | ||
exynos.c | ||
firmware.c | ||
headsmp.S | ||
hotplug.c | ||
Kconfig | ||
Makefile | ||
Makefile.boot | ||
mcpm-exynos.c | ||
mfc.h | ||
platsmp.c | ||
pm_domains.c | ||
pm.c | ||
pmu.c | ||
regs-pmu.h | ||
regs-sys.h | ||
sleep.S | ||
smc.h |