Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1111510pxu; Wed, 2 Dec 2020 11:18:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+wq8+5QEzKAvBHxLP70OqsAl0pB+5s2w7/1A5TVw7GEeG8dCgWJZjruwDborAMjdzgvp/ X-Received: by 2002:a05:6402:4cf:: with SMTP id n15mr1447646edw.241.1606936696284; Wed, 02 Dec 2020 11:18:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606936696; cv=none; d=google.com; s=arc-20160816; b=tUVwnqGAklisu/3psPVpeZzS2aGouXzr0bAMNoSAoj0bxBJCTgL5UiJ/z1kvA3lmTZ ZTkEBlaiffcGBZFjcLXltjU0Apg4kgSezWkKxmmlwO4F95GWunY2Dt+0MyU8nWlmYM95 45G672Mo9iUADJI2N+ltrvtDTMloEa7ZnSkfH+vHazxlgVYRbEvQkMc5BS2iG2RCgiBl cjbnxL8SplwXzAL3tU/OKGfcDD4C7GtnuhI0uZ2lVtWIRTmAbwhguRMtr7sP4ekEhJKv q1uE6QheP8f3zQZijrCNGe+4CRAVoR4phcoeeFYmpvmOBqhAy9P3nKDReqdUslPAzG89 aaZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=CSgCPvyjSWwR5VuE/IAdVdzw2MyO2GOfuLQ4fVNgIpw=; b=bbs/HolxLmHeMgkKoj9FCBmyb1GNw+SpmEnxMm0lDnGjQlYmyMPu33T0hwimyAFdrm y8XQDKur5bPpN8Wz+D+6vYHJ7AbB+rtyq712P+dRMglI7Fgryr3To43QiuWkIuuyhOyM xIeYSCrptvBSeeLm/i+TZHEq2v1dlzGjo7O54/1Ivzj7++WHPZs9i902K2/sMjpaZvkF jr47PhAHllBzf1dfsyms6APDWACfNz599FNG5bsd1u6oYE9yxhdf6kSwEAjTKFflZ8SL RZlp5/JmSczeOlAq98yvtJfyap9yVQoFHXaNYuzwdqWIGgfsNdqqMhJJoo2ZXVSzWaww 5T/A== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i18si532109edq.576.2020.12.02.11.17.52; Wed, 02 Dec 2020 11:18:16 -0800 (PST) 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387903AbgLBTOb (ORCPT + 99 others); Wed, 2 Dec 2020 14:14:31 -0500 Received: from mail-ot1-f54.google.com ([209.85.210.54]:41423 "EHLO mail-ot1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731022AbgLBTOa (ORCPT ); Wed, 2 Dec 2020 14:14:30 -0500 Received: by mail-ot1-f54.google.com with SMTP id j21so2674846otp.8; Wed, 02 Dec 2020 11:14:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CSgCPvyjSWwR5VuE/IAdVdzw2MyO2GOfuLQ4fVNgIpw=; b=Qy/flFGQTXNXYv7clv0+MVOjlr/4k7GCy7KjS2XfvvnalRA8MSvz92ppd2lAm32mwf WqrrZ+fH1rA8bzz6BKpKY3yueInIyvOlcqeWJ0M6fqO9KtMCZEEQoqBFhjua7VwuNkjd UvtQKYB8wiT0W+eotbax9vA/V1RuRDDfRsH4yHKTvSrWTtQt6YMMc/A1y4LUANb5Vzu0 EbpDf1VZtxei+39Z7+HB2G3bSVdyhbODdwSOAZjilKsvIUMzdwJKk4k6H6JMLo2Mpiyc Ru9MNO5LGvnpdBlb5Q2v7vjGNRD1RjmVZf5YQ93S4b7EWYyrc7ar8HXmoiDnYGQRiKe2 z3Dw== X-Gm-Message-State: AOAM533HVNiW/aLI4PFpab+K3SqOavBy6MksMo0kZjUJVOABe7W4mlpe ZrM4tMnLX+iEo/PGyoddmnMPv1C2yCH+jTCGwp0= X-Received: by 2002:a9d:171a:: with SMTP id i26mr2967213ota.260.1606936429762; Wed, 02 Dec 2020 11:13:49 -0800 (PST) MIME-Version: 1.0 References: <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> <20201026172057.h5toqoobiyhc4g3g@linutronix.de> <20201202180350.kwmgfzkom7v7bzjg@linutronix.de> In-Reply-To: From: "Rafael J. Wysocki" Date: Wed, 2 Dec 2020 20:13:38 +0100 Message-ID: Subject: Re: power-off delay/hang due to commit 6d25be57 (mainline) To: Sebastian Andrzej Siewior Cc: "Rafael J. Wysocki" , "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)" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 2, 2020 at 7:31 PM Rafael J. Wysocki wrote: > > On Wed, Dec 2, 2020 at 7:03 PM Sebastian Andrzej Siewior > wrote: > > > > On 2020-10-26 18:20:59 [+0100], To Rafael J. Wysocki wrote: > > > > > > > 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. > > > > > > :) > > > > Rafael, any update? If you outline an idea or so then I may be able to > > form a patch out of it. Otherwise I have no idea how to fix this - other > > than telling the driver to not poll in smaller intervals than > > 30secs. > > The idea, roughly speaking, is to limit the number of outstanding work > items in the queue (basically, if there's a notification occurring > before the previous one can be handled, there is no need to queue up > another work item for it). That's easier said than done, though, because of the way the work item queue-up is hooked up into the ACPICA code.