Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1786988ybt; Mon, 15 Jun 2020 09:21:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/OglXq4TLUXR1zQMCE/TQGV3WEMYvEagqRPE09NjPbVKBfqMmii9zVl0cT3Tunz1tJU4r X-Received: by 2002:a50:e791:: with SMTP id b17mr25593545edn.366.1592238100261; Mon, 15 Jun 2020 09:21:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592238100; cv=none; d=google.com; s=arc-20160816; b=A+gM07jlyDhlIiL2Gdp94buBYjFBvl6Oha1Ry9Bx/JJ992V64IpPhIKz92Ex01LuRE oqIItk66WmNzXVtcD/q/EMcAnsNvp00VinwIO20sTPxANDzNmGNGDwMJUp1wxFuCOm4w SNWUy1NNhEebCqs2Lu+KY0e5zBG2C2bSxJsLShgpVK+f01eAw5LOVhqbPCAro9SCbNk6 nWf55RQCeSUhdSuh6hyibHUapoovqG8pyUqq0XMaod9QzVGzHJU9CZfMzSsJkpCKo/Yd CRoOl0ofp/3HTodTxy+kwPaTBZI/vIegWdXhQLpDih7t+JoGlbCqx8KF1wRNYEz5qmqZ Ji2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=BPVZBz9nVJ+KAcE+Y6GNTJxtSeSTXCWPZK3SU1M76lM=; b=xUQeARniizgqbVpWxabqSUoPQ5eEKYDTl+ZYWdOJKvEIwF4rpclj8af95fWEumhGts wMjH5zisHpjIXJgHSK+0gy5RH3BLqFln3aZiDhDiL98tZEyGBsw/KbSxJIPpuk0l8RgJ 0djZfIiRP8aONQS8yV2WItZG3L3d7SJ1a4YO6pu+mEXieqoRUOX2vc6hYRLkYp8MyAql uKZBuX7Vx59z8aMy2cxcPq4AlS4NULIfB3hV2O+ndqMSVm+b0OVyeFIT/1U8/78NJtHP lGmcTf8/JC633hUFBRHlScXbSNJ02V5XNRzWOC5SkmbVZQNJDBTHBj1tSRUU085+jY/W btTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=DmL6Dsoi; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 27si2736163ejv.134.2020.06.15.09.21.17; Mon, 15 Jun 2020 09:21:40 -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=@gmx.net header.s=badeba3b8450 header.b=DmL6Dsoi; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730933AbgFOQTc (ORCPT + 99 others); Mon, 15 Jun 2020 12:19:32 -0400 Received: from mout.gmx.net ([212.227.15.18]:57969 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729637AbgFOQTb (ORCPT ); Mon, 15 Jun 2020 12:19:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1592237959; bh=pT77xwIyg5fdLwWqVyEl7LfKJAAWp7HtQdcGpD4ikuc=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=DmL6DsoicACVVLfxurlPPEtO8vK3gkrBkvmX5YPQuLOLwygVgp1i2K4LiAjTuw8ZH cx86iGqAWroh63eKU9DlPzY695dijHsj7exC+Gv4RKV5RzIyaipNIsSqKoMx3dyKuf 8Zz7r3bsVa3KJhRSSeNiL39BTADhDUh7dXAWN5bg= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from strobe-jhalfs ([188.109.165.61]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MQ5vW-1jXihL2Ovo-00M2z2; Mon, 15 Jun 2020 18:19:19 +0200 From: Stephen Berman To: Sebastian Andrzej Siewior Cc: Thomas Gleixner , Peter Zijlstra , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: power-off delay/hang due to commit 6d25be57 (mainline) References: <87tuzjcovq.fsf@gmx.net> <20200610102514.4vdzu5u7d6vnpicn@linutronix.de> <87imfyh6yx.fsf@gmx.net> <87wo4dligz.fsf@gmx.net> <20200612110122.jossn5zrktcvpbpm@linutronix.de> <87tuzdrgm5.fsf@gmx.net> <20200614171005.3zy673p6bpwoqnmq@linutronix.de> <874krcsquv.fsf@gmx.net> <20200615145130.bcdidqkp6w23xb6c@linutronix.de> <87tuzcqqul.fsf@gmx.net> <20200615155846.nd5n32qggusakxl7@linutronix.de> Date: Mon, 15 Jun 2020 18:19:18 +0200 In-Reply-To: <20200615155846.nd5n32qggusakxl7@linutronix.de> (Sebastian Andrzej Siewior's message of "Mon, 15 Jun 2020 17:58:46 +0200") Message-ID: <87pna0qp2x.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:B6nN4qd35ZcpNV/+g4XvNSLfvahGBT1BOzOpMPdf9LQsSWO99HX 4oUAVkqdjRIfx8RiDDMhfPQREolVALZz53Bj/L5uu6Ni+nK5zBmd8X/f0Hy6YZK/sDtKfr8 GF53V056/HklbpdUkHZfUNcKld7+Q/aZU4bo/ULXwNLbluUG6WWFVIcXHcfxRhZ/8PbFrWZ wfN6SewVMMdwwkKGJp1vw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0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Gch9jzww+61We+opGdQYxWmnclhiUCoInPiPPWAxCj41rbjmpN 1T4jA9bnIDEYHWgZGfdg5ighRBDEOdfceJpBuAozPXqG0vDv8oFGMeKga8LDzOzjC2plkeryU PUwp8t5B1X0medU/9oz61lPoQPsXjRlfJuKu4Q9c6H67b0Px40zIoMNXRWwjqnP/sdss+MuR1 lVjUTBADjqIeF5z+Z Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 15 Jun 2020 17:58:46 +0200 Sebastian Andrzej Siewior wrote: > On 2020-06-15 17:41:06 [+0200], Stephen Berman wrote: >> > If you do this "t" then there should be a lot of output on your consol= e. >> > If you do this from an xterm then you can see the output after typing >> > "dmesg". The output should appear also in your system log. >>=20 >> Ah, ok, I do see it in the log, it looks basically the same as the call >> trace I posted upthread. I wonder why there was no such output in the >> console, could there be some setting that suppresses it even though >> /proc/sys/kernel/sysrq has `1'? > > You have ignore_loglevel soo everything should appear on your console. > The is true for your tty / ctrl+alt+f1 but your xterm shell. Yet that appears not to be the case here, or I'm still doing something wrong =F0=9F=A4=B7 >> There were in fact 99 "Start .* acpi_ev_notify_dispatch" messages and 98 >> "End .* acpi_ev_notify_dispatch" messages. Here's the last of them >> before I rebooted: [...]=20 >> acpi_os_execute_deferred_notify(851) Start ffff8d7aa8758a80 >> acpi_ev_notify_dispatch+0x0/0x55(ffff8d7aa84e70a0) >> Jun 15 08:58:26 strobe-jhalfs kernel: [ 194.339017] acpi_os_execute(1109) >> Adding acpi_ev_notify_dispatch+0x0/0x55 ffff8d7aa99a6730 >> Jun 15 08:58:27 strobe-jhalfs kernel: [ 195.363005] acpi_os_execute(1109) >> Adding acpi_ev_notify_dispatch+0x0/0x55 ffff8d7aa99a6780 >> Jun 15 08:58:27 strobe-jhalfs kernel: [ 195.367978] >> acpi_os_execute_deferred_notify(853) End ffff8d7aa8758a80 [...]=20 > Okay. So there is "Adding" of four events/work items in total, each > almost every second. > Processing of one work-item took two seconds, the other one took a > second. These events are "old" so I don't see the "adding" line for the > Start/End. > You could look in the log for ffff8d7aa8758a80 to seen when it was > enqueued but it feels like ACPI enqueues more events then it is capable > of processing. It's there, 196 lines above the Start ffff8d7aa8758a80 line: Jun 15 08:56:58 strobe-jhalfs kernel: [ 106.275356] acpi_os_execute(1109) = Adding acpi_ev_notify_dispatch+0x0/0x55 ffff8d7aa84e70a0 Steve Berman