Page MenuHomeFreeBSD

fwohci: fix LPS delay, PHY_INT storm, and SID timeout recovery
ClosedPublic

Authored by guest-seuros on Fri, Jul 3, 8:49 PM.
Referenced Files
F162228093: D58033.id.diff
Sat, Jul 11, 2:35 AM
F162225045: D58033.id181511.diff
Sat, Jul 11, 1:45 AM
F162221575: D58033.id181276.diff
Sat, Jul 11, 12:51 AM
F162213857: D58033.diff
Fri, Jul 10, 11:19 PM
Unknown Object (File)
Thu, Jul 9, 5:56 PM
Unknown Object (File)
Wed, Jul 8, 4:41 AM
Unknown Object (File)
Tue, Jul 7, 5:53 AM
Unknown Object (File)
Mon, Jul 6, 4:21 AM
Subscribers

Details

Summary

Fixed the post-LPS delay from 500us to the IEEE 1394a-2000 s6.1 mandated
10ms ceiling. Handled PHY_INT by clearing W1C status bits in register 5
(masked ISBR to avoid spurious bus resets). Added a SID timeout callout
that recovers the state machine when a remote device fails to complete
self-ID. Fixed FW_PHY_SPD operator precedence and gated noisy messages
behind bootverbose/firewire_debug.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Note: Linux has 50ms delay. The spec has 10ms.

The hardware i tested did not need more than 10ms.

This revision is now accepted and ready to land.Tue, Jul 7, 8:42 PM