[SRU][F:linux-bluefield][PATCH v1 0/1] UBUNTU: SAUCE: ipmb_host.c: Fix slow transactions
Asmaa Mnebhi
asmaa at nvidia.com
Fri Apr 2 21:40:49 UTC 2021
BugLink: https://bugs.launchpad.net/bugs/1922393
SRU Justification:
[Impact]
* The previous ipmb_host patch broke the customer tests. They requested to make the ipmb_host response time as long as before. In the case where the I2C bus is made very busy, the ipmb_host driver just drops slow/delayed responses. This fix elongates the timeout of the response.
* Fixes a crash which occurs after powercycling certain BlueField-2 systems.
* The crash is due to the handshake which takes too long to wait for a response at boot time.
[Fix]
* Before executing the IPMB handshake which loads the ipmb_host driver, detect if there is a slave detected and make sure that the slave can respond.
* Free current_msg pointer right after sending the message so that sent transactions are independent of the response transactions.
[Test Case]
* soft reset
* powercycle
* run ipmitool commands
* remove and load module manually
[Regression Potential]
* The regression can be considered as low, since:
* it restores previous stable code for the customer
* and fixes a crash occurring after powercycling certain BlueField-2 systems.
More information about the kernel-team
mailing list