1
0
Fork 0
android_kernel_rockchip_tart/drivers/pci
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
..
controller [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
endpoint can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
hotplug can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
msi can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pcie can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pwrctrl can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
switch can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
access.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
ats.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
bus.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
devres.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
doe.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
ecam.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
host-bridge.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
iomap.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
iov.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
irq.c 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
mmap.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
npem.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
of.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
of_property.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
p2pdma.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-acpi.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-bridge-emul.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-bridge-emul.h can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-driver.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-label.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-mid.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-pf-stub.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-stub.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci-sysfs.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
pci.h can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
probe.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
proc.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
quirks.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
remove.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
rom.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
search.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
setup-bus.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
setup-res.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
slot.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
syscall.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
tph.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
vc.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
vgaarb.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
vpd.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
xen-pcifront.c can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00