All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/4] spi: cadence-xspi: Add support for panic mem writes
@ 2026-12-02 13:21 Paul Cercueil
  2026-12-02 13:21 ` [PATCH v5 1/4] spi: cadence-xspi: Handle SDMA errors in cdns_xspi_is_sdma_ready() Paul Cercueil
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Paul Cercueil @ 2026-12-02 13:21 UTC (permalink / raw)
  To: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Kees Cook, Tony Luck, Guilherme G. Piccoli
  Cc: linux-spi, devicetree, Thomas Petazzoni, Sunil Kovvuri Goutham,
	Paul Cercueil

Hi Mark,

Here is the v5 of my patchset that updates the cadence-xspi driver to
add support for panic mem writes to a memory partition configured as
pstore.

I decided to split the spi-nor parts which have to go through a different
tree, and they depend on the v4's [1/7] (see [1]) to land on 7.5-rc1.

This version 5 attempts to address a few concerns that Sashiko had. I
expect it to still complain about a few things, some of which I will
debunk.

Changes in v5:

- [1/4]:
    New patch, to address cdns_xspi_is_sdma_ready() not
    handling DMA errors.

- [2/4]:
  - Use forward declarations for cdns_xspi_is_{sdma,stig}_ready()
    instead of moving them.
  - Increase MRVL_XSPI_POLL_TIMEOUT_US timeout value

- [3/4]:
    Update the new cdns_xspi_sdma_handle() introduced by a third-party
    since the v4, so that it will work with panic writes.

Cheers,
-Paul

[1]: https://lore.kernel.org/linux-spi/20261016102917.171095-2-paul.cercueil@bootlin.com/T/

Tanmay Jagdale (4):
  spi: cadence-xspi: Handle SDMA errors in cdns_xspi_is_sdma_ready()
  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/spi/spi-cadence-xspi.c                | 133 +++++++++++-------
 2 files changed, 80 insertions(+), 54 deletions(-)

-- 
2.47.3


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

end of thread, other threads:[~2026-12-02 13:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 13:21 [PATCH v5 0/4] spi: cadence-xspi: Add support for panic mem writes Paul Cercueil
2026-12-02 13:21 ` [PATCH v5 1/4] spi: cadence-xspi: Handle SDMA errors in cdns_xspi_is_sdma_ready() Paul Cercueil
2026-12-02 13:27   ` sashiko-bot
2026-12-02 13:21 ` [PATCH v5 2/4] spi: cadence-xspi: Add irq-less support Paul Cercueil
2026-12-02 13:33   ` sashiko-bot
2026-12-02 13:21 ` [PATCH v5 3/4] spi: cadence-xspi: Add support for panic writes Paul Cercueil
2026-12-02 13:31   ` sashiko-bot
2026-12-02 13:21 ` [PATCH v5 4/4] spi: dt-bindings: cadence: Make XSPI's IRQ line optional Paul Cercueil

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.