IRQD_GIC_MULTI_TARGET flag is enabled, All CPU can receive
interrupts. It cause increase power consumption, so we need to
limits the interrupt only to the boot cluster.
Change-Id: I9a44a07fd12220f8a2cfdd5539ccf52aec80677d
Signed-off-by: Soohyun Kim <soohyuni.kim@samsung.com>
bit = 0;
if (!cpumask_and(&temp_mask, mask_val, cpu_online_mask))
goto err_out;
-
+#ifndef CONFIG_SCHED_HMP
+ if (!cpumask_and(&temp_mask, &temp_mask, cpu_coregroup_mask(0)))
+ goto err_out;
+#endif
for_each_cpu(cpu, &temp_mask) {
if (cpu >= NR_GIC_CPU_IF || cpu >= nr_cpu_ids)
goto err_out;