Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/7] spi: Add support for panic mem writes
@ 2026-10-16 10:29 Paul Cercueil
  2026-10-16 10:29 ` [PATCH v4 1/7] spi: spi-mem: " Paul Cercueil
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Paul Cercueil @ 2026-10-16 10:29 UTC (permalink / raw)
  To: Pratyush Yadav, Michael Walle, Takahiro Kuwano, Miquel Raynal,
	Richard Weinberger, Vignesh Raghavendra, Mark Brown
  Cc: Kees Cook, Tony Luck, Guilherme G . Piccoli, Thomas Petazzoni,
	linux-mtd, linux-kernel, linux-spi, Bharat Bhushan,
	Sunil Kovvuri Goutham, Tanmay Jagdale, Paul Cercueil

Hi,

Here is the v4 of my patchset that updates the MTD spi-nor code as well
as the spi-mem code, to add support for panic mem writes to a memory
partition configured as pstore.

This revision adds a workaround in mtd/spi-nor to avoid a call to
kmalloc(), and fixes a kernel doc mismatch.

Changelog:

 - [2/7]:
        - Also update kernel doc for new 'timeout_ms' parameter

 - [3/7]:
        - kmalloc() is not safe in panic context; reuse boucebuf instead

 - Patch [1/7] and 4->7 unchanged since v3.

Cheers,
-Paul

Tanmay Jagdale (7):
  spi: spi-mem: Add support for panic mem writes
  mtd: spi-nor: Wait for NOR ready with poll_timeout_us()
  mtd: spi-nor: Add support for panic writes
  spi: cadence-xspi: Clear "SDMA ready" IRQ flag after polling
  spi: cadence-xspi: Add irq-less support
  spi: cadence-xspi: Add support for panic writes
  spi: dt-bindings: cadence: Make XSPI's IRQ line optional

 .../devicetree/bindings/spi/cdns,xspi.yaml    |   1 -
 drivers/mtd/spi-nor/core.c                    | 128 ++++++++++++++----
 drivers/spi/spi-cadence-xspi.c                | 114 +++++++++-------
 drivers/spi/spi-mem.c                         |  42 +++++-
 include/linux/spi/spi-mem.h                   |   5 +
 5 files changed, 209 insertions(+), 81 deletions(-)

-- 
2.47.3


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-10-16 10:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-16 10:29 [PATCH v4 0/7] spi: Add support for panic mem writes Paul Cercueil
2026-10-16 10:29 ` [PATCH v4 1/7] spi: spi-mem: " Paul Cercueil
2026-10-16 10:29 ` [PATCH v4 2/7] mtd: spi-nor: Wait for NOR ready with poll_timeout_us() Paul Cercueil
2026-10-16 10:29 ` [PATCH v4 3/7] mtd: spi-nor: Add support for panic writes Paul Cercueil
2026-10-16 10:29 ` [PATCH v4 4/7] spi: cadence-xspi: Clear "SDMA ready" IRQ flag after polling Paul Cercueil
2026-10-16 10:42   ` sashiko-bot
2026-10-16 10:29 ` [PATCH v4 5/7] spi: cadence-xspi: Add irq-less support Paul Cercueil
2026-10-16 10:45   ` sashiko-bot
2026-10-16 10:29 ` [PATCH v4 6/7] spi: cadence-xspi: Add support for panic writes Paul Cercueil
2026-10-16 10:50   ` sashiko-bot
2026-10-16 10:29 ` [PATCH v4 7/7] spi: dt-bindings: cadence: Make XSPI's IRQ line optional Paul Cercueil
2026-10-16 10:39   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox