Re: [PATCH] firewire: core: abort pending transactions at card removal

From: Takashi Sakamoto

Date: Thu Nov 13 2025 - 15:33:16 EST


On Wed, Nov 12, 2025 at 07:38:34AM +0900, Takashi Sakamoto wrote:
> IEEE 1394 defines the split, concatenated, and unified transaction.
> To support the split transaction, core function uses linked list to
> maintain the transactions waiting for acknowledge packet. After clearing
> sources of hardware interrupts, the acknowledge packet is no longer
> handled, therefore it is required to abort the pending transactions.
>
> This commit executes callback with RCODE_CANCELLED for the pending
> transactions at card removal.
>
> Signed-off-by: Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>
> ---
> drivers/firewire/core-card.c | 1 +
> drivers/firewire/core-transaction.c | 28 ++++++++++++++++++++++++++++
> drivers/firewire/core.h | 2 ++
> drivers/firewire/ohci.c | 5 -----
> 4 files changed, 31 insertions(+), 5 deletions(-)

Applied to for-next branch.


Regards

Takashi Sakamoto