[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <0d373379-5a6e-4b9c-af53-f8ab54dd4680@app.fastmail.com>
Date: Tue, 09 Apr 2024 14:10:01 +0200
From: "Arnd Bergmann" <arnd@...db.de>
To: "Pascal FONTAIN" <Pascal.FONTAIN@...hmann.info>,
linux-kernel@...r.kernel.org,
"Greg Kroah-Hartman" <gregkh@...uxfoundation.org>
Cc: "Andrew Davis" <afd@...com>
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@...hmann.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@...hmann.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
Powered by blists - more mailing lists