From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fhigh-b7-smtp.messagingengine.com (fhigh-b7-smtp.messagingengine.com [202.12.124.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 658771A0BF1 for ; Sun, 20 Sep 2026 07:22:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.158 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789888933; cv=none; b=oHnm7Z+dVO/6Qc8+KqfNxsVrhQA/DAuDfP3ShX/MOIl6kU3mUJdbhusDzXfwfcvMiGDKQrNyz1In3lPYkXdibsH0ntGA+1Q9/jESNaW7t6QvSJP5zJyvcCFp2H7RQF8m/QnsTnODNFefRlAWI5jlwHmA9UOED2M7hgHPbNVI9pg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789888933; c=relaxed/simple; bh=NQZ55Av7uOIVkEe9pkkqbAUxYqldX882pKzQmMx2B3g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NR9U5xT7Cr2TLQYYI2Fd6R9Hp2eBRENLc4WcbHoVabJkP3JDhbC8g/1xpEKMxtY2UBcBr7s/4pvUT9VhuVl/550MV+SMw91m6iRcOEt0iMqZm3PHOvtraq0SpZ4KWkTWrPKuTPuWHrmOfmNYJByKuZDCpkNF/m1uaoVT9SrbpJs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sakamocchi.jp; spf=pass smtp.mailfrom=sakamocchi.jp; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b=edquodk4; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=VsJHO5vU; arc=none smtp.client-ip=202.12.124.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sakamocchi.jp Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sakamocchi.jp Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b="edquodk4"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="VsJHO5vU" Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfhigh.stl.internal (Postfix) with ESMTP id 8C8AF7A00AD; Sun, 20 Sep 2026 03:22:11 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Sun, 20 Sep 2026 03:22:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakamocchi.jp; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm1; t=1789888931; x= 1789975331; bh=GiQRYVi0D6vLpe09AlGwCAsR6C+/4EeK2bUVdrMlrlg=; b=e dquodk40Hk5DVqGBSeK8pu692OSlr3jHTOEJeD+MyMcds2+nVuIrihys2vtFmAQ0 dZqhhMIApIYLpvS7+rQjDNU6BwSYvt3+UQqO0K1sKNCqNsBBPJz3pkvZ1D64jwrC MAF4TcYZ+4Zuu8ob53iN5JmppeiB072oOk36wlxQkAqnNzBzPjk2/bO+ndUl6OfK mjepjgs7Qfdns6KkzOp9ygDCp7yysDdtQAzNUt9tBHyx+hVD243AT9qOAuJeEElS ac7i7Rg9z6brh+7Uw3hKxCpDAc0npm6BDHJtzNjcPbVjBn0kq0XgyxQctts2vxuJ Uo92ZtyFEE8bGyfZti+ng== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me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0U609+eZwxOw50in49K RRxvEX6t2f6HDmeaDQFEtUUkoowwdOAdzga/qlfi3435WePEZrMBj38vGU5A X-ME-Proxy: Feedback-ID: ie8e14432:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 20 Sep 2026 03:22:10 -0400 (EDT) Date: Sun, 20 Sep 2026 16:22:08 +0900 From: Takashi Sakamoto To: linux1394-devel@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/5] firewire: ohci: invoke all AT packet callbacks from a workqueue Message-ID: <20260920072208.GA78337@sakamocchi.jp> Mail-Followup-To: linux1394-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org References: <20260919115017.859169-1-o-takashi@sakamocchi.jp> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260919115017.859169-1-o-takashi@sakamocchi.jp> On Sat, Sep 19, 2026 at 08:50:12PM +0900, Takashi Sakamoto wrote: > Hi, > > For local-to-local asynchronous transactions, a shortcut is implemented to > handle the relevant packets in the request initiator's context instead of > queueing them to the hardware. This may seem beneficial since the > transaction completes immediately within the software stack. > > However, this has the drawback that the context in which the callback > handler is invoked is unspecified, as it runs in the initiator's context. > This makes it difficult to implement the callback handlers, especially > address handlers. > > This patchset addresses this issue by using a workqueue. All packet > callbacks are now invoked in process context. > > Takashi Sakamoto (5): > firewire: ohci: use workqueue to handle error case of AT > request/response packet queueing > firewire: ohci: use workqueue to handle local AT request/response > packets > firewire: ohci: refactor branches in at_context_transmit() > firewire: core: use spinlock without irqsave for card split_timeout > member > firewire: core: use spinlock without irqsave for card topology_map > member > > drivers/firewire/core-card.c | 7 +- > drivers/firewire/core-transaction.c | 22 ++--- > drivers/firewire/ohci.c | 119 ++++++++++++++++++++++------ > include/linux/firewire.h | 5 +- > 4 files changed, 107 insertions(+), 46 deletions(-) Applied to for-next branch. Regards Takashi Sakamoto