[PATCH 1/5] spi: spi-mem: Add support for panic mem writes

Mark Brown broonie at kernel.org
Tue Oct 13 03:42:41 PDT 2026


On Tue, Oct 13, 2026 at 10:25:07AM +0200, Paul Cercueil wrote:
> Le jeudi 08 octobre 2026 à 10:32 +0200, Mark Brown a écrit :

> > This also needs to ensure that the queue is idle - we'll still execute
> > spi_mem_access_start() which flushes the queue, and we've got runtime PM
> > operations there which might be a bit challenging in a panic situation.

> Does it though? The kernel is panicking so the queue won't be processed anymore,
> it should be fine to just ignore it.

Do the other CPUs know they're panicing yet, and what state is the
hardware in?  I'm a bit nervous about assuming panic got things into a
good state.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20261013/160be654/attachment.sig>


More information about the linux-mtd mailing list