[PATCH v3 6/7] spi: cadence-xspi: Add support for panic writes
Mark Brown
broonie at kernel.org
Thu Oct 15 05:09:48 PDT 2026
On Wed, Oct 14, 2026 at 05:43:00PM +0200, Paul Cercueil wrote:
> From: Tanmay Jagdale <tanmay at marvell.com>
>
> Advertise support for panic writes. When a memory op is received with
> the 'panic' flag set, the driver will then work without relying on
> interrupts and without sleeping.
We check device properties in cdns_xspi_supports_op() if the kernel is
built with ACPI support, that ends up using of_find_property() which
takes the devtree lock which means there's a possibility that we might
deadlock (eg, if we took a NMI or the CPU fell over at the wrong
moment). This is probably thin enough it's not worth stopping the
entire series over, it could be fixed incrementally by storing the
values during probe.
-------------- 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/20261015/9913d1c1/attachment.sig>
More information about the linux-mtd
mailing list