Re: [RFC] spi: handling a stuck queue worker during controller unregister

From: Mark Brown

Date: Sun Nov 08 2026 - 09:00:06 EST


On Wed, Nov 04, 2026 at 12:57:12PM +0800, zhang san wrote:

> Would it be preferable to ensure per-message ownership of the
> controller and child device until the pump has definitely terminated,
> or is there a safer failure policy already used elsewhere in the SPI
> core?

I don't think this is something anyone has really worried about,
removing SPI controllers is very unusual in pactical systems and there's
liable to be plenty of other issues if the hardware vanishes. Your
suggestion above seems reasonable enough on a first pass, if you post
the patches I can review properly.

Attachment: signature.asc
Description: PGP signature