Re: [PATCH v2] spi: dw: fix race between IRQ handler and error handler on SMP
From: Mark Brown
Date: Mon Jun 08 2026 - 09:19:38 EST
On Mon, Jun 08, 2026 at 05:58:49PM +0800, Peng Yang wrote:
> On SMP systems, dw_spi_handle_err() can be called from the SPI core
> kthread while the IRQ handler is still accessing the FIFO on another
> CPU. Resetting the chip via dw_spi_reset_chip() during an active FIFO
> read/write causes a bus error.
Please don't send new patches in reply to old patches or serieses, this
makes it harder for both people and tools to understand what is going
on - it can bury things in mailboxes and make it difficult to keep track
of what current patches are, both for the new patches and the old ones.
Attachment:
signature.asc
Description: PGP signature