Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1797706ybt; Mon, 15 Jun 2020 09:37:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwR5Fxx2eUXfiHPHfkRucAzxeOR7r0Nz+fI1B2xqjNT34ZrCOD1+2vvhZjATcOkOhspPm/Z X-Received: by 2002:a17:906:7247:: with SMTP id n7mr26547031ejk.105.1592239025675; Mon, 15 Jun 2020 09:37:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592239025; cv=none; d=google.com; s=arc-20160816; b=c7DuYmBARG7Qa7WHoxL/o6JQUDHw9yYn1SO2v3iDB8jJO7ogb/MRN5NsgUFJibFZc2 8KGAzxcDBXN/F4jM+ngCn4RjLVj2xDwE0m0Rq2e9s3lN7pH9PecCOIvwpZjYo9Vw8Zql owIXg65e6Pgh1dvoKF0ZPz3pWZ1kXjbmaBrcoFFugMqAkZF2zTgjYqVMkCQXPzIHncKt 3FefXPHDdm4ZCSAKluc5e4NA73jzWWRhj4bG6mc1kjQicqcAiEA3tJxTrOSj4I1LVygd mOiqHXhpM1lr6x5DPQZE7fYtGZJTlk1NcWExejtUgqpaLPGsPBxubZ/LO6Bzrg+uCaIe oRwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=m8EXyu/7Tx9IG+UI+9D9LMGZRH0C5Aj8ZYo+2cSrXWA=; b=ds/EzHVYOrgLKjh+6vWTbWGMYF7V8lMMztjrb6EgwHpx55/vaxLV6K3dCF4H8VAakK cUu+wSqM+ooqzxXDN4hgaFleND0hUQt47b+Dpws5PoNq1cGqymP2riDmx0Bj8KPrpwAa A/WEHtBKW1zxNUd5ZBPjmhimgmZ4sYepMSDx7WyG7qZZUULTuJo7hqDJ5o7cDRFjA8F0 oG1ajTi7SMBbxodRD/9SshTCHH+zVfIjRCvHhQWnQ0kUrfcHExCopzibt0s7S9CBioKJ rCaO5CKm/Vzd5IM4c0pZNBsNcCrG/pTgapdeUubomnPwaX1LZkNfZhOyHFfW/ik6ldvM O1Yw== ARC-Authentication-Results: i=1; mx.google.com; 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 nh4si9179948ejb.339.2020.06.15.09.36.42; Mon, 15 Jun 2020 09:37:05 -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; 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 S1730627AbgFOQcv convert rfc822-to-8bit (ORCPT + 99 others); Mon, 15 Jun 2020 12:32:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729966AbgFOQcv (ORCPT ); Mon, 15 Jun 2020 12:32:51 -0400 Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 680B7C061A0E; Mon, 15 Jun 2020 09:32:51 -0700 (PDT) Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1jks2T-0007R0-Dg; Mon, 15 Jun 2020 18:32:49 +0200 Date: Mon, 15 Jun 2020 18:32:49 +0200 From: Sebastian Andrzej Siewior To: Stephen Berman 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) Message-ID: <20200615163249.kofrsl274aotcdz7@linutronix.de> References: <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> <87pna0qp2x.fsf@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <87pna0qp2x.fsf@gmx.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-06-15 18:19:18 [+0200], Stephen Berman wrote: > 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 So compared with | [ 193.321242] acpi_os_execute_deferred_notify(851) Start ffff8d7aa8758a80 acpi_ev_notify_dispatch+0x0/0x55(ffff8d7aa84e70a0) it took ~87 seconds for the item to start since it was enqueued. Assuming that workqueue still makes progress on shutdown it may just a long time to flush all worker on shutdown. I still have no idea how the commit in question is responsible for that behaviour… > Steve Berman Sebastian