Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6846653rdb; Tue, 2 Jan 2024 16:12:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IEiS5rwUw2I70edJUI4MTQt1H9EKwrJg0TmPGBb+f8ad4RzcT/50NMdHpqdJcD3glY9Pv8/ X-Received: by 2002:a17:902:e542:b0:1d4:c2a9:ad2b with SMTP id n2-20020a170902e54200b001d4c2a9ad2bmr1508818plf.34.1704240776773; Tue, 02 Jan 2024 16:12:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704240776; cv=none; d=google.com; s=arc-20160816; b=VOddgHc3P/eTzT1Z+IpNdM7mPSv+i57+5xWVRoq8ZMkUkjUFmGTCIsXSWi0jhGbhgj 0xMd9h3pCQ5BYDdFZ/5I/mc1oxS31Z1Ue+bQeHuNwbkpjT2BX3WMuECci9Xk4Va/tPAF TKX/eZDTvm78CJS0a8lN7YgtxW4K3mrIjMwUhodM9mCt+keXl84RdrG2kU2Vq+D3H5km 0E440IPyPHmSHAoDrKxQGwOBlkn7lCCCcGE04YlcGoh0Pk9P2CLyn0HCghWkBZmALIYi Bad/qv6nQfef6YNF6X4QS2x1G4xxLHIEmFApqusdUeuFQlyA937u0v5fg9wRA+28tcnw EhxQ== ARC-Message-Signature: i=1; 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=fWoovg45g4GAEp6Dc9D32bE1xEPU/UAvd/d+HY8iIR0=; fh=vv4bnbEs998L4V1Ml1VLDomOo4avlKXtvyNRagFx3Ho=; b=CtWzJbIPxvseSXyf8YG5IJ10Bx9Ey7TgrTAC3XTzQ+WsDb45TrJ5liUy0nOY7AHyKF oHiB6zIMJkMwFkjdJfOZqYRMu08rML7a/HgqGj17NhqgW6KZbLmAbPDRLIHOTAB2150e jhpiAM//qHyC1KEDQiZqiMo02Xz603B8UaIvoCfWySxV+g6EI1tUsDMzRjPKdvR/UMc5 2F8g9oXzI+m3v0d7FsiUjKVVTpBXndsreNLBupN2FE2q3KQ6Le/TUavsm5Uo9LQ8eqR1 u09MecsV3dp8k1jBssqL9CZ3WwwdNdX1o7VArPpQFW+BrHfh0JQKVTqV1ZBK4fQ3RuPq XAWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AvJqAlAB; spf=pass (google.com: domain of linux-kernel+bounces-14994-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14994-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 b9-20020a170902d50900b001d44778cc7bsi16025332plg.16.2024.01.02.16.12.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 16:12:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14994-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=AvJqAlAB; spf=pass (google.com: domain of linux-kernel+bounces-14994-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14994-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 DA5B4B22872 for ; Wed, 3 Jan 2024 00:12:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0BC8665E; Wed, 3 Jan 2024 00:12:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AvJqAlAB" X-Original-To: linux-kernel@vger.kernel.org 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 31E047E; Wed, 3 Jan 2024 00:12:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B8BFC433C7; Wed, 3 Jan 2024 00:12:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704240759; bh=rTo7bHSTZscbaOSrZrDFMXX97W0sP/G2kTdUTny+Fxc=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=AvJqAlABGx6tTO9tTTIkN+baamjM3G24G2UXDCrNuty4jx95zxXWVJXB3xBP5z2f2 AgDmNft0zn+kkdyIxnMRgPCuPfeg1b0uq9g1pfcF/WMHb2S5cEH0CW+6E4LVfkJpic jxylJXJ1JyDQUn1cUCfZq6BeSQrD09wCvysgOV3VC4g8NO+Z+BvTuR28NHiiOzWiAP w8TYRjO58QThStISLzZGmfwdphJPBKYm6B/RNEHyjAcbJfuexKYqcCHGl0QgHzquFP 0qxtlUfch2fESz3mmtylXmlM3hzZVZPEsYXeRrf9cDCfB+MuIwgS5jOICKjHZ4lEXk GvnehWXu6GBmw== Date: Tue, 2 Jan 2024 18:12:37 -0600 From: Bjorn Helgaas To: Kuppuswamy Sathyanarayanan Cc: Michael Schaller , Kai-Heng Feng , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, regressions@lists.linux.dev, "Maciej W . Rozycki" , Ajay Agarwal , Greg Kroah-Hartman , Heiner Kallweit , Johan Hovold , Bjorn Helgaas , stable@vger.kernel.org Subject: Re: [PATCH] Revert "PCI/ASPM: Remove pcie_aspm_pm_state_change()" Message-ID: <20240103001237.GA1755171@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: <20cd835e-f84c-4c43-812e-6706f7266150@linux.intel.com> On Tue, Jan 02, 2024 at 03:33:51PM -0800, Kuppuswamy Sathyanarayanan wrote: > On 1/2/2024 3:25 PM, Bjorn Helgaas wrote: > > From: Bjorn Helgaas > > > > This reverts commit 08d0cc5f34265d1a1e3031f319f594bd1970976c. > > > > Michael reported that when attempting to resume from suspend to RAM on ASUS > > mini PC PN51-BB757MDE1 (DMI model: MINIPC PN51-E1), 08d0cc5f3426 > > ("PCI/ASPM: Remove pcie_aspm_pm_state_change()") caused a 12-second delay > > with no output, followed by a reboot. > > > > Workarounds include: > > > > - Reverting 08d0cc5f3426 ("PCI/ASPM: Remove pcie_aspm_pm_state_change()") > > - Booting with "pcie_aspm=off" > > - Booting with "pcie_aspm.policy=performance" > > - "echo 0 | sudo tee /sys/bus/pci/devices/0000:03:00.0/link/l1_aspm" > > before suspending > > - Connecting a USB flash drive > > Did you find the root cause? Is this issue specific to that particular > device? If yes, can we do a quirk? Unfortunately we don't know the root cause yet. Without knowing the root cause, I don't think we can make a good quirk. Bjorn