Thread (155 messages) 155 messages, 12 authors, 2016-03-18

Re: [PATCH v5 6/7][Update] cpufreq: Support for fast frequency switching

From: Juri Lelli <hidden>
Date: 2016-03-17 11:33:57
Also in: linux-acpi, lkml

Hi,

On 17/03/16 00:51, Rafael J. Wysocki wrote:
From: Rafael J. Wysocki <redacted>
Subject: [PATCH] cpufreq: Support for fast frequency switching
[...]
+void cpufreq_enable_fast_switch(struct cpufreq_policy *policy)
+{
+	lockdep_assert_held(&policy->rwsem);
+
+	mutex_lock(&cpufreq_fast_switch_lock);
+	if (policy->fast_switch_possible && cpufreq_fast_switch_count >= 0) {
+		cpufreq_fast_switch_count++;
+		policy->fast_switch_enabled = true;
+	} else {
+		pr_warn("cpufreq: CPU%u: Fast freqnency switching not enabled\n",
Ultra-minor nit: s/freqnency/frequency/

Also, is this really a warning or just a debug message? (everything
seems to work fine on Juno even if this is printed :-)).

Best,

- Juri
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help