Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp793455pxb; Tue, 12 Apr 2022 13:37:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSoaH3yNLaP21tNJihsPfTOURuUnOifnIaRfvDFYWUXck6qOI9Dnm/84h/7bgeC/i0yNM8 X-Received: by 2002:a17:90a:af86:b0:1c7:db8e:8589 with SMTP id w6-20020a17090aaf8600b001c7db8e8589mr6978674pjq.94.1649795852062; Tue, 12 Apr 2022 13:37:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649795852; cv=none; d=google.com; s=arc-20160816; b=kCCcMFUJZJMLmQM9xiUdZNJnGXkvd178GplAUJmJDQquXRVRuLb275X+uG4gIVsMWT XJC6KvfL1DntJYq0Vl6ezjKkDvvi4eVEswP3V2iaUmmUZW+v/qDjL3AaBPLSw2B9DjIa AfpMdQ5PnMfmNr9NHC0NV6EKwzNaL8suKQw/Wt4bOq3OGOrZdSPGe/F9rmebXmsI6bIL noZTW6YbCjwFAmLBMiENkTYdXcjYXQtcvBg84eloQx19QwfpS/DRHr37SFIbUYNcqvNG 82CUm6GE8bHPYRyU4JZflH8PVP1M+AzbgeDE/JN+SZuXXyamO59urgcg8O+jwiDSZtwi Aang== 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-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=CtfJ0EHmXdOR8wmQ+Tu4pEiArwI3cAPpMvZxYZ2HZio=; b=GE7hPR38isE58MUZEcpPDQaBo659lup3ndW/Vdk/XfLLzN7psaamUj8cHI0eHV+H/m TNPVTaQ2qCbXyftDhkyzN//n+jhA0ecFl4LODAUwbIyZRrh2o6d9SzW18gwFQZt6eVnr UDGPTBp8Kym/KCyaugGh9nDimG+lZsDkhjv634U+D2zf7lpWclU3I7f8vr11Lc3NX+dV jOipe/RGDC1b+0YpuqQmbPlm2i9H8kX6Gzjo9/VbtUfZpjOWLN1RNJe2A2DUnzC50PS+ MBB+7pDITP85UWFJyMfoJjDnRTA7eN65uEjS+Z2aupzHXokTsi2z3Htctl6G989Iv/2c tv8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DRwqaBaS; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id pg18-20020a17090b1e1200b001ca6e5e415esi10508581pjb.178.2022.04.12.13.37.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 13:37:32 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DRwqaBaS; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CA136AC902; Tue, 12 Apr 2022 13:11:24 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343779AbiDKQZE (ORCPT + 99 others); Mon, 11 Apr 2022 12:25:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234414AbiDKQZD (ORCPT ); Mon, 11 Apr 2022 12:25:03 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E247930560; Mon, 11 Apr 2022 09:22:48 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 80896616E2; Mon, 11 Apr 2022 16:22:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9FBF9C385A4; Mon, 11 Apr 2022 16:22:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649694167; bh=etgszlvRZe6jojRqGriaxOztspw5uhvdBS80CxJB4SE=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=DRwqaBaSdxFQPkzjCeJI8eG2gb9bLFdGYzApUjcRzrefej9I+JDefq+Z257Xoq/Gy I3DuZpWqrikk/H693LqgH5bEK7stEfmszvlFO3t+5hk58k7Ir+LaXzuIBwT/KMU8Rf ku+OY/D3ZleeOzkc+LeYswSL7WLyV0bo5XgdLB66DdZS/4ij5lsNOIlt2ej2CFQBxF ZhQKGbdT8lwj8+AKrjMr4ZLz+GLX8MHxvW5g0DfBodzYeJ6FHQBHQYimZaZUweqIUt Q4UI7i7TQP7AdaJ9lOl+mRak/VKhFNlLakve0Str0CpestWRzaWmF5d7SaX/QNISqb 8sfQT4VqeTD0w== Date: Mon, 11 Apr 2022 11:22:46 -0500 From: Bjorn Helgaas To: Thorsten Leemhuis Cc: "Rafael J. Wysocki" , Linux PCI , Stefan Gottwald , Mika Westerberg , Linux PM , LKML Subject: Re: [PATCH] PCI: PM: Quirk bridge D3 on Elo i2 Message-ID: <20220411162246.GA519922@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2d6981fd-c75a-ccb0-9299-65625963a9e3@leemhuis.info> X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 11, 2022 at 02:10:30PM +0200, Thorsten Leemhuis wrote: > > > On 11.04.22 13:35, Rafael J. Wysocki wrote: > > On Sun, Apr 10, 2022 at 11:16 AM Thorsten Leemhuis > > wrote: > >> > >> On 09.04.22 15:35, Rafael J. Wysocki wrote: > >>> On Fri, Apr 8, 2022 at 9:53 PM Bjorn Helgaas wrote: > >>>> > >>>> On Mon, Apr 04, 2022 at 04:46:14PM +0200, Rafael J. Wysocki wrote: > >>>>> On Fri, Apr 1, 2022 at 1:34 PM Rafael J. Wysocki wrote: > >>>>>> On Thu, Mar 31, 2022 at 11:57 PM Bjorn Helgaas wrote: > >>>>>>> On Thu, Mar 31, 2022 at 07:38:51PM +0200, Rafael J. Wysocki wrote: > >>>>>>>> From: Rafael J. Wysocki > >>>>>>>> > >>>>>>>> If one of the PCIe root ports on Elo i2 is put into D3cold and then > >>>>>>>> back into D0, the downstream device becomes permanently inaccessible, > >>>>>>>> so add a bridge D3 DMI quirk for that system. > >>>>>>>> > >>>>>>>> This was exposed by commit 14858dcc3b35 ("PCI: Use > >>>>>>>> pci_update_current_state() in pci_enable_device_flags()"), but before > >>>>>>>> that commit the root port in question had never been put into D3cold > >>>>>>>> for real due to a mismatch between its power state retrieved from the > >>>>>>>> PCI_PM_CTRL register (which was accessible even though the platform > >>>>>>>> firmware indicated that the port was in D3cold) and the state of an > >>>>>>>> ACPI power resource involved in its power management. > >>>>>>>> ... > >>>> I don't understand all that's going on here, but I applied it to > >>>> pci/pm for v5.19, thanks! > >>> Thank you! > >> > >> Sorry, but this made me wonder: why v5.19? It's a regression exposed in > >> v5.15, so it afaics would be good to get this in this cycle -- and also > >> backported to v5.15.y, but it seem a tag to take care of that is > >> missing. :-/ I moved it to for-linus for v5.18 and added a stable tag for v5.15+.