Re: [PATCH] powerpc: Drop zalloc_maybe_bootmem()

2023-08-30 Thread Michael Ellerman
On Wed, 23 Aug 2023 15:54:30 +1000, Michael Ellerman wrote: > The only callers of zalloc_maybe_bootmem() are PCI setup routines. These > used to be called early during boot before slab setup, and also during > runtime due to hotplug. > > But commit 5537fcb319d0 ("powerpc/pci: Add ppc_md.discover_p

Re: [PATCH] powerpc: Drop zalloc_maybe_bootmem()

2023-08-22 Thread Christophe Leroy
Le 23/08/2023 à 07:54, Michael Ellerman a écrit : > The only callers of zalloc_maybe_bootmem() are PCI setup routines. These > used to be called early during boot before slab setup, and also during > runtime due to hotplug. > > But commit 5537fcb319d0 ("powerpc/pci: Add ppc_md.discover_phbs()")

[PATCH] powerpc: Drop zalloc_maybe_bootmem()

2023-08-22 Thread Michael Ellerman
The only callers of zalloc_maybe_bootmem() are PCI setup routines. These used to be called early during boot before slab setup, and also during runtime due to hotplug. But commit 5537fcb319d0 ("powerpc/pci: Add ppc_md.discover_phbs()") moved the boot-time calls later, after slab setup, meaning the