Re: [patch 0/6] hwmon/coretemp: Hotplug fixes, cleanups and state machine conversion

2017-05-10 Thread Tommi Rantala
2017-05-10 17:01 GMT+03:00 Thomas Gleixner : > On Wed, 10 May 2017, Tommi Rantala wrote: >> 2017-05-09 10:16 GMT+03:00 Thomas Gleixner : >> > On Thu, 4 May 2017, Tommi Rantala wrote: >> >> Here's the trace output, does it help? >> > >> > Not much. Can you please try the following: >> > >> > 1) Offl

Re: [patch 0/6] hwmon/coretemp: Hotplug fixes, cleanups and state machine conversion

2017-05-10 Thread Thomas Gleixner
On Wed, 10 May 2017, Tommi Rantala wrote: > 2017-05-09 10:16 GMT+03:00 Thomas Gleixner : > > On Thu, 4 May 2017, Tommi Rantala wrote: > >> Here's the trace output, does it help? > > > > Not much. Can you please try the following: > > > > 1) Offline all CPUs except CPU0 before suspend/resume > > it

Re: [patch 0/6] hwmon/coretemp: Hotplug fixes, cleanups and state machine conversion

2017-05-10 Thread Tommi Rantala
2017-05-09 10:16 GMT+03:00 Thomas Gleixner : > On Thu, 4 May 2017, Tommi Rantala wrote: >> Here's the trace output, does it help? > > Not much. Can you please try the following: > > 1) Offline all CPUs except CPU0 before suspend/resume it works! > 2) Offline all CPUs except CPU0 and CPU1 before s

Re: [patch 0/6] hwmon/coretemp: Hotplug fixes, cleanups and state machine conversion

2017-05-09 Thread Thomas Gleixner
On Thu, 4 May 2017, Tommi Rantala wrote: > 2017-04-23 18:01 GMT+03:00 Thomas Gleixner : > > On Sat, 15 Apr 2017, Tommi Rantala wrote: > > > >> Testing with 4.10.8-200.fc25.x86_64: freezer, devices and platform are > >> OK, it breaks at "processors". > >> The screen stays off, and the machine no lon

Re: [patch 0/6] hwmon/coretemp: Hotplug fixes, cleanups and state machine conversion

