From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (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 6B5864685 for ; Wed, 17 Jul 2024 03:39:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=166.84.1.89 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721187586; cv=none; b=F+04f40+qQMqFrMoXfp8+7ZZjqxzdPRt9cvZ8G7Uh28jDXqZ0IUpFrKD8WrSUoM/FwvhXqgTwNll/ImlVsP1hvUfZ2SoKwZUq2Pht3wPiQE3iQg9pcmD7r+qrFBQ/lVNNXFd5Ar6qYsEenPEXFUYecqfASBojRH2dlvZu9WZOrw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721187586; c=relaxed/simple; bh=SX/xR3WRmWhY/OetGV1Sxc3ATulybCW0X2pnXJmkMC8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=cDApfVDUeATe1R0eAyOEutG/cgzTJJIgA9bkeZKBTkpbj2N+KBKzX8JPkIMMx28DjKYmeUW0ACXE4gNz0PvLc0KtU07E71uaiQ5dPxiDLjn+FnrnwpbWR5q6gDchEu9FoF+CFeyci7j/pcKONLGG+6L00iPtTDlXnXwr5Wa3Iz8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=panix.com; spf=pass smtp.mailfrom=panix.com; dkim=pass (1024-bit key) header.d=panix.com header.i=@panix.com header.b=WmEkyVr/; arc=none smtp.client-ip=166.84.1.89 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=panix.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=panix.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=panix.com header.i=@panix.com header.b="WmEkyVr/" Received: from [192.168.123.3] (kenny-tx.gotdns.com [162.196.229.233]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4WP1s41Tv0zp59; Tue, 16 Jul 2024 23:39:36 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=panix.com; s=panix; t=1721187576; bh=SX/xR3WRmWhY/OetGV1Sxc3ATulybCW0X2pnXJmkMC8=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=WmEkyVr/7uH+ZKcrzuwrpQNvMu2/Qtb90wq3QpsuJu6EEwI7ihKtnTz1rSF9vTZOv /ptKhbnMuv6MygIZBVCdeHeHPYSzXRCuiygdOgjBry4qbY8Bkxuw/LBcqnQETfHwzF M6rSNNtsk1CFPbSB86bvUNvnc0CqaZb7CzwnndUM= Message-ID: <78abaf37-774f-4bbd-945a-2432d4ace5f8@panix.com> Date: Tue, 16 Jul 2024 20:39:34 -0700 Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: My AlderLake Dell (XPS-9320) needs these patches to get full standby/low-power modes To: Kai-Heng Feng Cc: vidyas@nvidia.com, bhelgaas@google.com, andrea.righi@canonical.com, vicamo.yang@canonical.com, linux-pm@vger.kernel.org, Kenneth Crudup References: <218aa81f-9c6-5929-578d-8dc15f83dd48@panix.com> <1c6a9a8c-a6f-c884-7d58-5c713b1d77d7@panix.com> <0481ec61-3a57-4b4b-a0d8-b8b523af3f17@panix.com> Content-Language: en-US From: Kenneth Crudup In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit OK, I'll test it out. But in the meantime, I've seen this: ---- [E0] 502 /home/kenny> dmesg | fgrep -i aspm [ 0.160156] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it [ 0.591366] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI EDR HPX-Type3] [ 0.597820] acpi PNP0A08:00: FADT indicates ASPM is unsupported, using BIOS configuration [ 1.375136] pci 10000:e0:06.0: enable ASPM for pci bridge behind vmd [ 1.689608] pci 10000:e1:00.0: can't override BIOS ASPM; OS doesn't have ASPM control [16/20:19:35 kenny@xps-9320] [E0] 503 /home/kenny> ---- IOW, it doesn't appear to override ASPM but I still see power savings. Gimme a few and I'll let you know how it worked out. -K On 7/16/24 18:59, Kai-Heng Feng wrote: > Hi Kenneth, > > On Tue, Jul 16, 2024 at 2:27 AM Kenneth Crudup wrote: >> >> >> No joy yet for 6.10, so here's my patches, maybe it'll save someone some >> time (they're pretty much the same as 6.9) . >> >> Fingers crossed for 6.11! > > I forgot to Cc you when I sent the patch [0]. > > It will be great if you can test it out. > > [0] https://lore.kernel.org/linux-pci/20240530085227.91168-1-kai.heng.feng@canonical.com/ > > Kai-Heng > >> >> -Kenny >> >> On 3/21/24 03:12, Kai-Heng Feng wrote: >>> Hi Kenneth, >>> >>> On Tue, Mar 12, 2024 at 10:37 AM Kenneth R. Crudup wrote: >>>> >>>> >>>> On Sat, 4 Nov 2023, Kenneth R. Crudup wrote: >>>> >>>>> The only release kernel that was able to get this laptop to fully get into >>>>> low-power (unfortunately only s0ix) was the Ubuntu-6.2.0- ... series from Ubuntu >>>> >>>>> I'd bisected it to the following commits: >>>>> 4ff116d0d5fd PCI/ASPM: Save L1 PM Substates Capability for suspend/resume >>>>> 5e85eba6f50d PCI/ASPM: Refactor L1 PM Substates Control Register programming >>>>> 1a0102a08f20 UBUNTU: SAUCE: PCI/ASPM: Enable ASPM for links under VMD domain >>>>> 47c7bfd31514 UBUNTU: SAUCE: PCI/ASPM: Enable LTR for endpoints behind VMD >>>>> 154d48da2c57 UBUNTU: SAUCE: vmd: fixup bridge ASPM by driver name instead >>>> >>>> Since (for what I'm sure is a good reason ... I hope :) ) this has yet to make >>>> it into mainline, here's the set of commits refactored for v6.8; maybe someone >>>> scanning the archives for a solution to their Dell draining too much power can >>>> use them. >>>> >>>> But is there anything I can do to help these go in? I saw that "Refactor L1 >>>> PM Substates Control Register programming" is still reverted, is that still >>>> an issue on the machine it affected? >>> >>> Let me work on this. >>> >>> I think both VMD and Thunderbolt devices need ASPM enabled by default >>> regardless of BIOS setting, but I am not sure if PCI folks will like >>> the idea. >>> >>> Kai-Heng >>> >>>> >>>> -Kenny >>>> >>>> -- >>>> Kenneth R. Crudup / Sr. SW Engineer, Scott County Consulting, Orange County CA >>> >> >> -- >> Kenneth R. Crudup / Sr. SW Engineer, Scott County Consulting, Orange >> County CA > -- Kenneth R. Crudup / Sr. SW Engineer, Scott County Consulting, Orange County CA