Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 10G watchdog checks #1464

Merged
merged 1 commit into from
Jul 18, 2023
Merged

Fix 10G watchdog checks #1464

merged 1 commit into from
Jul 18, 2023

Conversation

mkeeter
Copy link
Collaborator

@mkeeter mkeeter commented Jul 18, 2023

To avoid spurious calls to Monorail.reinit, the 10G link watchdog checks whether the PCIE host reset bit is set.

Unfortunately, this bit changed from bit 0 to bit 1 in #1454; this broke the VSC7448 side of the watchdog, resulting in the link staying down if dendrite restarted on the Scrimlet.

This PR switches to using the bit's canonical definition in our register file, which is less likely to be wrong.

@mkeeter mkeeter requested a review from bnaecker July 18, 2023 17:54
Copy link
Contributor

@bnaecker bnaecker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

excellent

@mkeeter mkeeter added this to the FCS milestone Jul 18, 2023
@mkeeter mkeeter enabled auto-merge (squash) July 18, 2023 17:57
@mkeeter mkeeter merged commit db91285 into master Jul 18, 2023
65 checks passed
@mkeeter mkeeter deleted the fix-10g-watchdog branch July 18, 2023 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants