Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp489021pxx; Mon, 26 Oct 2020 13:11:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZz33RkDp1PgCmRNq1XhayK4hzmQck1CbIQ3/jKZogxcuczO7xKnlnoBgKzsKzTSXc6olx X-Received: by 2002:a17:907:9604:: with SMTP id gb4mr4642199ejc.336.1603743115413; Mon, 26 Oct 2020 13:11:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603743115; cv=none; d=google.com; s=arc-20160816; b=V6q1Ow8iDVWRc0Z50Psn3C8HJLJp1rSyq4nFsmGdAYDS6Cwjz2TdhvJL7Cij6UhxBK Ohr8P3u7BzZn//f42oaSYE2ljJh7giqKWxzpzguvceYHcDURRD7BxlXmFMOy9gcHVeiB UAKDXioRg42B9RsY66Y9RClh++2lGsfFgVPEgqLPvj7m02tI80TlECzM4kepVbVOjc8o tl5YpuOggtVVUeTU63mfTbQ6m1nrEGyCG+VeQ47/WDf5cZnMJZwJVHr95Y88VwUzpHDf UCWT5aI0zxLzNkxl66+eqG9xQHfTwcJnUiqq4Vb569UVH7ajdEj4NBB76mYQ8DGLhA9E //Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:dkim-signature:dkim-signature:date; bh=oB2n0giDJAYWcKw6n8mDK9I+WY0T57Mwbrgg5zYcJr8=; b=b9I3X321I7yLpuaeIHCzITGkf7kTkfr46UptiRwkM7bs5xPPhq0Cz+NhoGX/jx2MJ/ ts9bjXJdCNfEiqLvVfuq1fThyUkxJAZeo2Yi1YNEKGoVr0SNrYglLv5ZpDMKVfksD9wn a0Eb0uDZL2gPr8REhjqcohZaosbOPqvheyDlZAj20CKMa3CrXZvyG99dQ3lxZMMNjLZd hwyw6GCvbfObiyv1r0j+fNnZevR01XVitmbYYoPDBlJ+f2DJSoWRHSkcZUqpdG8FzIVE dBbzKRzbDWcRVsxbki0WcAO1zOlFC1+TOVVlRjaiFSCzcG5NDPO8m3HK67RfrzzKWDVW SFZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ATG4oJgy; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n10si7662471eja.436.2020.10.26.13.11.32; Mon, 26 Oct 2020 13:11:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ATG4oJgy; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1787610AbgJZRVE (ORCPT + 99 others); Mon, 26 Oct 2020 13:21:04 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:41252 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1775598AbgJZRVB (ORCPT ); Mon, 26 Oct 2020 13:21:01 -0400 Date: Mon, 26 Oct 2020 18:20:57 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1603732858; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oB2n0giDJAYWcKw6n8mDK9I+WY0T57Mwbrgg5zYcJr8=; b=ATG4oJgyAV4DEFqzfnJMN996aPUgxFF0bAxJJJCAg69n+GE65sj1guHIvG0ebZP6kEuS0/ 47NdWhos9vOYpkRJ/T43/0jFyJvJPlijs9M72pmq0C0dSkaNeMXTaLovHfJ78pQYZ8/C7Q 8AHK52r/ICHohBylwDlBm6xppyy4/uxQQCw7MboAZ74ggglGT13WX+U2LnT6AYFvS/COPG ZZiW2WRW8Y/uafR7zycJLzKXGYrufJavlfAMoRu83JkS8aEJh6oP2EFYaRfeOjdh6mxSqD O0oIgaQuwYitvuMekguHmak/Sb6Dql6KPc+ZMZHSd8KGbYLT4XWFMhYwvq0EbQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1603732858; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oB2n0giDJAYWcKw6n8mDK9I+WY0T57Mwbrgg5zYcJr8=; b=yIxacmqX5WVWewymSGWT965ZXKcgemXRgvUgqQv3ONw/IE6JrPOlQcLqfy8xBf41NaDzeY 75rbpYz0KZ9acSDQ== From: Sebastian Andrzej Siewior To: "Rafael J. Wysocki" Cc: "Rafael J. Wysocki" , Stephen Berman , Zhang Rui , Robert Moore , Erik Kaneda , Len Brown , Thomas Gleixner , Peter Zijlstra , Linux Kernel Mailing List , ACPI Devel Maling List , "open list:ACPI COMPONENT ARCHITECTURE (ACPICA)" Subject: Re: power-off delay/hang due to commit 6d25be57 (mainline) Message-ID: <20201026172057.h5toqoobiyhc4g3g@linutronix.de> References: <20200714141135.47adndrsdgpiqfy4@linutronix.de> <87blkbx1gt.fsf@gmx.net> <87imdp5r80.fsf@rub.de> <20200811132955.wbt55ns7bu5mxouq@linutronix.de> <20200811152551.dmfw46urecbmeklr@linutronix.de> <87ft8tayic.fsf@gmx.net> <20200811184902.2fm4eyprmpkfon2j@linutronix.de> <20201006214927.4nsqtfji4fdv3oed@linutronix.de> <3fc9074b-c153-8446-0289-1e4dfab395eb@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <3fc9074b-c153-8446-0289-1e4dfab395eb@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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) > > > | { > > > =E2=80=A6 > > > | 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) > > > | } > > >=20 > > > So if I read this correctly then TZ10 should be polled every second > > > (check) and the temperature function contains a `sleep(1 second)' (wh= ich > > > explains the mysteries delay) followed by the Notify() (which schedul= es > > > the worker). > > >=20 > > > > Done as Bug 208877. > > Rafael, do you have any suggestions? >=20 > I've lost track of this sorry. >=20 > I have ideas, let me get back to this next week. :) > Cheers! Sebastian