Messages in this thread | | | Date | Tue, 09 Apr 2024 14:10:01 +0200 | From | "Arnd Bergmann" <> | Subject | Re: [PATCH v3 1/2] misc: sram: Move probe of sram subsystem |
| |
On Tue, Apr 9, 2024, at 14:06, Pascal FONTAIN wrote: > From: Pascal Fontain <pascal.fontain@bachmann.info> > > The sram subsystem might use the dma-buf subsystem which only gets > initialized in subsys_initcall phase. Because of this we move the sram > initcall into the device phase. > > Signed-off-by: Pascal Fontain <pascal.fontain@bachmann.info>
This does not look safe unless you check all users of the sram driver to ensure they are not needed early and they can handle deferred probing.
Arnd
| |