milos-linux/drivers/pci/controller
Florian Fainelli ed831e7ea1 PCI: brcmstb: Assign pcie->gen from of_pci_get_max_link_speed()
After commit 03f9209369 ("PCI: controller: Validate max-link-speed"),
pcie->gen stopped being assigned and as a result the established PCIe link
would stop supporting Gen3 speeds on 2712 since pcie->gen is used to
populate LnkCntl2 and LnkCap in brcm_pcie_set_gen().

If the 'max-link-speed' property is not specified, or it exceeds Gen3,
resort to the HW defaults.

Link: https://github.com/raspberrypi/linux/issues/7343
Reported-by: Dom Cobley <popcornmix@gmail.com>
Reported-by: Phil Elwell <phil@raspberrypi.com>
Fixes: 03f9209369 ("PCI: controller: Validate max-link-speed")
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Hans Zhang <18255117159@163.com>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/20260506164537.103196-1-florian.fainelli@broadcom.com
2026-05-15 13:09:52 -05:00
..
cadence Merge branch 'pci/controller/cadence-sky1' 2026-04-13 12:50:09 -05:00
dwc pci-v7.1-changes 2026-04-15 14:41:21 -07:00
mobiveil
plda PCI: starfive: Use regulator APIs to control the 3v3 power supply of PCIe slots 2026-01-13 19:35:34 +05:30
Kconfig LoongArch changes for v7.1 2026-04-24 09:54:45 -07:00
Makefile PCI: aspeed: Add ASPEED PCIe RC driver 2025-12-23 21:25:20 +05:30
pci-aardvark.c
pci-ftpci100.c
pci-host-common.c PCI: host-generic: Avoid reporting incorrect 'missing reg property' error 2026-02-06 16:44:00 -06:00
pci-host-common.h
pci-host-generic.c
pci-hyperv-intf.c PCI: hv: remove unnecessary module_init/exit functions 2026-02-04 06:20:51 +00:00
pci-hyperv.c Drivers: hv: vmbus: Export hv_vmbus_exists() and use it in pci-hyperv 2026-04-14 04:42:44 +00:00
pci-ixp4xx.c
pci-loongson.c
pci-mvebu.c
pci-rcar-gen2.c
pci-tegra.c PCI: tegra: Allow building as a module 2025-12-26 10:57:17 -06:00
pci-thunder-ecam.c
pci-thunder-pem.c
pci-v3-semi.c
pci-versatile.c
pci-xgene-msi.c
pci-xgene.c
pcie-altera-msi.c
pcie-altera.c
pcie-apple.c
pcie-aspeed.c PCI: aspeed: Fix IRQ domain leak on platform_get_irq() failure 2026-04-04 16:02:55 +05:30
pcie-brcmstb.c PCI: brcmstb: Assign pcie->gen from of_pci_get_max_link_speed() 2026-05-15 13:09:52 -05:00
pcie-hisi-error.c PCI: hisi: Use devm_ghes_register_vendor_record_notifier() 2026-04-06 16:48:58 +02:00
pcie-iproc-bcma.c
pcie-iproc-msi.c
pcie-iproc-platform.c
pcie-iproc.c
pcie-iproc.h
pcie-mediatek-gen3.c Merge branch 'pci/controller/mediatek-gen3' 2026-04-13 12:50:48 -05:00
pcie-mediatek.c PCI: mediatek: Fix possible truncation in mtk_pcie_parse_port() 2026-03-21 17:46:51 +05:30
pcie-mt7621.c
pcie-rcar-ep.c PCI: endpoint: Do not mark the BAR succeeding a 64-bit BAR as BAR_RESERVED 2026-03-15 22:04:22 +05:30
pcie-rcar-host.c
pcie-rcar.c
pcie-rcar.h
pcie-rockchip-ep.c
pcie-rockchip-host.c
pcie-rockchip.c
pcie-rockchip.h
pcie-rzg3s-host.c Merge branch 'pci/controller/rzg3s-host' 2026-04-13 12:50:53 -05:00
pcie-xilinx-common.h
pcie-xilinx-cpm.c
pcie-xilinx-dma-pl.c
pcie-xilinx-nwl.c
pcie-xilinx.c PCI: xilinx: Fix INTx IRQ domain leak in error paths 2025-12-23 17:57:47 +05:30
vmd.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00