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

Commit b4af4885 authored by Matt Wagantall's avatar Matt Wagantall Committed by Prasad Sodagudi
Browse files

arm: psci: drop info prints seen during cpu hotplug to pr_debug



These message are printed every time a CPU in hotplugged out,
resulting in log noise and hurting hotplug latency. Silence them
by default, by dropping them to pr_debug.

Change-Id: I21632c1dbf54342b5980a82ab7389713e943bf6c
Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>
[ckadabi: Resolved minor conflcits]
Signed-off-by: default avatarChannagoud Kadabi <ckadabi@codeaurora.org>
Signed-off-by: default avatarPrasad Sodagudi <psodagud@codeaurora.org>
parent 5f0823d3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -98,12 +98,12 @@ int psci_cpu_kill(unsigned int cpu)
	for (i = 0; i < 10; i++) {
		err = psci_ops.affinity_info(cpu_logical_map(cpu), 0);
		if (err == PSCI_0_2_AFFINITY_LEVEL_OFF) {
			pr_info("CPU%d killed.\n", cpu);
			pr_debug("CPU%d killed.\n", cpu);
			return 1;
		}

		msleep(10);
		pr_info("Retrying again to check for CPU kill\n");
		pr_debug("Retrying again to check for CPU kill\n");
	}

	pr_warn("CPU%d may not have shut down cleanly (AFFINITY_INFO reports %d)\n",
+2 −2
Original line number Diff line number Diff line
@@ -97,12 +97,12 @@ static int cpu_psci_cpu_kill(unsigned int cpu)
	for (i = 0; i < 10; i++) {
		err = psci_ops.affinity_info(cpu_logical_map(cpu), 0);
		if (err == PSCI_0_2_AFFINITY_LEVEL_OFF) {
			pr_info("CPU%d killed.\n", cpu);
			pr_debug("CPU%d killed.\n", cpu);
			return 0;
		}

		msleep(10);
		pr_info("Retrying again to check for CPU kill\n");
		pr_debug("Retrying again to check for CPU kill\n");
	}

	pr_warn("CPU%d may not have shut down cleanly (AFFINITY_INFO reports %d)\n",