]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'pci/controller/max-link-speed'
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 13 Apr 2026 17:50:07 +0000 (12:50 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 13 Apr 2026 17:50:07 +0000 (12:50 -0500)
commit736b677ff42837accf40784d5bd71a1d01f8fc87
treec5fcb2656fc3388d6579aa8e60760bc6aa5c4e67
parent8153aaf6b9e798a89d5939cf55f44a1815fe3252
parentc8b610341914cb62899e31b41f724b5c4831a645
Merge branch 'pci/controller/max-link-speed'

- Add pcie_get_link_speed() to encapsulate and bounds-check
  pcie_link_speed[] accesses (Hans Zhang)

- Validate max-link-speed from DT in j721e, brcmstb, mediatek-gen3, rzg3s
  (where the actual controller constraints are known), and remove it from
  the generic OF DT accessor (Hans Zhang)

* pci/controller/max-link-speed:
  PCI: of: Remove max-link-speed generation validation
  PCI: controller: Validate max-link-speed
  PCI: j721e: Validate max-link-speed from DT
  PCI: dwc: Use pcie_get_link_speed() helper for safe array access
  PCI: Add pcie_get_link_speed() helper for safe array access
drivers/pci/controller/dwc/pcie-qcom-ep.c
drivers/pci/controller/dwc/pcie-tegra194.c
drivers/pci/pci.h
drivers/pci/probe.c