linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 2/4] powerpc/pci_64: Init pcibios subsys a bit later
@ 2023-03-06 17:30 Timothy Pearson
  2023-03-22 12:25 ` Michael Ellerman
  0 siblings, 1 reply; 2+ messages in thread
From: Timothy Pearson @ 2023-03-06 17:30 UTC (permalink / raw)
  To: kvm; +Cc: linuxppc-dev

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(-)

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)
 {
-- 
2.30.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 2/4] powerpc/pci_64: Init pcibios subsys a bit later
  2023-03-06 17:30 [PATCH v2 2/4] powerpc/pci_64: Init pcibios subsys a bit later Timothy Pearson
@ 2023-03-22 12:25 ` Michael Ellerman
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2023-03-22 12:25 UTC (permalink / raw)
  To: kvm, Timothy Pearson; +Cc: linuxppc-dev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-22 12:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-06 17:30 [PATCH v2 2/4] powerpc/pci_64: Init pcibios subsys a bit later Timothy Pearson
2023-03-22 12:25 ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).