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

From: Sebastian Andrzej Siewior
Date: Tue Aug 11 2020 - 14:49:10 EST


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).

Now I'm curious if Windows has the same ACPI tables and if so how they
behave here. And what the actual plan here was. And where is the border
when one is actual allowed to make fun of someone. So many questions.

> Done as Bug 208877.

Thank you.

> Steve Berman

Sebastian