From: Alexey Kardashevskiy Date: Tue, 20 Sep 2022 13:04:56 +0000 Subject: [PATCH kernel v2 2/3] powerpc/pci_64: Init pcibios subsys a bit later Message-Id: <20220920130457.29742-3-aik@ozlabs.ru> List-Id: References: <20220920130457.29742-1-aik@ozlabs.ru> In-Reply-To: <20220920130457.29742-1-aik@ozlabs.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linuxppc-dev@lists.ozlabs.org Cc: kvm@vger.kernel.org, Nicholas Piggin , Michael Ellerman , Jason Gunthorpe , Frederic Barrat , Alexey Kardashevskiy , Alex Williamson , kvm-ppc@vger.kernel.org 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 --- arch/powerpc/kernel/pci_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c index 0c7cfb9fab04..9cd763d512ae 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) { -- 2.37.3