Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5f2284c authored by Naresh Malladi's avatar Naresh Malladi Committed by Maulik Shah
Browse files

drivers: cpuidle: lpm-levels: Remove IPI check on hotplugged cores



Currently checking pending IPIs even on cores which are hotplugged out
successfully. This check should happen only for cores which are
online.

Change-Id: I8fe49638f308eab97455e7cca62b01b617596de4
Signed-off-by: default avatarNaresh Malladi <namall@codeaurora.org>
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent 7be3a3f5
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1026,9 +1026,8 @@ static int cluster_configure(struct lpm_cluster *cluster, int idx,
					cpu_online_mask);

	if (!cpumask_equal(&cluster->num_children_in_sync, &cluster->child_cpus)
			|| is_IPI_pending(&cluster->num_children_in_sync)) {
				|| is_IPI_pending(&online_cpus))
		return -EPERM;
	}

	if (idx != cluster->default_level) {
		update_debug_pc_event(CLUSTER_ENTER, idx,