Centos-kernel-stream-9/drivers/pci/controller
Myron Stowe aa818221c0 PCI: vmd: Set devices to D0 before enabling PM L1 Substates
JIRA: https://issues.redhat.com/browse/RHEL-47438
Upstream Status: d66041063192497a4a97d21dbf86b79a03a7f4fb

commit d66041063192497a4a97d21dbf86b79a03a7f4fb
Author: Jian-Hong Pan <jhp@endlessos.org>
Date:   Tue Oct 1 16:34:38 2024 +0800

    PCI: vmd: Set devices to D0 before enabling PM L1 Substates

    The remapped PCIe Root Port and the child device have PM L1 Substates
    capability, but they are disabled originally.

    Here is a failed example on ASUS B1400CEAE:

      Capabilities: [900 v1] L1 PM Substates
            L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1- ASPM_L1.2+ ASPM_L1.1- L1_PM_Substates+
                      PortCommonModeRestoreTime=32us PortTPowerOnTime=10us
            L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2+ ASPM_L1.1-
                       T_CommonMode=0us LTR1.2_Threshold=101376ns
            L1SubCtl2: T_PwrOn=50us

    Enable PCI-PM L1 PM Substates for devices below VMD while they are in D0
    (see PCIe r6.0, sec 5.5.4).

    Link: https://lore.kernel.org/r/20241001083438.10070-4-jhp@endlessos.org
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=218394
    Signed-off-by: Jian-Hong Pan <jhp@endlessos.org>
    Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
    Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>

Signed-off-by: Myron Stowe <mstowe@redhat.com>
2025-03-08 12:08:16 -07:00
..
cadence PCI: j721e: Deassert PERST# after a delay of PCIE_T_PVPERL_MS milliseconds 2025-02-18 09:48:10 -07:00
dwc PCI: qcom: Update ICC and OPP values after Link Up event 2025-02-18 10:00:49 -07:00
mobiveil PCI: mobiveil: Silence 'set affinity failed' warning 2025-02-18 09:48:09 -07:00
Kconfig PCI: mediatek-gen3: Add Airoha EN7581 support 2025-02-18 09:48:09 -07:00
Makefile
pci-aardvark.c PCI: aardvark: Silence 'set affinity failed' warning 2025-02-18 09:48:09 -07:00
pci-ftpci100.c
pci-host-common.c PCI: controller: Add missing MODULE_DESCRIPTION() macros 2024-10-05 10:59:20 -06:00
pci-host-generic.c PCI: controller: Add missing MODULE_DESCRIPTION() macros 2024-10-05 10:59:20 -06:00
pci-hyperv-intf.c
pci-hyperv.c
pci-ixp4xx.c
pci-loongson.c PCI: loongson: Enable MSI in LS7A Root Complex 2024-10-01 13:25:35 -06:00
pci-mvebu.c
pci-rcar-gen2.c
pci-tegra.c PCI: tegra: Silence 'set affinity failed' warning 2025-02-18 09:48:09 -07:00
pci-thunder-ecam.c
pci-thunder-pem.c
pci-v3-semi.c
pci-versatile.c
pci-xgene-msi.c
pci-xgene.c PCI: Rename CRS Completion Status to RRS 2025-02-17 12:01:29 -07:00
pcie-altera-msi.c PCI: altera-msi: Silence 'set affinity failed' warning 2025-02-18 09:48:09 -07:00
pcie-altera.c PCI: altera: Replace TLP_REQ_ID() with macro PCI_DEVID() 2025-02-18 09:48:09 -07:00
pcie-brcmstb.c PCI: brcmstb: Sort enums, pcie_offsets[], pcie_cfg_data, .compatible strings 2025-02-18 09:48:09 -07:00
pcie-hisi-error.c
pcie-iproc-bcma.c
pcie-iproc-msi.c
pcie-iproc-platform.c
pcie-iproc.c PCI: Rename CRS Completion Status to RRS 2025-02-17 12:01:29 -07:00
pcie-iproc.h
pcie-mediatek-gen3.c PCI: mediatek-gen3: Add Airoha EN7581 support 2025-02-18 09:48:09 -07:00
pcie-mediatek.c PCI: mediatek: Drop excess mtk_pcie.mem kerneldoc description 2025-02-18 09:48:09 -07:00
pcie-microchip-host.c
pcie-mt7621.c PCI: controller: Add missing MODULE_DESCRIPTION() macros 2024-10-05 10:59:20 -06:00
pcie-rcar-ep.c
pcie-rcar-host.c PCI: rcar-host: Silence 'set affinity failed' warning 2025-02-18 09:48:09 -07:00
pcie-rcar.c
pcie-rcar.h
pcie-rockchip-ep.c
pcie-rockchip-host.c PCI: rockchip-host: Wait 100ms after reset before starting configuration 2024-10-05 10:59:18 -06:00
pcie-rockchip.c PCI: rockchip: Use GPIOD_OUT_LOW flag while requesting ep_gpio 2024-10-05 10:59:18 -06:00
pcie-rockchip.h
pcie-xilinx-common.h
pcie-xilinx-cpm.c
pcie-xilinx-nwl.c PCI: xilinx-nwl: Add PHY support 2025-02-18 09:48:10 -07:00
pcie-xilinx.c PCI: xilinx: Silence 'set affinity failed' warning 2025-02-18 09:48:09 -07:00
vmd.c PCI: vmd: Set devices to D0 before enabling PM L1 Substates 2025-03-08 12:08:16 -07:00