Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1216990lql; Tue, 12 Mar 2024 10:21:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX4u2mEhrGqFzzHuRC21cb6eWTmrvRLb0MF1PqfJ7tN7z6vayGcERRN7nnpf8GF1kwQqZpEQZJIjRsfYYcTgU4sxHIXgAxS77sOeUiEwg== X-Google-Smtp-Source: AGHT+IF8vItJX1nlqHFUdmDeoXd6gtZ/UfsSxD9sxxkKiG8zH3aL79xdSKiy55WHhmhdWrMNZBsI X-Received: by 2002:a17:902:b58d:b0:1dd:ae5b:86f1 with SMTP id a13-20020a170902b58d00b001ddae5b86f1mr955553pls.29.1710264108924; Tue, 12 Mar 2024 10:21:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710264108; cv=pass; d=google.com; s=arc-20160816; b=ngACaOeMfW6cb/3/e3IAX0cc5pjp5L4n0fbdZWoSfLc6ZoQjWL9lZRrZztIBimpofS eHkDrh/mARJegnsJWDMD0oTVIMQQmiOcUI90HPute5IH8pkcHEXvQFaxfgToaQORKIN1 tcl0khNpUabgaz2i7dvx3aqUUWaGvX5zK1G4wW76wMxqkn8pvSIlaI7O/s3tSdgY4Ab7 3FUUsq4vRIVhHBExLkTX51sk+cpsNfV3sGQwFXKbAsYNM0I625n+aZ40j6IN3WVEGoHH yMDGn1eSgnBG99hwGnloS5F7QPoGVEyRZQB5PECtRsdGtkuC6rNje+2dsx/p23TqFPyR u0lQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:subject:cc:to:from:date:dkim-signature; bh=KmdhCXaH8bfS89jzopCNbqaypava4UzdFiOqPSsnM+0=; fh=gfjUwX2JbnFIPz/dn+TqW1B9tCseC3rKGjvw0G0Y6tI=; b=EpP7NpV2soGYUbqT5rprgogHdmnEFVsa5+l6lKsU+iRrlg77jt2LS9r6JDcL5Hi52G dIklH2Bi0cBFG9a14WnfitIOjLHVltwFz3rb489jWONdNLsNCGk4WszrQAfsm60l587v OhnoRfaxn0UyL4QzsBep88FvILM8VGHcEvxLYDOn5ncVaLkC/BMiCWtRueapsp/BrP84 LVTcvD/zS+niAR2kmHzA+19tA+M0Sh9MmNiwk7a9FG7hHGqn+BD2wyPNvfFXG+VusrVF wevj8NH/eJ0z2tvhflwrtL5kI4qSfRrF27CVVnGnLET/DgucJmkPgKiipyV051TKqJ2U dvgg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=devtnbWI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-100580-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100580-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id u4-20020a170902e80400b001ddc93c5cf5si325611plg.111.2024.03.12.10.21.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 10:21:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-100580-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=devtnbWI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-100580-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100580-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 7F5A3B23BB6 for ; Tue, 12 Mar 2024 17:10:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2244E1384B4; Tue, 12 Mar 2024 17:09:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="devtnbWI" 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 455921272D0; Tue, 12 Mar 2024 17:09:10 +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=1710263351; cv=none; b=NW/jP4q9m0LDcXbXMLwiScKhcMg3ZP+fquhNrQiohglKLJjW174N1HRsIyDuMkykPJ0/fXggvxhUOk/UccuJDvjgFaR/jsKAOWc4dV2Lfdm5Lsxv3eg9VfR+pO+XR1+MsXiMGX3jCUtW4oBa8lAymTjoU15iBYm8x1BGGvEV/sw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710263351; c=relaxed/simple; bh=1jA03QW9AFvjOJhcOZGMu3kdX8qPXMuBJ+eiBAtPS+E=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=mhX4MLcIndNk/mv1SbHhIzbQikqX1vFaqKealJLRLAlTWdcP8QGTdiNj0ZjWNV+6uhUv/YvTaBxGUoo71vvpyCZm0DhjbQeI13TuVmbfwIov7rdvrQetQjko+Y2s2P8jLrNVso4X9zzX2Lepdzh7fwjyMPw0626ke/L4kDrEj+c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=devtnbWI; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 850A7C433C7; Tue, 12 Mar 2024 17:09:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710263350; bh=1jA03QW9AFvjOJhcOZGMu3kdX8qPXMuBJ+eiBAtPS+E=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=devtnbWIbz3pDe7o6Lbc2wO3rFU/mFmuDdiTUvzYqeZJw6u137ySWznv+7MZDpzTD +6zQeww9Q7QvoxDwiLFPz11TGqhQIyOs4+WIJwOpqQtIv6id4Kao0fhICZGe7fs4Bd v0kwC5USz1HceWiDRA3+FQ7feHsnQ+GLdZb5uHXo4bg25UwhQyYMTTgO6xKpcMKweC KONQZNlMp5kNQkALF2ufFmfAJm/d34XAKgBsTR8Nt5OiecSxP/PUJF+PaS1GCmtdCA 0lH5DtiZbEcOsJbPt4i4po2FD+Ru175iQuz32Ie0YX7VaivcvKvWvELIkCo01UooBX olwsB3zz4cqIg== Date: Tue, 12 Mar 2024 12:09:08 -0500 From: Bjorn Helgaas To: "tasev.stefanoska" Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Mika Westerberg , "David E . Box" , Ilpo =?utf-8?B?SsOkcnZpbmVu?= , "Rafael J . Wysocki" , 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: <20240312170908.GA851847@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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <482b5ee6-5581-4e57-8ca3-8aec0d974c6d@skynet.be> On Tue, Mar 12, 2024 at 06:03:21PM +0100, tasev.stefanoska wrote: > Le 7/03/24 à 23:25, Bjorn Helgaas a écrit : > > 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 > > I just tested the patch v7 from Bjorn, it works on my Asus UX305FA. > Tested on kernel v6.8-rc1. Thank you very much! I added the following to the "PCI/ASPM: Save L1 PM Substates Capability for suspend/resume" patch: Tested-by: Tasev Nikola # Asus UX305FA