pwr-mlxbf.c: Improve driver dependencies and fix zero allocating memory size
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-bluefield (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Asmaa Mnebhi |
Bug Description
SRU Justification:
[Impact]
Improve the driver dependency on the gpio driver. Move that dependency to the probe as instructed by maintainers. Flush if there is remaining work while the driver is removed. fix size for zero allocating memory.
[Fix]
* Instead of using SOFTDEP, return -EPROBE_DEFER if the gpio-mlxbf2.c driver is not loaded yet.
* Flush work when driver is removed.
* fix size for zero allocating memory.
* Upgrade the driver version to 1.1 due to all above changes
[Test Case]
* Test case only valid on Board with BMC on it:
* Make sure driver is loaded and no errors in dmesg.
* issue a power reset from the BMC via IPMI.
[Regression Potential]
Any of the test cases above could be impacted due to these changes.
CVE References
description: | updated |
Changed in linux-bluefield (Ubuntu Focal): | |
assignee: | nobody → Asmaa Mnebhi (asmaam) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in linux-bluefield (Ubuntu): | |
status: | New → Invalid |
description: | updated |
summary: |
- pwr-mlxbf.c: Improve driver dependencies + pwr-mlxbf.c: Improve driver dependencies and fix zero allocating memory + size |
Changed in linux-bluefield (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
This bug was fixed in the package linux-bluefield - 5.4.0-1045.50
---------------
linux-bluefield (5.4.0-1045.50) focal; urgency=medium
* focal/linux- bluefield: 5.4.0-1045.50 -proposed tracker (LP: #1983921)
* pwr-mlxbf.c: Improve driver dependencies and fix zero allocating memory size
(LP: #1980750)
- SAUCE: pwr-mlxbf.c: Improve driver dependencies
- SAUCE: pwr-mlxbf.c: Fix zero allocating memory size
- SAUCE: pwr-mlxbf.c: Update driver version to 1.1
* store the last executed chain also for clsact egress (LP: #1982980)
- net/sched: store the last executed chain also for clsact egress
* i2c-mlxbf.c: support lock mechanism (LP: #1981105)
- SAUCE: i2c-mlxbf.c: support lock mechanism
* i2c-mlxbf.c: fix wrong variable name (LP: #1982357)
- SAUCE: i2c-mlxbf.c: fix wrong variable name
[ Ubuntu: 5.4.0-125.141 ]
* focal/linux: 5.4.0-125.141 -proposed tracker (LP: #1983947) complete_ request
* nbd: requests can become stuck when disconnecting from server with qemu-nbd
(LP: #1896350)
- blk-mq: blk-mq: provide forced completion method
- blk-mq: move failure injection out of blk_mq_
- nbd: don't handle response without a corresponding request message
- nbd: make sure request completion won't concurrent
- nbd: don't clear 'NBD_CMD_INFLIGHT' flag if request is not completed
- nbd: fix io hung while disconnecting device
* CVE-2021-33656
- vt: drop old FONT ioctls
* CVE-2021-33061
- ixgbe: add the ability for the PF to disable VF link state
- ixgbe: add improvement for MDD response functionality
- ixgbevf: add disable link state
-- Zachary Tahenakos <email address hidden> Thu, 11 Aug 2022 15:11:51 -0400