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

Sebastian Andrzej Siewior
2020-10-06T21:49:32Z

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?

Sebastian