mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Implement trace_power_frequency for all cpufreq drivers
@ 2010-04-27 14:57 Thomas Renninger
  2010-04-27 14:57 ` [PATCH 1/2] acpi-cpufreq: Fix CPU_ANY CPUFREQ_{PRE,POST}CHANGE notification Thomas Renninger
  2010-04-27 14:57 ` [PATCH 2/2] x86 cpufreq: Make trace_power_frequency cpufreq driver independent Thomas Renninger
  0 siblings, 2 replies; 7+ messages in thread
From: Thomas Renninger @ 2010-04-27 14:57 UTC (permalink / raw)
  To: x86
  Cc: linux-trace-users, linux-perf-users, robert.schoene, cpufreq,
	linux-kernel, davej, arjan

Is such perf stuff supposed to go through x86-tip?
Can someone pick these two up, please.

Thanks,

    Thomas


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH 1/2] acpi-cpufreq: Fix CPU_ANY CPUFREQ_{PRE,POST}CHANGE notification
@ 2010-04-20 11:17 Thomas Renninger
  2010-04-20 11:17 ` [PATCH 2/2] x86 cpufreq: Make trace_power_frequency cpufreq driver independent Thomas Renninger
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Renninger @ 2010-04-20 11:17 UTC (permalink / raw)
  To: davej; +Cc: Thomas Renninger, venki, arjan, linux-kernel

Signed-off-by: Thomas Renninger <trenn@suse.de>
CC: venki@google.com
CC: davej@redhat.com
CC: arjan@infradead.org
CC: davej@redhat.com
CC: linux-kernel@vger.kernel.org
---
 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
index 4591680..c6de3a9 100644
--- a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
+++ b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
@@ -391,7 +391,7 @@ static int acpi_cpufreq_target(struct cpufreq_policy *policy,
 
 	freqs.old = perf->states[perf->state].core_frequency * 1000;
 	freqs.new = data->freq_table[next_state].frequency;
-	for_each_cpu(i, cmd.mask) {
+	for_each_cpu(i, policy->cpus) {
 		freqs.cpu = i;
 		cpufreq_notify_transition(&freqs, CPUFREQ_PRECHANGE);
 	}
@@ -407,7 +407,7 @@ static int acpi_cpufreq_target(struct cpufreq_policy *policy,
 		}
 	}
 
-	for_each_cpu(i, cmd.mask) {
+	for_each_cpu(i, policy->cpus) {
 		freqs.cpu = i;
 		cpufreq_notify_transition(&freqs, CPUFREQ_POSTCHANGE);
 	}
-- 
1.6.3


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-04-30 18:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-27 14:57 Implement trace_power_frequency for all cpufreq drivers Thomas Renninger
2010-04-27 14:57 ` [PATCH 1/2] acpi-cpufreq: Fix CPU_ANY CPUFREQ_{PRE,POST}CHANGE notification Thomas Renninger
2010-04-27 17:08   ` Venkatesh Pallipadi
2010-04-27 14:57 ` [PATCH 2/2] x86 cpufreq: Make trace_power_frequency cpufreq driver independent Thomas Renninger
2010-04-30  9:08   ` Ingo Molnar
2010-04-30 10:00     ` Thomas Renninger
  -- strict thread matches above, loose matches on Subject: below --
2010-04-20 11:17 [PATCH 1/2] acpi-cpufreq: Fix CPU_ANY CPUFREQ_{PRE,POST}CHANGE notification Thomas Renninger
2010-04-20 11:17 ` [PATCH 2/2] x86 cpufreq: Make trace_power_frequency cpufreq driver independent Thomas Renninger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome