[PATCH v2 0/1] PCI: brcmstb: Fix regression regarding missing PCIe linkup

Jim Quinlan jim2101024 at gmail.com
Sat May 28 15:44:22 PDT 2022


v2 -- Replace using the condition "bus->number == 1" and instead
      use "pci_is_root_bus(bus->parent)".  Although I initially
      planned to get/enable regulators under and port device,
      this became more complicated for this regression fix.
   -- Corrected the commit message in v1 to say "Root Port DT
      node" rather than "Endpoint DT node".
   -- brcm_pcie_add_bus() now returns 0 if there is an error in
      error in calling pci_subdev_regulators_add_bus().  Instead,
      we dev_err() and turn on our refusal mode instead.
   -- The pci_subdev_regulators_remove_bus() function now calls
      regulator_bulk_free() in addtion to regulator_bulk_disable().
      I noticed that this call was missing after Bjorn had me detail
      the call graph for removing the bus when pcie link-up failed.
   -- Rewrote and added some comments.

v1 -- Original

Jim Quinlan (1):
  PCI: brcmstb: Fix regression regarding missing PCIe linkup

 drivers/pci/controller/pcie-brcmstb.c | 43 +++++++++++++++++++--------
 1 file changed, 30 insertions(+), 13 deletions(-)


base-commit: ef1302160bfb19f804451d0e919266703501c875
prerequisite-patch-id: 23a425390a4226bd70bbff459148c80f5e28379c
prerequisite-patch-id: e3f2875124b46b2b1cf9ea28883bf0c864b79479
prerequisite-patch-id: 9cdd706ee2038c7b393c4d65ff76a1873df1ca03
prerequisite-patch-id: 332ac90be6e4e4110e27bdd1caaff212c129f547
prerequisite-patch-id: 32a74f87cbfe9e8d52c34a4edeee6d271925665a
prerequisite-patch-id: f57cdf7ec7080bb8c95782bc7c3ec672db8ec1ce
prerequisite-patch-id: 18dc9236aed47f708f5c854afd832f3c80be5ea7
prerequisite-patch-id: dd147c6854c4ca12a9a8bd4f5714968a59d60e4e
prerequisite-patch-id: 0905430e81a95900a1366916fe2940b848317a7c
prerequisite-patch-id: 710896210c50354d87f6025fe0bd1b89981138eb
prerequisite-patch-id: 97d3886cb911cb12ef3d514fdfff2a0ab11e8570
prerequisite-patch-id: 241f1e1878fc177d941f4982ca12779a29feb62b
prerequisite-patch-id: d856608825e2294297db5d7f88f8c180f3e5a1f2
prerequisite-patch-id: 92bcbc9772fb4d248157bcf35e799ac37be8ee45
prerequisite-patch-id: 6f4b1aac459bb54523ade0e87c04e9d6c45bd9f5
prerequisite-patch-id: 090ee7a3112a4ecb03805b23ed10e2c96b3b34ed
-- 
2.17.1




More information about the linux-arm-kernel mailing list