Hi Bjorn, Bjorn Helgaas <helgaas@xxxxxxxxxx> (2022-05-09): > Cyril, 830aa6f29f07 ("PCI: brcmstb: Split brcm_pcie_setup() into two > funcs") reverts cleanly as of 57ae8a492116. Does reverting it avoid > the regression? I didn't even try and revert this commit before you suggested doing so since it was supposed to be some preliminary work. Quoting a part of its commit message: In future commits the brcm_pcie_linkup() function will be called indirectly by pci_host_probe() as opposed to the host driver invoking it directly. Anyway, the patch can indeed be reverted on top of v5.18-rc4 or v5.18-rc6 but the build fails due to the former function being removed, while being still called from other places: CC drivers/pci/controller/pcie-brcmstb.o drivers/pci/controller/pcie-brcmstb.c:199:12: warning: ‘brcm_pcie_linkup’ used but never defined 199 | static int brcm_pcie_linkup(struct brcm_pcie *pcie); | ^~~~~~~~~~~~~~~~ … aarch64-linux-gnu-ld: drivers/pci/controller/pcie-brcmstb.o: in function `brcm_pcie_add_bus': /home/kibi/hack/linux.git/drivers/pci/controller/pcie-brcmstb.c:527: undefined reference to `brcm_pcie_linkup' See for example: commit 93e41f3fca3d4a0f927b784012338c37f80a8a80 Author: Jim Quinlan <jim2101024@xxxxxxxxx> Date: Thu Jan 6 11:03:29 2022 -0500 PCI: brcmstb: Add control of subdevice voltage regulators (And that one cannot be trivially reverted.) Cheers, -- Cyril Brulebois (kibi@xxxxxxxxxx) <https://debamax.com/> D-I release manager -- Release team member -- Freelance Consultant
Attachment:
signature.asc
Description: PGP signature