i2c-mlxbf.c: support lock mechanism
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-bluefield (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Unassigned |
Bug Description
SRU Justification:
[Impact]
Support the I2C lock mechanism, otherwise there could be unexpected behavior when an i2c bus is accessed by several entities like the linux driver, ATF driver and UEFI driver. Make sure to pick up the ATF/UEFI image to accompany this change
because at boot time ATF will ensure that the lock is released.
[Fix]
* Support lock and unlock
* replace ioremap_nocache with ioremap
[Test Case]
* Make sure the i2c-mlxbf.c driver is loaded and /dev/i2c-1 is created
* check that ipmitool from the BF->BMC and from the BMC->BF work (this only applies on boards with a BMC of course)
[Regression Potential]
Any of the test cases above could be impacted due to these changes.
Make sure you load the latest ATF/UEFI image to accompany this change.
CVE References
description: | updated |
description: | updated |
Changed in linux-bluefield (Ubuntu): | |
status: | New → Fix Committed |
Changed in linux-bluefield (Ubuntu Focal): | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
Changed in linux-bluefield (Ubuntu): | |
status: | Fix Committed → Invalid |
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