1
0
Fork 0
android_kernel_rockchip_tart/drivers/pci/controller
dvab-sarma 8b7d53a27b [PATCH v4 1/3] PCI: dw-rockchip: Remove PCIE_L0S_ENTRY check from rockchip_pcie_link_up()
Date: Thu, 17 Apr 2025 08:35:09 +0800	[thread overview]
Message-ID: <1744850111-236269-1-git-send-email-shawn.lin@rock-chips.com> (raw)

Two mistakes here:
1. 0x11 is L0 not L0S, so the naming is wrong from the very beginning.
2. It's totally broken if enabling ASPM as rockchip_pcie_link_up() treat
other states, for instance, L0S or L1 as link down which is obviously
wrong.

Remove the check.

Fixes: 0e898eb8df4e ("PCI: rockchip-dwc: Add Rockchip RK356X host controller driver")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
2025-12-11 03:53:20 -06:00
..
cadence can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
dwc [PATCH v4 1/3] PCI: dw-rockchip: Remove PCIE_L0S_ENTRY check from rockchip_pcie_link_up() 2025-12-11 03:53:20 -06:00
mobiveil can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
plda can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
Kconfig can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
Makefile can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-aardvark.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-ftpci100.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-host-common.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-host-generic.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-hyperv-intf.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-hyperv.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-ixp4xx.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-loongson.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-mvebu.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-rcar-gen2.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-tegra.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-thunder-ecam.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-thunder-pem.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-v3-semi.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-versatile.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-xgene-msi.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-xgene.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-altera-msi.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-altera.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-apple.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-brcmstb.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-hisi-error.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-iproc-bcma.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-iproc-msi.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-iproc-platform.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-iproc.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-iproc.h can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-mediatek-gen3.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-mediatek.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-mt7621.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-rcar-ep.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-rcar-host.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-rcar.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-rcar.h can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-rockchip-ep.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-rockchip-host.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-rockchip.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-rockchip.h can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-xilinx-common.h can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-xilinx-cpm.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-xilinx-dma-pl.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-xilinx-nwl.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie-xilinx.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
vmd.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00