2017-05-04 Thread Tommi Rantala
2017-04-23 18:01 GMT+03:00 Thomas Gleixner : > On Sat, 15 Apr 2017, Tommi Rantala wrote: > >> Testing with 4.10.8-200.fc25.x86_64: freezer, devices and platform are >> OK, it breaks at "processors". >> The screen stays off, and the machine no longer answers to ping. >> >> (Without coretemp loaded,

Re: [patch 0/6] hwmon/coretemp: Hotplug fixes, cleanups and state machine conversion

2017-04-23 Thread Thomas Gleixner
On Sat, 15 Apr 2017, Tommi Rantala wrote: > 2017-04-14 20:35 GMT+03:00 Thomas Gleixner : > > On Wed, 12 Apr 2017, Thomas Gleixner wrote: > >> > >> Can you please try the following: > >> > >> # for STATE in freezer devices platform processors core; do \ > >> echo $STATE; \ > >> echo $STATE >/sy

Re: [patch 0/6] hwmon/coretemp: Hotplug fixes, cleanups and state machine conversion

2017-04-15 Thread Tommi Rantala
2017-04-14 20:35 GMT+03:00 Thomas Gleixner : > On Wed, 12 Apr 2017, Thomas Gleixner wrote: >> >> Can you please try the following: >> >> # for STATE in freezer devices platform processors core; do \ >> echo $STATE; \ >> echo $STATE >/sys/power/pm_test; \ >> echo mem >/sys/power/state >> >> Th

Re: [patch 0/6] hwmon/coretemp: Hotplug fixes, cleanups and state machine conversion

2017-04-14 Thread Thomas Gleixner
On Wed, 12 Apr 2017, Thomas Gleixner wrote: > On Wed, 12 Apr 2017, Tommi Rantala wrote: > > 2017-04-12 13:52 GMT+03:00 Thomas Gleixner : > > > Can you please try to offline/online CPUs from the console? > > > > > > # echo 0 >/sys/devices/system/cpu1/online > > > # echo 1 >/sys/devices/system/cpu1/o

Re: [patch 0/6] hwmon/coretemp: Hotplug fixes, cleanups and state machine conversion

2017-04-12 Thread Thomas Gleixner
On Wed, 12 Apr 2017, Tommi Rantala wrote: > 2017-04-12 13:52 GMT+03:00 Thomas Gleixner : > > Can you please try to offline/online CPUs from the console? > > > > # echo 0 >/sys/devices/system/cpu1/online > > # echo 1 >/sys/devices/system/cpu1/online > > ok, that works. > > > If that works, then tr

Re: [patch 0/6] hwmon/coretemp: Hotplug fixes, cleanups and state machine conversion

2017-04-12 Thread Tommi Rantala
2017-04-12 13:52 GMT+03:00 Thomas Gleixner : > On Wed, 12 Apr 2017, Tommi Rantala wrote: >> 2017-04-12 12:28 GMT+03:00 Thomas Gleixner : >> > On Wed, 12 Apr 2017, Tommi Rantala wrote: >> >> Resume-from-suspend stopped working in HP xw6600 in fedora kernel >> >> 4.10.8-200.fc25.x86_64, while it work

Re: [patch 0/6] hwmon/coretemp: Hotplug fixes, cleanups and state machine conversion

2017-04-12 Thread Thomas Gleixner
On Wed, 12 Apr 2017, Tommi Rantala wrote: > 2017-04-12 12:28 GMT+03:00 Thomas Gleixner : > > On Wed, 12 Apr 2017, Tommi Rantala wrote: > >> Resume-from-suspend stopped working in HP xw6600 in fedora kernel > >> 4.10.8-200.fc25.x86_64, while it worked just fine in > >> 4.9.9-200.fc25.x86_64. > >> >

Re: [patch 0/6] hwmon/coretemp: Hotplug fixes, cleanups and state machine conversion

2017-04-12 Thread Tommi Rantala
2017-04-12 12:28 GMT+03:00 Thomas Gleixner : > On Wed, 12 Apr 2017, Tommi Rantala wrote: >> Resume-from-suspend stopped working in HP xw6600 in fedora kernel >> 4.10.8-200.fc25.x86_64, while it worked just fine in >> 4.9.9-200.fc25.x86_64. >> >> When powering on the suspended PC, there is no video

Re: [patch 0/6] hwmon/coretemp: Hotplug fixes, cleanups and state machine conversion

2017-04-12 Thread Thomas Gleixner
On Wed, 12 Apr 2017, Tommi Rantala wrote: > Resume-from-suspend stopped working in HP xw6600 in fedora kernel > 4.10.8-200.fc25.x86_64, while it worked just fine in > 4.9.9-200.fc25.x86_64. > > When powering on the suspended PC, there is no video output, and to > recover, I need to reset the machi

Re: [patch 0/6] hwmon/coretemp: Hotplug fixes, cleanups and state machine conversion

2017-04-12 Thread Tommi Rantala
2016-11-23 17:28 GMT+02:00 Guenter Roeck : > > On 11/22/2016 09:42 AM, Thomas Gleixner wrote: >> >> After the first attempt to convert the coretemp driver to the hotplug state >> machine failed, we had a deeper look and went a bit farther. >> >> The driver has quite some interesting concepts vs. th

Re: [patch 0/6] hwmon/coretemp: Hotplug fixes, cleanups and state machine conversion

2016-11-23 Thread Guenter Roeck
On 11/22/2016 09:42 AM, Thomas Gleixner wrote: After the first attempt to convert the coretemp driver to the hotplug state machine failed, we had a deeper look and went a bit farther. The driver has quite some interesting concepts vs. the package, core and sysfs file management and a bug in the

[patch 0/6] hwmon/coretemp: Hotplug fixes, cleanups and state machine conversion

2016-11-22 Thread Thomas Gleixner
After the first attempt to convert the coretemp driver to the hotplug state machine failed, we had a deeper look and went a bit farther. The driver has quite some interesting concepts vs. the package, core and sysfs file management and a bug in the package temperature sysfs interface vs. cpu hotpl