Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp663891pxu; Tue, 6 Oct 2020 16:18:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8WahqiWRMfsCWVNcrsTa3GyAB6q6ZyPRNoJfLJv4LNbWZKUxcz2guzYYO4fH1weUmOXSx X-Received: by 2002:a17:906:1cca:: with SMTP id i10mr378851ejh.487.1602026338314; Tue, 06 Oct 2020 16:18:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602026338; cv=none; d=google.com; s=arc-20160816; b=S6vegFxWtEYoPp9m5701LlHRpL/o0gvkGKpg0QHNSfNgJ8THDxmBdDCPBWSXNuLKTL UhzldMqxFGGP1m+WGSMgmDVtz+NRh/uxv3+tYdCORtjxRgGNLy+Z8EAA/pgjAb1O9X9R 65SOnF2IPc8Zq2htp4BJbUKBdYaCm85Kk4TNs0zHrrISYGY0SBNMXbcT/Px0j3R73zHM 6teWYCobMDzMleoHxHekOn32+1cy4tK9PL40lL67+bo2jUbbRPCe5ABdMytHEo9w9EKa 7ZpV0qRYSRqO+5o75mrNPLiVwtl79S8lGs8otyxncf6tC+NmLyqgJM3mMmiC1VsjnraM 69rw== 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=wLExEVGZHnixuPxldWLoYuOXnjhKVAwnQQdvjmNvv6k=; b=LpEzzbEHX0HZAxfH3sFDKAOdthspaCfIz7QfSj/4H68gnZX2aEoEWvcAB/s/nEKt7t tRXhOP0q6qUZnl73KdQB5mAm8RAOcMYLbgaBo+pe9fbDE5BMdAjfAiBcIe7i0y7A5MNd TwHAPPFEhOPrHK1y5t1Y6E1jsIBeHidbGatmitzeRohuWWWe5lm2OHXXLSgxTJNR9ZxO b5jj9Vh7QlqPawgK+ueTORBFYPRO72zfA/ngzm37+7GhgLLctLg4ePPlgjMLqXHwnz2J dto8Yxu6mTfWIFswUp+uiEToD3J7ix6DvgPJAQzalXyvKu/hjFNKo9mlBLNzvyLdunf1 4qlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="GoXQ2/Pe"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=DzUbLG9Q; 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 p21si155201ejo.182.2020.10.06.16.18.35; Tue, 06 Oct 2020 16:18:58 -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="GoXQ2/Pe"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=DzUbLG9Q; 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 S1726744AbgJFVtb (ORCPT + 99 others); Tue, 6 Oct 2020 17:49:31 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:39164 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726668AbgJFVta (ORCPT ); Tue, 6 Oct 2020 17:49:30 -0400 Date: Tue, 6 Oct 2020 23:49:27 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1602020968; 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=wLExEVGZHnixuPxldWLoYuOXnjhKVAwnQQdvjmNvv6k=; b=GoXQ2/PesXmj2YlEFR2VG3y0C/qrbcKsmHP62AcCv32RWac5d+CQoG2xgjdyLLUv53dLZC d3Pm2H+BMV+vyh7NpsVuA9ZgoFLadv1tgt4biwsDZuA9yNQyQJtyOl36pCDbFJ8NAzJg29 kOz8zjB7sJV39ELH9IS0yVUYtGkqceGHcFW7Y2gx+sVLmdNPucddomhP3/gynugvvbxdvo RIECjxIGjbEQ3seeEVYAAgX4AR+rTlQMDqyqEZ1Kd+5x+iSUMIM7ZsU7wEMBODgMKb2uHk 2Tq4lNK323jMy4glfCMtPPzf0l0OfFSTX2lvmSsvPVycnAm5xtY0GblVKSyztQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1602020968; 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=wLExEVGZHnixuPxldWLoYuOXnjhKVAwnQQdvjmNvv6k=; b=DzUbLG9QQwTXf/THyOyoi3ZR5QzdfED3L4/PunJuZ7f/e5PhnyjLfC/XWUzQqYtD7bvO1s Qmo6QQEz3QbblNDQ== From: Sebastian Andrzej Siewior To: "Rafael J. Wysocki" Cc: Stephen Berman , Zhang Rui , Robert Moore , Erik Kaneda , "Rafael J. Wysocki" , 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: <20201006214927.4nsqtfji4fdv3oed@linutronix.de> References: <20200714134410.3odqfvjq6rndjjf6@linutronix.de> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20200811184902.2fm4eyprmpkfon2j@linutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-08-11 20:49:05 [+0200], To Stephen Berman wrote: > On 2020-08-11 19:22:19 [+0200], Stephen Berman wrote: > > Attached. >=20 > 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)' (which > explains the mysteries delay) followed by the Notify() (which schedules > the worker). >=20 > > Done as Bug 208877. Rafael, do you have any suggestions? =20 Sebastian