-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ntb_hw_amd: Simulate link flap after unclean reboot
In case physical link events reporting on primary side is unreliable it may happen that secondary side tries to renegotiate after reboot while the primary side still thinks the link was up all the time and nothing has happened. To workaround that, on the driver load check the READY bit in SIDEINFO register, and if it is already set, it means we had a dirty shutdown. In such case clear it and send the doorbell interrupt to the other side, similar to driver unload. After that wait for a second for remote side to see the change and continue the initialization sequence. Signed-off-by: Alexander Motin <[email protected]>
- Loading branch information
Showing
3 changed files
with
30 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
linux-6.1.49+truenas (6.1.49+truenas-2) sid; urgency=low | ||
|
||
* ntb_hw_amd: Simulate link flap after unclean reboot | ||
|
||
-- iXsystems engineering team <[email protected]> Web, 13 Sep 2023 14:00:00 +0500 | ||
|
||
linux-6.1.49+truenas (6.1.49+truenas-1) sid; urgency=low | ||
|
||
* Rebase local commits onto upstream v6.1.49 | ||
|