[Bionic] i2c: xlp9xx: Fix case where SSIF read transaction completes early
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Canonical Kernel Team | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
i2c: xlp9xx: Fix case where SSIF read transaction completes early
During ipmi stress tests we see occasional failure of transactions
at the boot time. This happens in the case of a I2C_M_RECV_LEN
transactions, when the read transfer completes (with the initial
read length of 34) before the driver gets a chance to handle interrupts.
[Test]
Use ipmitool to generate a lot of data read, run multiple instances of the following test:
for i in {1..200}; do sudo ipmitool sel list ; sudo ipmitool sensor list ; sudo ipmitool sdr list ; sudo ipmitool sel list ; done
[Fix]
Following upstream patch fixes this issue:
commit 5eb173f5c8f3a3c
Author: George Cherian <email address hidden>
Date: Wed Aug 8 23:36:48 2018 -0700
i2c: xlp9xx: Fix case where SSIF read transaction completes early
[Regression Risk]
The fix is to the i2c-xlp9xx driver, and does not impact any platform code. Risk of regression is low.
CVE References
Changed in linux (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in linux (Ubuntu): | |
status: | Incomplete → Fix Committed |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
tags: | added: cscc |
Changed in linux (Ubuntu): | |
status: | Fix Committed → Fix Released |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1787240
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.