Re: power-off delay/hang due to commit 6d25be57 (mainline)

From: Sebastian Andrzej Siewior
Date: Mon Oct 26 2020 - 13:21:07 EST


On 2020-10-07 18:18:03 [+0200], Rafael J. Wysocki wrote:
> On 10/6/2020 11:49 PM, Sebastian Andrzej Siewior wrote:
> > On 2020-08-11 20:49:05 [+0200], To Stephen Berman wrote:
> > > On 2020-08-11 19:22:19 [+0200], Stephen Berman wrote:
> > > > Attached.
> > > ssdt6.dsl:
> > > | ThermalZone (TZ10)
> > > | {
> > > …
> > > | Method (_TSP, 0, Serialized) // _TSP: Thermal Sampling Period
> > > | {
> > > | Return (0x0A)
> > > | }
> > > |
> > > | Method (_TZP, 0, Serialized) // _TZP: Thermal Zone Polling
> > > | {
> > > | Return (0x0A)
> > > | }
> > > |
> > > | Method (_TMP, 0, Serialized) // _TMP: Temperature
> > > | {
> > > | \GSA1.ZRC3 ()
> > > | Sleep (0x03E8)
> > > | Notify (\_TZ.TZ10, 0x81) // Thermal Trip Point Change
> > > | Return (0x0B54)
> > > | }
> > >
> > > So if I read this correctly then TZ10 should be polled every second
> > > (check) and the temperature function contains a `sleep(1 second)' (which
> > > explains the mysteries delay) followed by the Notify() (which schedules
> > > the worker).
> > >
> > > > Done as Bug 208877.
> > Rafael, do you have any suggestions?
>
> I've lost track of this sorry.
>
> I have ideas, let me get back to this next week.

:)

> Cheers!

Sebastian