diff mbox series

[v2,2/4] powerpc/pci_64: Init pcibios subsys a bit later

Message ID 12303156.16998521.1678123842049.JavaMail.zimbra@raptorengineeringinc.com (mailing list archive)
State Accepted
Commit 76f351096c4516f38b9c901a21797fa958588e3a
Headers show
Series [v2,1/4] powerpc/iommu: Add "borrowing" iommu_table_group_ops | expand

Commit Message

Timothy Pearson March 6, 2023, 5:30 p.m. UTC
The following patches are going to add dependency/use of iommu_ops which
is initialized in subsys_initcall as well.

This moves pciobios_init() to the next initcall level.

This should not cause behavioral change.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
---
 arch/powerpc/kernel/pci_64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Ellerman March 22, 2023, 12:25 p.m. UTC | #1
On Mon, 6 Mar 2023 11:30:42 -0600 (CST), Timothy Pearson wrote:
> The following patches are going to add dependency/use of iommu_ops which
> is initialized in subsys_initcall as well.
> 
> This moves pciobios_init() to the next initcall level.
> 
> This should not cause behavioral change.
> 
> [...]

Applied to powerpc/next.

[2/4] powerpc/pci_64: Init pcibios subsys a bit later
      https://git.kernel.org/powerpc/c/76f351096c4516f38b9c901a21797fa958588e3a

cheers
diff mbox series

Patch

diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c
index fd42059ae2a5..e27342ef128b 100644
--- a/arch/powerpc/kernel/pci_64.c
+++ b/arch/powerpc/kernel/pci_64.c
@@ -73,7 +73,7 @@  static int __init pcibios_init(void)
 	return 0;
 }
 
-subsys_initcall(pcibios_init);
+subsys_initcall_sync(pcibios_init);
 
 int pcibios_unmap_io_space(struct pci_bus *bus)
 {