public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* S3, SMP non boot cpus and /sys/devices/system/cpu[1-9]/cpufreq/scaling_max_freq
@ 2013-05-13 13:01 Jarzmik, Robert
  2013-05-13 20:40 ` Srivatsa S. Bhat
  0 siblings, 1 reply; 31+ messages in thread
From: Jarzmik, Robert @ 2013-05-13 13:01 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-pm@vger.kernel.org

Hi Rafael,

I came across that little odd behavior in "Suspend to RAM" :
 1) I do a "chmod audio:audio /sys/devices/system/cpu1/cpufreq/scaling_max_freq (I know, stupid, but it's for the example)
 2) I do a "echo mem > /sys/power/state"
 3) I resume the kernel
     => here the permissions of /sys/devices/system/cpu1/cpufreq/scaling_max_freq have turned back to root:root

OK, fair well, I add a UDEV rule which does a "chown audio:audio /sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq" upon udev event "online, /sys/...".
And here it becomes interesting :
 - the udev event "offline" or "online" never comes with the "Suspend to RAM" testcase
 - but the same udev event comes when I manually do a "echo 0 > /sys/devices/system/cpu/cpu1/online"

So my question is : is it intended behavior that no udev offline/online event happens on S3 for non-boot CPUs, or is it something I should try to fix ?

Cheers.

--
Robert

PS: I have a rather old kernel (3.4), so forgive me if the question is outdated ...
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


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

end of thread, other threads:[~2013-05-15 20:41 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-13 13:01 S3, SMP non boot cpus and /sys/devices/system/cpu[1-9]/cpufreq/scaling_max_freq Jarzmik, Robert
2013-05-13 20:40 ` Srivatsa S. Bhat
2013-05-13 23:32   ` Rafael J. Wysocki
2013-05-14  9:06     ` Jarzmik, Robert
2013-05-14 10:09       ` Srivatsa S. Bhat
2013-05-14 10:22         ` Viresh Kumar
2013-05-14 10:27           ` Srivatsa S. Bhat
2013-05-14 11:22             ` Rafael J. Wysocki
2013-05-14 11:20               ` R, Durgadoss
2013-05-14 11:33                 ` Rafael J. Wysocki
2013-05-14 11:36                   ` R, Durgadoss
2013-05-14 11:54                     ` Jarzmik, Robert
2013-05-14 12:34                       ` Srivatsa S. Bhat
2013-05-14 13:00                         ` Rafael J. Wysocki
2013-05-14 13:54                           ` Srivatsa S. Bhat
2013-05-14 20:22                             ` Rafael J. Wysocki
2013-05-15  8:24                               ` Jarzmik, Robert
2013-05-15  8:37                               ` R, Durgadoss
2013-05-15  6:16                             ` Viresh Kumar
2013-05-15  6:30                               ` Srivatsa S. Bhat
2013-05-15  6:45                             ` Viresh Kumar
2013-05-15  7:33                               ` Srivatsa S. Bhat
2013-05-15  7:44                                 ` Viresh Kumar
2013-05-15  8:18                                   ` Srivatsa S. Bhat
2013-05-15 20:50                             ` Rafael J. Wysocki
2013-05-14 12:58                       ` Rafael J. Wysocki
2013-05-14 14:01                         ` Jarzmik, Robert
2013-05-14 14:16                           ` Srivatsa S. Bhat
2013-05-14 14:05                       ` Alan Stern
2013-05-15  9:20                         ` Jarzmik, Robert
2013-05-15 14:15                           ` Alan Stern

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