lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201026172057.h5toqoobiyhc4g3g@linutronix.de>
Date:   Mon, 26 Oct 2020 18:20:57 +0100
From:   Sebastian Andrzej Siewior <bigeasy@...utronix.de>
To:     "Rafael J. Wysocki" <rafael.j.wysocki@...el.com>
Cc:     "Rafael J. Wysocki" <rafael@...nel.org>,
        Stephen Berman <stephen.berman@....net>,
        Zhang Rui <rui.zhang@...el.com>,
        Robert Moore <robert.moore@...el.com>,
        Erik Kaneda <erik.kaneda@...el.com>,
        Len Brown <lenb@...nel.org>,
        Thomas Gleixner <tglx@...utronix.de>,
        Peter Zijlstra <peterz@...radead.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
        "open list:ACPI COMPONENT ARCHITECTURE (ACPICA)" <devel@...ica.org>
Subject: Re: power-off delay/hang due to commit 6d25be57 (mainline)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