]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: sophgo: Disable L0s and L1 on Sophgo 2044 PCIe Root Ports
authorInochi Amaoto <inochiama@gmail.com>
Fri, 9 Jan 2026 04:07:53 +0000 (12:07 +0800)
committerManivannan Sadhasivam <mani@kernel.org>
Tue, 13 Jan 2026 14:47:43 +0000 (20:17 +0530)
commit613f3255a35a95f52575dd8c60b7ac9d711639ce
tree925fcf2413f11dab44772b80408b784e40bc354a
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8
PCI: sophgo: Disable L0s and L1 on Sophgo 2044 PCIe Root Ports

Sophgo 2044 Root Ports advertise L0 and L1 capabilities without supporting
them. Since commit f3ac2ff14834 ("PCI/ASPM: Enable all ClockPM and ASPM
states for devicetree platforms") force enabled ASPM on all device tree
platforms, the issue became evident and the SG2044 Root Port started
breaking.

Hence, disable the L0s and L1 capabilities in the LINKCAP register for the
SG2044 Root Ports, so that these states won't get enabled.

Fixes: 467d9c0348d6 ("PCI: dwc: Add Sophgo SG2044 PCIe controller driver in Root Complex mode")
Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
[mani: reworded description and corrected fixes tag]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Tested-by: Han Gao <gaohan@iscas.ac.cn>
Link: https://patch.msgid.link/20260109040756.731169-1-inochiama@gmail.com
drivers/pci/controller/dwc/pcie-sophgo.c