linux-yocto/drivers/pci
Geraldo Nascimento 22e29e843c PCI: rockchip: Set Target Link Speed to 5.0 GT/s before retraining
[ Upstream commit 114b06ee10 ]

Rockchip controllers can support up to 5.0 GT/s link speed. But the driver
doesn't set the Target Link Speed currently. This may cause failure in
retraining the link to 5.0 GT/s if supported by the endpoint. So set the
Target Link Speed to 5.0 GT/s in the Link Control and Status Register 2.

Fixes: e77f847df5 ("PCI: rockchip: Add Rockchip PCIe controller support")
Signed-off-by: Geraldo Nascimento <geraldogabriel@gmail.com>
[mani: fixed whitespace warning, commit message rewording, added fixes tag]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Robin Murphy <robin.murphy@arm.com>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/0afa6bc47b7f50e2e81b0b47d51c66feb0fb565f.1751322015.git.geraldogabriel@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-08-28 16:31:07 +02:00
..
controller PCI: rockchip: Set Target Link Speed to 5.0 GT/s before retraining 2025-08-28 16:31:07 +02:00
endpoint PCI: endpoint: Fix configfs group removal on driver teardown 2025-08-28 16:30:59 +02:00
hotplug PCI: pnv_php: Fix surprise plug detection and recovery 2025-08-15 12:14:04 +02:00
msi
pcie PCI/portdrv: Use is_pciehp instead of is_hotplug_bridge 2025-08-28 16:30:59 +02:00
pwrctl
switch
access.c
ats.c
bus.c
devres.c
doe.c
ecam.c
host-bridge.c
iomap.c
iov.c
irq.c
Kconfig
Makefile
mmap.c
npem.c
of_property.c
of.c
p2pdma.c
pci-acpi.c PCI/ACPI: Fix runtime PM ref imbalance on Hot-Plug Capable ports 2025-08-20 18:30:57 +02:00
pci-bridge-emul.c
pci-bridge-emul.h
pci-driver.c
pci-label.c
pci-mid.c
pci-pf-stub.c
pci-stub.c
pci-sysfs.c
pci.c PCI: Honor Max Link Speed when determining supported speeds 2025-08-20 18:30:58 +02:00
pci.h PCI: Store all PCIe Supported Link Speeds 2025-08-20 18:30:57 +02:00
probe.c PCI/ACPI: Fix runtime PM ref imbalance on Hot-Plug Capable ports 2025-08-20 18:30:57 +02:00
proc.c
quirks.c
remove.c
rom.c
search.c
setup-bus.c
setup-res.c
slot.c
syscall.c
vc.c
vgaarb.c
vpd.c
xen-pcifront.c