]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: apple: Move over to standalone probing
authorMarc Zyngier <maz@kernel.org>
Tue, 1 Apr 2025 09:17:05 +0000 (10:17 +0100)
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Wed, 23 Apr 2025 07:22:48 +0000 (12:52 +0530)
commit4785591f96c76534d9ccb7ec515ab4bc407f3191
tree4c2976cc26bbbe243d8431b65fa39bd9020da831
parent4900454b4f819e88e9c57ed93542bf9325d7e161
PCI: apple: Move over to standalone probing

Now that we have the required infrastructure, split the Apple PCIe
setup into two categories:

- stuff that has to do with PCI setup stays in the .init() callback

- stuff that is just driver gunk (such as MSI setup) goes into a
  probe routine, which will eventually call into the host-common
  code

The result is a far more logical setup process.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tested-by: Janne Grunau <j@jannau.net>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Link: https://patch.msgid.link/20250401091713.2765724-6-maz@kernel.org
drivers/pci/controller/pcie-apple.c