All of lore.kernel.org
 help / color / mirror / Atom feed
* cpufreq regression due to dceff5c "cpufreq: fix serialization issues with freq change notifiers"
@ 2013-09-11 22:20 Stephen Warren
  2013-09-11 22:51 ` Rafael J. Wysocki
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen Warren @ 2013-09-11 22:20 UTC (permalink / raw)
  To: Viresh Kumar, Rafael J . Wysocki, linux-pm@vger.kernel.org

One of the test cases I run (not often enough, hence I just noticed this
late) is the following, to make sure our cpufreq driver is present, and
adjusting the CPU clock as expected:

# echo 1000000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq ;
sleep 1 ; cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq ;
echo 216000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  ;
sleep 1 ; cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq

which prints the following when it works:

1000000
216000

In next-20130909, that doesn't work, but instead prints:

216000
216000

I've also seen the following during git bisect:

608000
608000

... and perhaps other unexpected sets of values.

This is a regression. I found that if I revert dceff5c "cpufreq: fix
serialization issues with freq change notifiers", then the test case
works as expected.

Any idea what's up?

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

end of thread, other threads:[~2013-09-13  4:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-11 22:20 cpufreq regression due to dceff5c "cpufreq: fix serialization issues with freq change notifiers" Stephen Warren
2013-09-11 22:51 ` Rafael J. Wysocki
2013-09-11 22:53   ` Stephen Warren
2013-09-12  0:18     ` Rafael J. Wysocki
2013-09-12  0:26     ` Viresh Kumar
2013-09-12  0:31       ` Viresh Kumar
2013-09-12 16:27         ` Stephen Warren
2013-09-13  4:21           ` Viresh Kumar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.