From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
To: linux1394-devel@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/5] firewire: ohci: refactor local AT request/response handling
Date: Tue, 15 Sep 2026 06:46:48 +0900 [thread overview]
Message-ID: <20260914214648.GA211204@sakamocchi.jp> (raw)
In-Reply-To: <20260913101356.156420-1-o-takashi@sakamocchi.jp>
On Sun, Sep 13, 2026 at 07:13:51PM +0900, Takashi Sakamoto wrote:
> This series refactors the handling of asynchronous transactions to the local
> node in the OHCI driver.
>
> The current implementation has several special cases for transactions to
> the two CSR address ranges on the local node. The code for detecting these
> cases and generating the corresponding response packets is spread across
> conditional and switch statements, making the handling difficult to follow.
>
> This series first factors out the detection of the CSR address ranges and
> local AT request/response packets. It then simplifies the response handling
> and separates the request and response paths into different helper functions.
>
> No functional changes are intended.
>
>
> Takashi Sakamoto (5):
> firewire: ohci: use in_range() macro to detect CSR address ranges
> firewire: ohci: add helper function to detect local AT
> request/response packets
> firewire: ohci: refactor multiple calls to fw_fill_response()
> firewire: ohci: refactor local response packet handling
> firewire: ohci: refactor handling of local AT request/response packets
>
> drivers/firewire/ohci.c | 137 +++++++++++++++++++++++-----------------
> 1 file changed, 78 insertions(+), 59 deletions(-)
Applied to for-next branch.
Regards
Takashi Sakamoto
prev parent reply other threads:[~2026-09-14 21:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-13 10:13 Takashi Sakamoto
2026-09-13 10:13 ` [PATCH 1/5] firewire: ohci: use in_range() macro to detect CSR address ranges Takashi Sakamoto
2026-09-13 10:13 ` [PATCH 2/5] firewire: ohci: add helper function to detect local AT request/response packets Takashi Sakamoto
2026-09-13 10:13 ` [PATCH 3/5] firewire: ohci: refactor multiple calls to fw_fill_response() Takashi Sakamoto
2026-09-13 10:13 ` [PATCH 4/5] firewire: ohci: refactor local response packet handling Takashi Sakamoto
2026-09-13 10:13 ` [PATCH 5/5] firewire: ohci: refactor handling of local AT request/response packets Takashi Sakamoto
2026-09-14 21:46 ` Takashi Sakamoto [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260914214648.GA211204@sakamocchi.jp \
--to=o-takashi@sakamocchi.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=linux1394-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®