Comment 14 for bug 1935034

Revision history for this message
Michael Reed (mreed8855) wrote (last edit ):

Many of the patches were already in the impish kernel, so I have summarized the impact statement for what was cherry picked.

SRU Justification:

[Impact]
This is a feature request to update the mpt3sas driver to latest version in upstream 38.100.00.00 in Ubuntu 21.10 and Ubuntu 20.04.
This will allow users to use fixes and enhancements that landed upstream in 5.14. For this reason,
Broadcom and Dell have requested to pull these patches to update the
mpt3sas driver to the current upstream version.

[FIXES]
The following fix patches are cosmetic patches which doesn't have any driver functionality impacts:
- 84a84cc6af scsi: mpt3sas: Fix fall-through warnings for Clang
- cf750be8e6 scsi: mpt3sas: Fix Coverity reported issue

The following patches are related to kernel APIs compatible changes and doesn't have any driver functionality impacts:
- f2b1e9c6f8 scsi: core: Introduce scsi_build_sense()
- 2910a4a9e9 scsi: mpt3sas: Documentation cleanup

Handle firmware faults gracefully during IOC initialization time:
Currently, if the driver detects any firmware fault during the IOC initialization then the driver terminates the IOC initialization operation. With this feature, the driver tries to recover the IOC from the fault state, if IOC successfully recovers from the fault state then driver continues with the IOC initialization operation.
- 19a622c39a scsi: mpt3sas: Handle firmware faults during first half of IOC init
- a0815c45c8 scsi: mpt3sas: Handle firmware faults during second half of IOC init

[TESTING]
Load the driver
Run IO

[REGRESSION RISK]
No extra test cases are needed, normal regression test cases such as driver load & running IOs are enough.