Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1083236pxu; Wed, 2 Dec 2020 10:33:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwvg/qOKsS4sHOTFtHbbm08ydklkuBjkI4735jBS0q3FYXNIBlJEG1Xj4jqFY1feuAVBUgk X-Received: by 2002:a17:906:2612:: with SMTP id h18mr1042411ejc.469.1606934037112; Wed, 02 Dec 2020 10:33:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606934037; cv=none; d=google.com; s=arc-20160816; b=uLT+s/D1QqNqUCizoFdxSKD/aYc7QJAEvCjP9Hv1kWj1/oH8GC++h/bdvGohIhEDVm 92fgnM4yp2TutJWnhUMwajKT0fZmODoIkRcE8vvPRKGSUu4sM6FP2R24YMc12PDIvhJF LXh3qHwJaZR6HpfLjkY+Mr+dczOdAXJ93fyJ13w8o+1S73YP8lkVUjFo5tlIJkdloLyO 0ZQM4D+Du9hFCOJJVoqrwnb8eeEQkDZOWnoGPAlksvWtw/AFQeTt/aBy0FoODeFCpsDZ enExRIA8XcVNAdizO09IKZBArdK4kfJDdiJH9O071/O05FL6j0KRoc+j0Q8IjMTTp1fK NqlA== 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=B4i9VFRUD3xARLzYQEJLNB6JhqamFut8iCJ5lNpUlk4=; b=loUaOAepo2AUeRwTZ4weHwyXMYMdHH322J3sA0WTpLLhKET9n5WXe6zsfiH+hHBnmA +ASTGeKd7EqL4cBRhulGtxNg2I19f0WfsJB5KAFXuzTxd2O0Lqu/DFYs4OmxunrsU8zY CYXL8RQbRljz1SeuNMBRFpZjr+EBW6pW/BYolebnMtwvNC9TCJ0bRm/9FYtxlbeSCnIT 8gc8I9zJ3p2a0JAuPbrGiq85sZ+Cl79vIvGCDd2Y2KWU7ASN0+vR56gqsYxa+Qx8aqkV +SA03hRCgLknG3yRPam33tZjS0f/chRK+Pxc5Q93tQAAVKgQQdyZ3eAcaEEBL+Ox88HC 4SQg== 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 of22si429038ejb.321.2020.12.02.10.33.33; Wed, 02 Dec 2020 10:33:57 -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 S2389270AbgLBScP (ORCPT + 99 others); Wed, 2 Dec 2020 13:32:15 -0500 Received: from mail-ot1-f51.google.com ([209.85.210.51]:36258 "EHLO mail-ot1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729032AbgLBScO (ORCPT ); Wed, 2 Dec 2020 13:32:14 -0500 Received: by mail-ot1-f51.google.com with SMTP id y24so2565115otk.3; Wed, 02 Dec 2020 10:31:59 -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=B4i9VFRUD3xARLzYQEJLNB6JhqamFut8iCJ5lNpUlk4=; b=iYEerzja10ZQZBFr4aeAtdJwMq8T6CEiRCZQmgbpdOKYkmL7c9QT5ydgasOnWyRSUD TLm4xZ5pqJx6g3DAWBmBCGJaukgCYMRExm4gR93XN8T8xp3epZpwg2elGWJJBRpzGnHE 7o7h47DLAhuh+USumGlFdOVYmio3mX8kgdJn6CC3Eyo3eibNsKZu2s5ghSj5u0RSHCEH CEAGHM72ELT6TejXuJLVEWK+R37n7YqaxEImurO0ORy3dOtLe8ZuobFKBjym+UcewL4S HJVRCtxC1VADpEoRdy4lMXKfCztdAq7QQ6sxW7aZyXvIAcL4WcFeGRkBRAwsYL+doo0Q xUjA== X-Gm-Message-State: AOAM5304FLkz2YyJmxl0tBvrjOOxUYaWL/5WrWnsPBThMnNsJZgk2z4C hATrUPso/+mGPKGWftnLMQh7q3b+34s8IMJk4PE= X-Received: by 2002:a9d:745a:: with SMTP id p26mr2455710otk.206.1606933893884; Wed, 02 Dec 2020 10:31:33 -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: <20201202180350.kwmgfzkom7v7bzjg@linutronix.de> From: "Rafael J. Wysocki" Date: Wed, 2 Dec 2020 19:31:21 +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: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).