Public bug reported:

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.

** Affects: linux-bluefield (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1922393

Title:
  ipmb_host.c: Fix slow transactions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/1922393/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to