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

From: Thomas Gleixner
Date: Wed Apr 12 2017 - 10:54:04 EST


On Wed, 12 Apr 2017, Tommi Rantala wrote:
> 2017-04-12 13:52 GMT+03:00 Thomas Gleixner <tglx@xxxxxxxxxxxxx>:
> > 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 try to offline all CPUs (except 0) in the same order as
> > suspend (1 ... 7) and then online them again in the same order?
>
> Seems to work without problems:

Good.

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

That should give us at least a hint in which area to dig.

Thanks,

tglx