enum cpuhp_state {
CPUHP_INVALID = -1,
CPUHP_OFFLINE = 0,
- CPUHP_EXYNOS_BOOST_CTRL,
+ CPUHP_EXYNOS_BOOST_CTRL_POST,
CPUHP_CREATE_THREADS,
CPUHP_PERF_PREPARE,
CPUHP_PERF_X86_PREPARE,
CPUHP_AP_X86_KVM_CLK_ONLINE,
CPUHP_AP_EXYNOS_IDLE_CTRL,
CPUHP_AP_ACTIVE,
+ CPUHP_EXYNOS_BOOST_CTRL_PRE,
CPUHP_ONLINE,
};
#include <linux/slab.h>
#include <linux/cpuset.h>
+#include <soc/samsung/exynos-emc.h>
+
#include <trace/events/power.h>
#define CREATE_TRACE_POINTS
#include <trace/events/cpuhp.h>
for_each_cpu(cpu, &ap_work_cpus) {
struct cpuhp_cpu_state *st = per_cpu_ptr(&cpuhp_state, cpu);
+ emc_cpu_pre_off_callback(cpu);
set_cpu_active(cpu, false);
st->state = CPUHP_AP_EXYNOS_IDLE_CTRL;
}