Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp189125lqc; Thu, 7 Mar 2024 14:26:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXde+ZD7hT6nbicBidK8z3EG53j/z4gxWuifhJkDXE0qeHElN9AkvMvCIhkkY1K8vwm2taD15w2sf0LOqS0DNwnrKCDZVHWkuKt9dQnYQ== X-Google-Smtp-Source: AGHT+IEbGI/dBNe/FEie1mmrE4m6EIejJztdNk9yXctrige6EayH63Ds8hXaScskpMoPHFWgU3Ec X-Received: by 2002:a0c:e6c4:0:b0:690:1705:5135 with SMTP id l4-20020a0ce6c4000000b0069017055135mr9039495qvn.30.1709850388280; Thu, 07 Mar 2024 14:26:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709850388; cv=pass; d=google.com; s=arc-20160816; b=PQUHGVLka4Yj1THi1/PeJ3T8jZVcU67OSIfwXH/4aaTjjSNyvOYUicTcg8czVh6j6q 8QJKh8ni6EwWchoOcyEWGwftQvtDbWOnNZzTF1m5aJa64yuu1TP1WFhsNVSOqEaozucD r4BTnfSnjRvI0Iqb2Wfxww7FqDhgfzZsdTrr5S6p42gN6xYzr0pPzBoPb8hrH+Ntc+zm JeM/8IJp5iY9HOaHtBcovo0SaBrbdSqcHubKL6QqsTpA+GIL1fb2IimiGIOjqHYdljrl LwSS3lW5ts+tOFIRg9FQR7yHU671tvZXnB81HJsQh2xPs7r+ymhvFml++D0YSG94gSv4 pM9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:subject:cc:to:from :date:dkim-signature; bh=Ob+Q15w0SPxfLfuu5Z3aQ7Pao/QwVOldubtbtDIsKAA=; fh=Z772pBncRVsM43V2a+pv3iUtQ8IoAom1ZbAod437be4=; b=YU53/PyPxb4VIO2U/3yWFMZbjCmb7Mq66olCIvM7H4vl8FdL8uiLMeIvzjDbgYkokz gNSA5fOLAdWIaZ/bSAT58KupCIuVG+uHpL4Xd0VDnZokJgo2msrlsBCHvwVj5C30u6Dd tZEZNo/5GGPN9z1fMkxCpvNGvRPjTRegQ1aSi+saG6XWq+Z5Arhia0dCTdtzJ/TvOYBE +s1Y1q+oWOj75OwkynFFfW9alPFIkfbktT2H8MXNHoLNluqWpCuFbEi1lXs7P9tTtCyn b0uZMsKXpFLr5ypSxkypAj7KHJc3V1RrbNZC0iwpyqtz6CDo319sOW9K3NRzHSNfsLFj Bz4g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ccTGVKEM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-96322-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96322-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h2-20020a0562140da200b0068ff18d776asi17188569qvh.296.2024.03.07.14.26.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 14:26:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-96322-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ccTGVKEM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-96322-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96322-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7DA571C2193D for ; Thu, 7 Mar 2024 22:25:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4737C13BAEF; Thu, 7 Mar 2024 22:25:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ccTGVKEM" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7065713E7F4; Thu, 7 Mar 2024 22:25:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709850348; cv=none; b=kz2XL4e1lSIPuBgMIZBCYcxJLzuDufGz/OHGs8dHxllxysfZVHA+AtwpNYax1mhBLR1YHGdCJbcg6z6RHt/ThnhnTqNEPZUwnR60lrwKasoo3VQBg17uFTRCVfpHLSkMRqb0zPwVM8xuFgey166oNoj6zBARYVont/9cFyF2v2w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709850348; c=relaxed/simple; bh=TOXR+EDXAVd4J1XWgqy4st5avJH4c6BcdZwNi55Vyr4=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=BiArEPSW5OvezEOKwy8Grq1BODdHLU5+jMkczBYBcMcwRx9EjZoOSGEJCNfGYqQ1m1jlzQJsSwzF3dbyd6Ay+BVz08BmVWpLC7dMMuDz0nghLrSqMNQv8c0Y3xobn1AAZ5aAPbHpT/zkAqL3v/+cSC+WYTg641Y29vfAZOjwVMM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ccTGVKEM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87CB7C433C7; Thu, 7 Mar 2024 22:25:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709850347; bh=TOXR+EDXAVd4J1XWgqy4st5avJH4c6BcdZwNi55Vyr4=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=ccTGVKEMPay0KoRXj5r8JTMwSPADQfp0xosy8gfOZAmLigE76OlZGlKJAb4QooJHf uUYll1ow3BHPFx0IQSSQdYH974FqLMwJPf/2fwcPRCQe74ef6uEcykyrAtwUBXqRH/ R893hlTWMmx+QCxwz/ynYkh/sA5D3pCVNE67YDvs9RhNBa52XtKqu10kC65SRCAI6n RxuhWZFn5AxGHY4gQjXenJQfpRumgFVGUz8VjGDZsdaZFSS0BUqnep43D27sX39VKx XxTGeGoadR17ZsVvSvwHvjUVYJ6OJkmv+nr9eKKL5FvUEXkcP3FTJmzRiOmjpiwa5n R3GIKxHtKaHDQ== Date: Thu, 7 Mar 2024 16:25:45 -0600 From: Bjorn Helgaas To: linux-pci@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Mika Westerberg , "David E . Box" , Ilpo =?utf-8?B?SsOkcnZpbmVu?= , "Rafael J . Wysocki" , Tasev Nikola , Mark Enriquez , Thomas Witt , Werner Sembach , Vidya Sagar , Kai-Heng Feng , Kuppuswamy Sathyanarayanan , Ricky Wu , Mario Limonciello , Bjorn Helgaas , Koba Ko Subject: Re: [PATCH v7 0/5] PCI/ASPM: Save/restore L1 PM Substates for suspend/resume Message-ID: <20240307222545.GA655965@bhelgaas> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240305214656.GA550701@bhelgaas> [+cc Koba Ko] On Tue, Mar 05, 2024 at 03:46:56PM -0600, Bjorn Helgaas wrote: > On Fri, Feb 23, 2024 at 02:58:46PM -0600, Bjorn Helgaas wrote: > > From: Bjorn Helgaas > > > > This is some rework of David's series to preserve ASPM L1 substate > > configuration across suspend/resume. > > ... > > David E. Box (5): > > PCI/ASPM: Move pci_configure_ltr() to aspm.c > > PCI/ASPM: Always build aspm.c > > PCI/ASPM: Move pci_save_ltr_state() to aspm.c > > PCI/ASPM: Save L1 PM Substates Capability for suspend/resume > > PCI/ASPM: Call pci_save_ltr_state() from pci_save_pcie_state() > > > > drivers/pci/pci.c | 89 ++++------------ > > drivers/pci/pci.h | 13 ++- > > drivers/pci/pcie/Makefile | 2 +- > > drivers/pci/pcie/aspm.c | 215 ++++++++++++++++++++++++++++++++++++++ > > drivers/pci/probe.c | 62 +---------- > > include/linux/pci.h | 2 +- > > 6 files changed, 252 insertions(+), 131 deletions(-) > > I applied these as pci/aspm for v6.9, replacing the original unlabeled > v6 that has been in -next. Would anybody be able to test this, particularly to make sure it works for the bugs we're claiming to fix with this series? https://bugzilla.kernel.org/show_bug.cgi?id=217321 https://bugzilla.kernel.org/show_bug.cgi?id=216782 https://bugzilla.kernel.org/show_bug.cgi?id=216877 This series is headed for v6.9, and I hope we can finally claim victory over these issues. This is in -next as of the Mar 7 tree. Or if you want just the ASPM changes, based on v6.8-rc1, you can use the branch at https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git/log/?h=aspm Bjorn