All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: "Arnd Bergmann" <arnd@arndb.de>
To: "Pascal FONTAIN" <Pascal.FONTAIN@bachmann.info>,
	linux-kernel@vger.kernel.org,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
Cc: "Andrew Davis" <afd@ti.com>
Subject: Re: [PATCH v3 1/2] misc: sram: Move probe of sram subsystem
Date: Tue, 09 Apr 2024 14:10:01 +0200	[thread overview]
Message-ID: <0d373379-5a6e-4b9c-af53-f8ab54dd4680@app.fastmail.com> (raw)
In-Reply-To: <20240409120605.4138472-2-Pascal.FONTAIN@bachmann.info>

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

  reply	other threads:[~2024-04-09 12:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-09 12:06 [PATCH v3 0/2] misc: sram: Add DMA-BUF Heap exporting of SRAM areas Pascal FONTAIN
2024-04-09 12:06 ` [PATCH v3 1/2] misc: sram: Move probe of sram subsystem Pascal FONTAIN
2024-04-09 12:10   ` Arnd Bergmann [this message]
2024-04-09 12:06 ` [PATCH v3 2/2] misc: sram: Add DMA-BUF Heap exporting of SRAM areas Pascal FONTAIN
2024-04-09 12:14   ` Greg Kroah-Hartman
2024-04-19 16:57     ` Christian Gmeiner
2024-04-20  6:36       ` Greg Kroah-Hartman
2024-04-09 14:38   ` Andrew Davis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0d373379-5a6e-4b9c-af53-f8ab54dd4680@app.fastmail.com \
    --to=arnd@arndb.de \
    --cc=Pascal.FONTAIN@bachmann.info \
    --cc=afd@ti.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.