[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251111104646.GA180198@workstation.local>
Date: Tue, 11 Nov 2025 19:46:46 +0900
From: Takashi Sakamoto <o-takashi@...amocchi.jp>
To: linux1394-devel@...ts.sourceforge.net
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] firewire: core: clear sources of hardware interrupt at
card removal
On Sun, Nov 09, 2025 at 03:55:25PM +0900, Takashi Sakamoto wrote:
> Due to the factors external to the system, hardware events may still be
> handled while a card instance is being removed. The sources of hardware
> IRQs should be cleared during card removal so that workqueues can be safely
> destroyed.
>
> This commit adds a disable callback to the underlying driver operations.
> After this callback returns, the underlying driver guarantees that it
> will no longer handle hardware events.
>
> Signed-off-by: Takashi Sakamoto <o-takashi@...amocchi.jp>
> ---
> drivers/firewire/core-card.c | 3 +++
> drivers/firewire/core.h | 3 +++
> drivers/firewire/ohci.c | 44 +++++++++++++++++++++++++++++-------
> 3 files changed, 42 insertions(+), 8 deletions(-)
Applied to for-next branch.
Regards
Takashi Sakamoto
Powered by blists - more mailing lists