[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250918230857.127400-1-o-takashi@sakamocchi.jp>
Date: Fri, 19 Sep 2025 08:08:51 +0900
From: Takashi Sakamoto <o-takashi@...amocchi.jp>
To: linux1394-devel@...ts.sourceforge.net
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH 0/6] firewire: core: code refactoring for work item of bus manager
Hi,
The implementation of bus manager work, bm_work() function, has many
lines for the procedure to contend for bus manager as well as to
transfer phy configuration packet for root node selection and gap count
optimization.
This patchset is to refactor the code for the procedure. A new helper
function is added to contend for bus manager. The outcome of contention
is evaluated as a return code of the helper function, then the root node
at next generation is decided. The phy configuration packet is
transferred and generate bus reset lastly.
Takashi Sakamoto (6):
firewire: core: remove useless generation check
firewire: core: use switch statement to evaluate transaction result to
CSR_BUS_MANAGER_ID
firewire: core: code refactoring for the case of generation mismatch
firewire: core: code refactoring to split contention procedure for bus
manager
firewire: core; eliminate pick_me goto label
firewire: core: minor code refactoring to delete useless local
variable
drivers/firewire/core-card.c | 336 +++++++++++++++++++----------------
1 file changed, 178 insertions(+), 158 deletions(-)
base-commit: e6d2338b6f3e522872f3a14fcc5e5de2f58bf23b
--
2.48.1
Powered by blists - more mailing lists