mlxbf_gige: need to clear MDIO gateway lock after read
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-bluefield (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
David Thompson | ||
Jammy |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
SRU Justification:
[Impact]
The BlueField-2 GIGE logic accesses the MDIO device via reads/writes
to a gateway (GW) register. The MDIO GW lock is set after read. Make
sure to always clear to indicate that the GW register is not being used.
If the lock is mistakenly interpreted as ACTIVE, then subsequent MDIO
accesses will be blocked and PHY device will be inaccessible.
[Fix]
For each MDIO read and write transaction, the last step should
be to clear the MDIO GW lock.
[Test Case]
Boot the BlueField-2 platform
Bring up the "oob_net0" interface via DHCP or static IP
Ping and file transfer over "oob_net0" should work properly
Bounce the "oob_net0" interface a few times and repeat tests
[Regression Potential]
* Low risk for causing a regression, tested well in our lab.
[Other]
* None
CVE References
Changed in linux-bluefield (Ubuntu Focal): | |
assignee: | nobody → David Thompson (dthompso-98) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in linux-bluefield (Ubuntu): | |
status: | New → Invalid |
Changed in linux-bluefield (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux-bluefield (Ubuntu Jammy): | |
status: | New → Fix Committed |
tags: |
added: verification-done-jammy removed: kernel-spammed-jammy-linux-bluefield verification-needed-jammy |
This bug is awaiting verification that the linux-bluefield /5.4.0- 1047.52 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- focal' to 'verification- done-focal' . If the problem still exists, change the tag 'verification- needed- focal' to 'verification- failed- focal'.
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!