pwr-mlxbf: Several bug fixes for focal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-bluefield (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
SRU Justification:
[Impact]
There is are several changes that needs to be made to pwr-mlxbf in focal:
* There is a race condition between gpio-mlxbf2.c driver being loaded and pwr-mlxbf.c being loaded
* When the module is removed, there is a panic due to NULL pointer access
* soft reset needs to be replaced by graceful reboot
[Fix]
* Fix race condition between gpio-mlxbf2.c driver being loaded and pwr-mlxbf.c being loaded
* Fix panic due to access to NULL pointer when driver is removed via rmmod
* support graceful reboot instead of soft reset
[Test Case]
* all test cases are for BF2:
* trigger the gpio toggling from the BMC: ipmitool raw 0x32 0xA1 0x02
This should trigger a graceful reboot of the DPU.
* rmmod/modprobe
* reboot test and make sure the driver is always loaded
[Regression Potential]
* Run the 100 reboot test and make sure that the driver is loaded with no issues. That the gpio graceful reboot works.
CVE References
Changed in linux-bluefield (Ubuntu): | |
status: | New → Invalid |
Changed in linux-bluefield (Ubuntu Focal): | |
status: | New → Fix Committed |
tags: |
added: verification-done-focal-linux-bluefield removed: verification-needed-focal-linux-bluefield |
This bug is awaiting verification that the linux-bluefield /5.4.0- 1076.82 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-linux- bluefield' to 'verification- done-focal- linux-bluefield '. If the problem still exists, change the tag 'verification- needed- focal-linux- bluefield' to 'verification- failed- focal-linux- bluefield' .
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!