Skip to contentSkip to conversation

firewire fixes for v6.8-rc4

GIT PULL Merged Takashi Sakamoto 2 participants 2 messages Feb 10, 2024

lore
Share & tools
lore
#0 lore raw

Hi Linus,

The following changes since commit 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478:

Linux 6.8-rc3 (2024-02-04 12:20:36 +0000)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git tags/firewire-fixes-6.8-rc4

for you to fetch changes up to 7ed4380009e96d9e9c605e12822e987b35b05648:

firewire: core: send bus reset promptly on gap count error (2024-02-07 08:20:02 +0900)

----------------------------------------------------------------
firewire-fixes-6.8-rc4

This pull request includes the change to accelerate the device detection step in some cases.

In the self-identification step after bus-reset, all of nodes in the same bus broadcast selfID packet including the value of gap count. The value is related to the cable hops between nodes, and used to calculate the subaction gap and the arbitration reset gap. When each node has the different value of the gap count, the asynchronous communication between them is unreliable, since an asynchronous transaction could be interrupted by another asynchronous transaction before completion. The gap count inconsistency can be resolved by several ways; e.g. the transfer of PHY configuration packet and generation of bus-reset.

Current implementation of firewire stack can correctly detect the gap count inconsistency, however the recovery action from the inconsistency tends to be delayed after reading configuration ROM of root node. This results in the long time to probe devices in some combinations of hardware. In the pull request, the stack is changed to schedule the action immediately as possible.

----------------------------------------------------------------
Takashi Sakamoto (1):
firewire: core: send bus reset promptly on gap count error

 drivers/firewire/core-card.c | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

Regards

Takashi Sakamoto

merge bot Merged
#1 lore raw
The pull request you sent on Sat, 10 Feb 2024 20:48:23 +0900:

The pull request you sent on Sat, 10 Feb 2024 20:48:23 +0900:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git tags/firewire-fixes-6.8-rc4

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/a38ff5bbf9799dd944c762412aaebc54818407f5

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html