Re: [PATCH] firewire: core: abort pending transactions at card removal
Takashi Sakamoto <[email protected]> Fri, 14 Nov 2025 05:33:11 +0900
| Newsgroups | gmane.linux.kernel.firewire.devel,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> > --- > 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