.../bindings/pci/spacemit,k1-pcie-host.yaml | 157 ++++ .../bindings/phy/spacemit,k1-combo-phy.yaml | 114 +++ .../bindings/phy/spacemit,k1-pcie-phy.yaml | 71 ++ .../boot/dts/spacemit/k1-bananapi-f3.dts | 44 ++ arch/riscv/boot/dts/spacemit/k1-pinctrl.dtsi | 33 + arch/riscv/boot/dts/spacemit/k1.dtsi | 176 +++++ drivers/pci/controller/dwc/Kconfig | 13 + drivers/pci/controller/dwc/Makefile | 1 + drivers/pci/controller/dwc/pcie-spacemit-k1.c | 353 +++++++++ drivers/phy/Kconfig | 11 + drivers/phy/Makefile | 1 + drivers/phy/phy-spacemit-k1-pcie.c | 670 ++++++++++++++++++ 12 files changed, 1644 insertions(+) create mode 100644 Documentation/devicetree/bindings/pci/spacemit,k1-pcie-host.yaml create mode 100644 Documentation/devicetree/bindings/phy/spacemit,k1-combo-phy.yaml create mode 100644 Documentation/devicetree/bindings/phy/spacemit,k1-pcie-phy.yaml create mode 100644 drivers/pci/controller/dwc/pcie-spacemit-k1.c create mode 100644 drivers/phy/phy-spacemit-k1-pcie.c
This series introduces a PHY driver and a PCIe driver to support PCIe
on the SpacemiT K1 SoC. The PCIe implementation is derived from a
Synopsys DesignWare PCIe IP. The PHY driver supports one combination
PCIe/USB PHY as well as two PCIe-only PHYs. The combo PHY port uses
one PCIe lane, and the other two ports each have two lanes. All PCIe
ports operate at 5 GT/second.
The PCIe PHYs must be configured using a value that can only be
determined using the combo PHY, operating in PCIe mode. To allow
that PHY to be used for USB, the needed calibration step is performed
by the PHY driver automatically at probe time. Once this step is done,
the PHY can be used for either PCIe or USB.
This initial version of the driver supports 32 MSIs, and does not
support PCI INTx interrupts. The hardware does not support MSI-X.
Version 5 of this series incorporates suggestions made during the
review of version 4. Specific highlights are detailed below.
Note:
Aurelien Jarno and Johannes Erdfelt have reported seeing ASPM errors
accessing NVMe drives when using earlier versions of this series.
The Kconfig files they used were very different from the RISC-V
default configuration.
Aurelien has since reported the errors do not occur when using
defconfig. Johannes has not reported back about this.
I do not claim these issues are resolved, however this version
of the series does address all other feedback received to date.
-Alex
This series is available here:
https://github.com/riscstar/linux/tree/outgoing/pcie-v5
Between version 3 and version 4:
- Clarify that INTx interrupts are not currently supported
- Add Rob Herring's Reviewed-by on patch 3
- The name of the PCIe root port will always begin with "pcie"
- Lines in the bindings are now wrapped at 80 columns
- Subject lines are all captialized (after subsystem tags)
- Place the PCIe Kconfig option in the proper location based on
vendor name (not Kconfig symbol); expand its description
- Drop two PCIe controller Kconfig dependencies
- Use dw_pcie_readl_dbi() and dw_pcie_writel_dbi() when turning
off ASPM L1
- The dw_pcie_host_ops->init callback has been rearranged a bit:
- The vendor and device IDs are now set early
- PERST# is asserted separate from putting the controller in RC mode
and indicating power is detected
- phy_init() is now called later, just before deasserting PERST#
- Because of timing issues involved in having the root port enable power,
getting and enabling the regulator is back to being done in the PCIe
controller probe function
- The regulator definition is moved back to the PCIe controller DT node,
out of the root port sub-node (in "k1-bananapi-f3.dts")
Here is version 4 of this series:
https://lore.kernel.org/lkml/20251030220259.1063792-1-elder@riscstar.com/
Between version 3 and version 4:
- In the DT binding for the PCIe host controlloller, add a new
sub-node representing the root port
- Move the phys and supply properties out of the PCIe host controller
and into the root port node
- Define the spacemit,apmu property later in the binding and DTS files
- Define the device_type property first in the binding examples and
DTS files
- Add root port sub-nodes in the examples and the DTS files
- Select the PCI_PWRCTRL_SLOT config option when PCIE_SPACEMIT_K1 is
enabled
- Parse the root port node in the driver, and get the PHY
- Leverage the PCI pwrctrl slot driver to get and enable the regulator
- Don't set num_vectors to 256; just use the default (32)
- Cleaned up some comments, white space, and symbol names based on
feedback from Mani
- Add some runtime PM calls to ensure it works propertly
- Add a new post_init callback, which disables ASPM L1 for the link
Here is version 3 of this series:
https://lore.kernel.org/lkml/20251017190740.306780-1-elder@riscstar.com/
Between version 2 and version 3:
- Reviewed-by from Rob added to the first two patches
- The "num-viewport" property has been removed
- The "phy" reset is listed first in the combo PHY binding
- The PHY now requires a resets property to specify the "phy" reset
- The PCIe driver no longer requires a "phy" reset
- The PHY driver now gets and deasserts the reset for all PHYs
- Error handling and "put" of clocks in the PHY driver has been
corrected (for clk_bulk_get() rather than clk_bulk_get_all())
Here is version 2 of this series:
https://lore.kernel.org/lkml/20251013153526.2276556-1-elder@riscstar.com/
Alex Elder (7):
dt-bindings: phy: spacemit: Add SpacemiT PCIe/combo PHY
dt-bindings: phy: spacemit: Introduce PCIe PHY
dt-bindings: pci: spacemit: Introduce PCIe host controller
phy: spacemit: Introduce PCIe/combo PHY
PCI: spacemit: Add SpacemiT PCIe host driver
riscv: dts: spacemit: Add a PCIe regulator
riscv: dts: spacemit: PCIe and PHY-related updates
.../bindings/pci/spacemit,k1-pcie-host.yaml | 157 ++++
.../bindings/phy/spacemit,k1-combo-phy.yaml | 114 +++
.../bindings/phy/spacemit,k1-pcie-phy.yaml | 71 ++
.../boot/dts/spacemit/k1-bananapi-f3.dts | 44 ++
arch/riscv/boot/dts/spacemit/k1-pinctrl.dtsi | 33 +
arch/riscv/boot/dts/spacemit/k1.dtsi | 176 +++++
drivers/pci/controller/dwc/Kconfig | 13 +
drivers/pci/controller/dwc/Makefile | 1 +
drivers/pci/controller/dwc/pcie-spacemit-k1.c | 353 +++++++++
drivers/phy/Kconfig | 11 +
drivers/phy/Makefile | 1 +
drivers/phy/phy-spacemit-k1-pcie.c | 670 ++++++++++++++++++
12 files changed, 1644 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pci/spacemit,k1-pcie-host.yaml
create mode 100644 Documentation/devicetree/bindings/phy/spacemit,k1-combo-phy.yaml
create mode 100644 Documentation/devicetree/bindings/phy/spacemit,k1-pcie-phy.yaml
create mode 100644 drivers/pci/controller/dwc/pcie-spacemit-k1.c
create mode 100644 drivers/phy/phy-spacemit-k1-pcie.c
base-commit: 9c0826a5d9aa4d52206dd89976858457a2a8a7ed
--
2.48.1
Hi Alex, Thanks for this new version. On 2025-11-07 13:15, Alex Elder wrote: > This series introduces a PHY driver and a PCIe driver to support PCIe > on the SpacemiT K1 SoC. The PCIe implementation is derived from a > Synopsys DesignWare PCIe IP. The PHY driver supports one combination > PCIe/USB PHY as well as two PCIe-only PHYs. The combo PHY port uses > one PCIe lane, and the other two ports each have two lanes. All PCIe > ports operate at 5 GT/second. > > The PCIe PHYs must be configured using a value that can only be > determined using the combo PHY, operating in PCIe mode. To allow > that PHY to be used for USB, the needed calibration step is performed > by the PHY driver automatically at probe time. Once this step is done, > the PHY can be used for either PCIe or USB. > > This initial version of the driver supports 32 MSIs, and does not > support PCI INTx interrupts. The hardware does not support MSI-X. > > Version 5 of this series incorporates suggestions made during the > review of version 4. Specific highlights are detailed below. > > Note: > Aurelien Jarno and Johannes Erdfelt have reported seeing ASPM errors > accessing NVMe drives when using earlier versions of this series. > The Kconfig files they used were very different from the RISC-V > default configuration. > > Aurelien has since reported the errors do not occur when using > defconfig. Johannes has not reported back about this. Unfortunately, while it is true with v4, this is not the case with v5 anymore :( Fundamentally in the generic designware driver, post_init (which is used to disable L1 support on the controller side) is called after starting the link. The comparison of the capabilities is done in pcie_aspm_cap_init when the link is up, which happens a tiny bit after starting it. In practice with v4, the link is started, ASPM L1 is disabled and the link becomes up. With v5, the move of the code getting and enabling the regulator changed the timing, and ASPM L1 is now disabled on the controller 2-3 ms after the link is up, which is too late. I have added a call to pci_info to display the moment where ASPM is disabled. This is without the regulator change: [ 0.386730] spacemit-k1-pcie ca400000.pcie: host bridge /soc/pcie-bus/pcie@ca400000 ranges: [ 0.386970] spacemit-k1-pcie ca800000.pcie: host bridge /soc/pcie-bus/pcie@ca800000 ranges: [ 0.387017] spacemit-k1-pcie ca800000.pcie: IO 0x00b7002000..0x00b7101fff -> 0x0000000000 [ 0.387047] spacemit-k1-pcie ca800000.pcie: MEM 0x00a0000000..0x00afffffff -> 0x00a0000000 [ 0.387062] spacemit-k1-pcie ca800000.pcie: MEM 0x00b0000000..0x00b6ffffff -> 0x00b0000000 [ 0.400109] spacemit-k1-pcie ca400000.pcie: IO 0x009f002000..0x009f101fff -> 0x0000000000 [ 0.490101] spacemit-k1-pcie ca800000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 4G [ 0.494195] spacemit-k1-pcie ca400000.pcie: MEM 0x0090000000..0x009effffff -> 0x0090000000 [ 0.850344] spacemit-k1-pcie ca400000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 4G [ 0.950133] spacemit-k1-pcie ca400000.pcie: PCIe Gen.1 x2 link up [ 1.129988] spacemit-k1-pcie ca400000.pcie: PCI host bridge to bus 0000:00 [ 1.335482] pci_bus 0000:00: root bus resource [bus 00-ff] [ 1.340946] pci_bus 0000:00: root bus resource [io 0x100000-0x1fffff] (bus address [0x0000-0xfffff]) [ 1.350181] pci_bus 0000:00: root bus resource [mem 0x90000000-0x9effffff] [ 1.358734] pci_bus 0000:00: resource 4 [io 0x100000-0x1fffff] [ 1.362033] pci_bus 0000:00: resource 5 [mem 0x90000000-0x9effffff] [ 1.368289] spacemit-k1-pcie ca400000.pcie: pcie_aspm_override_default_link_state [ 1.375967] pci 0000:00:00.0: [1e5d:3003] type 01 class 0x060400 PCIe Root Port [ 1.383043] pci 0000:00:00.0: BAR 0 [mem 0x00000000-0x000fffff] [ 1.388927] pci 0000:00:00.0: BAR 1 [mem 0x00000000-0x000fffff] [ 1.394826] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 1.400061] pci 0000:00:00.0: bridge window [io 0x100000-0x100fff] [ 1.406460] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff] [ 1.413245] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff 64bit pref] [ 1.421012] pci 0000:00:00.0: supports D1 [ 1.424948] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold [ 1.432718] pci 0000:01:00.0: [1987:5015] type 00 class 0x010802 PCIe Endpoint [ 1.438698] pci 0000:01:00.0: BAR 0 [mem 0x00000000-0x00003fff 64bit] [ 1.445426] pci 0000:01:00.0: 4.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x2 link at 0000:00:00.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link) [ 1.464897] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 And this is with the regulator change: [ 0.410796] spacemit-k1-pcie ca400000.pcie: host bridge /soc/pcie-bus/pcie@ca400000 ranges: [ 0.410836] spacemit-k1-pcie ca800000.pcie: host bridge /soc/pcie-bus/pcie@ca800000 ranges: [ 0.410889] spacemit-k1-pcie ca800000.pcie: IO 0x00b7002000..0x00b7101fff -> 0x0000000000 [ 0.410917] spacemit-k1-pcie ca800000.pcie: MEM 0x00a0000000..0x00afffffff -> 0x00a0000000 [ 0.410932] spacemit-k1-pcie ca800000.pcie: MEM 0x00b0000000..0x00b6ffffff -> 0x00b0000000 [ 0.424651] spacemit-k1-pcie ca400000.pcie: IO 0x009f002000..0x009f101fff -> 0x0000000000 [ 0.436446] spacemit-k1-pcie ca400000.pcie: MEM 0x0090000000..0x009effffff -> 0x0090000000 [ 0.513897] spacemit-k1-pcie ca800000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 4G [ 0.559595] spacemit-k1-pcie ca400000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 4G [ 0.839412] spacemit-k1-pcie ca400000.pcie: PCIe Gen.1 x2 link up [ 0.847078] spacemit-k1-pcie ca400000.pcie: PCI host bridge to bus 0000:00 [ 0.857600] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.868702] pci_bus 0000:00: root bus resource [io 0x100000-0x1fffff] (bus address [0x0000-0xfffff]) [ 1.146409] pci_bus 0000:00: root bus resource [mem 0x90000000-0x9effffff] [ 1.373742] pci 0000:00:00.0: [1e5d:3003] type 01 class 0x060400 PCIe Root Port [ 1.380963] pci 0000:00:00.0: BAR 0 [mem 0x00000000-0x000fffff] [ 1.386883] pci 0000:00:00.0: BAR 1 [mem 0x00000000-0x000fffff] [ 1.392808] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 1.395394] pci 0000:00:00.0: bridge window [io 0x100000-0x100fff] [ 1.401811] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff] [ 1.408583] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff 64bit pref] [ 1.416354] pci 0000:00:00.0: supports D1 [ 1.420294] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold [ 1.428220] pci 0000:01:00.0: [1987:5015] type 00 class 0x010802 PCIe Endpoint [ 1.434034] pci 0000:01:00.0: BAR 0 [mem 0x00000000-0x00003fff 64bit] [ 1.440772] pci 0000:01:00.0: 4.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x2 link at 0000:00:00.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link) [ 1.463390] pci 0000:01:00.0: pcie_aspm_override_default_link_state [ 1.467000] pci 0000:01:00.0: ASPM: default states L1 [ 1.472093] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 Note how the line pcie_aspm_override_default_link_state arrives too late. Regards Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://aurel32.net
On 11/8/25 5:08 AM, Aurelien Jarno wrote: > Hi Alex, > > Thanks for this new version. > > On 2025-11-07 13:15, Alex Elder wrote: >> This series introduces a PHY driver and a PCIe driver to support PCIe >> on the SpacemiT K1 SoC. The PCIe implementation is derived from a >> Synopsys DesignWare PCIe IP. The PHY driver supports one combination >> PCIe/USB PHY as well as two PCIe-only PHYs. The combo PHY port uses >> one PCIe lane, and the other two ports each have two lanes. All PCIe >> ports operate at 5 GT/second. >> >> The PCIe PHYs must be configured using a value that can only be >> determined using the combo PHY, operating in PCIe mode. To allow >> that PHY to be used for USB, the needed calibration step is performed >> by the PHY driver automatically at probe time. Once this step is done, >> the PHY can be used for either PCIe or USB. >> >> This initial version of the driver supports 32 MSIs, and does not >> support PCI INTx interrupts. The hardware does not support MSI-X. >> >> Version 5 of this series incorporates suggestions made during the >> review of version 4. Specific highlights are detailed below. >> >> Note: >> Aurelien Jarno and Johannes Erdfelt have reported seeing ASPM errors >> accessing NVMe drives when using earlier versions of this series. >> The Kconfig files they used were very different from the RISC-V >> default configuration. >> >> Aurelien has since reported the errors do not occur when using >> defconfig. Johannes has not reported back about this. > > Unfortunately, while it is true with v4, this is not the case with v5 > anymore :( That's too bad, but thank you for reporting it. > Fundamentally in the generic designware driver, post_init (which is used > to disable L1 support on the controller side) is called after starting > the link. The comparison of the capabilities is done in > pcie_aspm_cap_init when the link is up, which happens a tiny bit after > starting it. > > In practice with v4, the link is started, ASPM L1 is disabled and the > link becomes up. With v5, the move of the code getting and enabling the > regulator changed the timing, and ASPM L1 is now disabled on the > controller 2-3 ms after the link is up, which is too late. Yes in v4, we relied on the root port driver to enable the regulator, but (on my system anyway) that happened too late, *after* the PCIe controller driver held PERST# asserted for 100 msec. PERST# is not supposed to be de-asserted until power is known to be stable. So v5 went back to having the controller get the regulator in k1_pcie_probe(). I am supposed to receive the WD Blue SN570 on Wednesday, and when I get that I'll have a chance to try to reproduce at least one of these problems, and can ensure there are no timing-related issues like this. Thank you for your continued testing and feedback about this. -Alex > I have added a call to pci_info to display the moment where ASPM is > disabled. This is without the regulator change: > > [ 0.386730] spacemit-k1-pcie ca400000.pcie: host bridge /soc/pcie-bus/pcie@ca400000 ranges: > [ 0.386970] spacemit-k1-pcie ca800000.pcie: host bridge /soc/pcie-bus/pcie@ca800000 ranges: > [ 0.387017] spacemit-k1-pcie ca800000.pcie: IO 0x00b7002000..0x00b7101fff -> 0x0000000000 > [ 0.387047] spacemit-k1-pcie ca800000.pcie: MEM 0x00a0000000..0x00afffffff -> 0x00a0000000 > [ 0.387062] spacemit-k1-pcie ca800000.pcie: MEM 0x00b0000000..0x00b6ffffff -> 0x00b0000000 > [ 0.400109] spacemit-k1-pcie ca400000.pcie: IO 0x009f002000..0x009f101fff -> 0x0000000000 > [ 0.490101] spacemit-k1-pcie ca800000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 4G > [ 0.494195] spacemit-k1-pcie ca400000.pcie: MEM 0x0090000000..0x009effffff -> 0x0090000000 > [ 0.850344] spacemit-k1-pcie ca400000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 4G > [ 0.950133] spacemit-k1-pcie ca400000.pcie: PCIe Gen.1 x2 link up > [ 1.129988] spacemit-k1-pcie ca400000.pcie: PCI host bridge to bus 0000:00 > [ 1.335482] pci_bus 0000:00: root bus resource [bus 00-ff] > [ 1.340946] pci_bus 0000:00: root bus resource [io 0x100000-0x1fffff] (bus address [0x0000-0xfffff]) > [ 1.350181] pci_bus 0000:00: root bus resource [mem 0x90000000-0x9effffff] > [ 1.358734] pci_bus 0000:00: resource 4 [io 0x100000-0x1fffff] > [ 1.362033] pci_bus 0000:00: resource 5 [mem 0x90000000-0x9effffff] > [ 1.368289] spacemit-k1-pcie ca400000.pcie: pcie_aspm_override_default_link_state > [ 1.375967] pci 0000:00:00.0: [1e5d:3003] type 01 class 0x060400 PCIe Root Port > [ 1.383043] pci 0000:00:00.0: BAR 0 [mem 0x00000000-0x000fffff] > [ 1.388927] pci 0000:00:00.0: BAR 1 [mem 0x00000000-0x000fffff] > [ 1.394826] pci 0000:00:00.0: PCI bridge to [bus 01-ff] > [ 1.400061] pci 0000:00:00.0: bridge window [io 0x100000-0x100fff] > [ 1.406460] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff] > [ 1.413245] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff 64bit pref] > [ 1.421012] pci 0000:00:00.0: supports D1 > [ 1.424948] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold > [ 1.432718] pci 0000:01:00.0: [1987:5015] type 00 class 0x010802 PCIe Endpoint > [ 1.438698] pci 0000:01:00.0: BAR 0 [mem 0x00000000-0x00003fff 64bit] > [ 1.445426] pci 0000:01:00.0: 4.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x2 link at 0000:00:00.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link) > [ 1.464897] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 > > And this is with the regulator change: > > [ 0.410796] spacemit-k1-pcie ca400000.pcie: host bridge /soc/pcie-bus/pcie@ca400000 ranges: > [ 0.410836] spacemit-k1-pcie ca800000.pcie: host bridge /soc/pcie-bus/pcie@ca800000 ranges: > [ 0.410889] spacemit-k1-pcie ca800000.pcie: IO 0x00b7002000..0x00b7101fff -> 0x0000000000 > [ 0.410917] spacemit-k1-pcie ca800000.pcie: MEM 0x00a0000000..0x00afffffff -> 0x00a0000000 > [ 0.410932] spacemit-k1-pcie ca800000.pcie: MEM 0x00b0000000..0x00b6ffffff -> 0x00b0000000 > [ 0.424651] spacemit-k1-pcie ca400000.pcie: IO 0x009f002000..0x009f101fff -> 0x0000000000 > [ 0.436446] spacemit-k1-pcie ca400000.pcie: MEM 0x0090000000..0x009effffff -> 0x0090000000 > [ 0.513897] spacemit-k1-pcie ca800000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 4G > [ 0.559595] spacemit-k1-pcie ca400000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 4G > [ 0.839412] spacemit-k1-pcie ca400000.pcie: PCIe Gen.1 x2 link up > [ 0.847078] spacemit-k1-pcie ca400000.pcie: PCI host bridge to bus 0000:00 > [ 0.857600] pci_bus 0000:00: root bus resource [bus 00-ff] > [ 0.868702] pci_bus 0000:00: root bus resource [io 0x100000-0x1fffff] (bus address [0x0000-0xfffff]) > [ 1.146409] pci_bus 0000:00: root bus resource [mem 0x90000000-0x9effffff] > [ 1.373742] pci 0000:00:00.0: [1e5d:3003] type 01 class 0x060400 PCIe Root Port > [ 1.380963] pci 0000:00:00.0: BAR 0 [mem 0x00000000-0x000fffff] > [ 1.386883] pci 0000:00:00.0: BAR 1 [mem 0x00000000-0x000fffff] > [ 1.392808] pci 0000:00:00.0: PCI bridge to [bus 01-ff] > [ 1.395394] pci 0000:00:00.0: bridge window [io 0x100000-0x100fff] > [ 1.401811] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff] > [ 1.408583] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff 64bit pref] > [ 1.416354] pci 0000:00:00.0: supports D1 > [ 1.420294] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold > [ 1.428220] pci 0000:01:00.0: [1987:5015] type 00 class 0x010802 PCIe Endpoint > [ 1.434034] pci 0000:01:00.0: BAR 0 [mem 0x00000000-0x00003fff 64bit] > [ 1.440772] pci 0000:01:00.0: 4.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x2 link at 0000:00:00.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link) > [ 1.463390] pci 0000:01:00.0: pcie_aspm_override_default_link_state > [ 1.467000] pci 0000:01:00.0: ASPM: default states L1 > [ 1.472093] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 > > Note how the line pcie_aspm_override_default_link_state arrives too > late. > > Regards > Aurelien >
© 2016 - 2025 Red Hat, Inc.