ACK/Cmnt: [SRU] [L/M/Unstable] [PATCH 0/9] Enable ASPM for NVMe behind VMD

Stefan Bader stefan.bader at canonical.com
Thu Sep 7 07:45:10 UTC 2023


On 06.09.23 09:54, Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/2034504
> 
> [Impact]
> ASPM of NVMe behind VMD is not enabled when BIOS FADT doesn't allow ASPM
> to be modified.
> That causes higher overall power consumption.
> 
> [Fix]
> Allow ASPM to be enabled.
> While at this, remove old cruft that can interfere upstream VMD driver.
> 
> [Test]
> Check the value of `/sys/kernel/debug/pmc_core/slp_s0_residency_usec`.
> Now system can reach deepest power saving state during sleep.
> 
> [Where problems could occur]
> Some NVMe may have I/O issue when ASPM is enabled. But for this scenario
> the issue will also appear when VMD is disabled.
> 
> David E. Box (3):
>    PCI: vmd: Use PCI_VDEVICE in device list
>    PCI: vmd: Create feature grouping for client products
>    PCI: vmd: Add quirk to configure PCIe ASPM and LTR
> 
> Kai-Heng Feng (5):
>    Revert "UBUNTU: SAUCE: vmd: fixup bridge ASPM by driver name instead"
>    Revert "UBUNTU: SAUCE: PCI/ASPM: Enable LTR for endpoints behind VMD"
>    Revert "UBUNTU: SAUCE: PCI/ASPM: Enable ASPM for links under VMD
>      domain"
>    UBUNTU: SAUCE: PCI/ASPM: Allow ASPM override over FADT default
>    UBUNTU: SAUCE: PCI: vmd: Mark ASPM override for device behind VMD
>      bridge
> 
> Michael Bottini (1):
>    PCI/ASPM: Add pci_enable_link_state()
> 
>   drivers/pci/controller/vmd.c | 100 ++++++++++++++++++++++++++---------
>   drivers/pci/pcie/aspm.c      |  54 +++++++++++++++++++
>   drivers/pci/quirks.c         |  68 ------------------------
>   include/linux/pci.h          |   7 +++
>   4 files changed, 135 insertions(+), 94 deletions(-)
> 
Ok, with the outlook of ultimately replacing the 2 new SAUCE patches 
with the final upstream implementation.

Acked-by: Stefan Bader <stefan.bader at canonical.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xE8675DEECBEECEA3.asc
Type: application/pgp-keys
Size: 44613 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20230907/22031efa/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20230907/22031efa/attachment-0001.sig>


More information about the kernel-team mailing list