mbox series

[SRU,F-hwe-5.11,00/30] Update SmartPQI driver

Message ID 20210701065141.6018-1-krzysztof.kozlowski@canonical.com
Headers show
Series Update SmartPQI driver | expand

Message

Krzysztof Kozlowski July 1, 2021, 6:51 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1933518

[Impact]

* Microchip asks to update the SCSI SmartPQI driver to latest version
  from upstream Linux kernel.
* This contains mostly fixes and refactorings.
* Updated driver allows to support properly latest SmartPQI controllers.

[Fix]

* Cherry-pick all the patches related to smartpqi.
* These are clean picks although the patchset is pretty big.

[Test Plan]

* Build-test each commit.
* Asked Microhip to perform the testing. Received feedback:
  "I installed the provided kernel package and thus far performed:
  1. reboot tests
  2. insmod/rmmod tests
  3. fio testing: no performance regressions"

[Where problems could occur]

* The patches touch only smartpqi driver so the scope of possible
  failures is limited to systems which probe it (so basically systems
  with SmartPQI controller).
* On such SmartPQI-equipped systems the patchset can cause data corruption,
  data loss or unavailability of SCSI storage and boot failure.

Best regards,
Krzysztof


Bart Van Assche (1):
  scsi: smartpqi: Remove unused functions

Don Brace (9):
  scsi: smartpqi: Refactor aio submission code
  scsi: smartpqi: Refactor scatterlist code
  scsi: smartpqi: Add support for RAID5 and RAID6 writes
  scsi: smartpqi: Add support for RAID1 writes
  scsi: smartpqi: Add stream detection
  scsi: smartpqi: Add host level stream detection enable
  scsi: smartpqi: Update version to 2.1.8-045
  scsi: smartpqi: Fix blocks_per_row static checker issue
  scsi: smartpqi: Fix device pointer variable reference static checker
    issue

Kevin Barnett (17):
  scsi: smartpqi: Add support for BMIC sense feature cmd and feature
    bits
  scsi: smartpqi: Add support for long firmware version
  scsi: smartpqi: Align code with oob driver
  scsi: smartpqi: Disable WRITE SAME for HBA NVMe disks
  scsi: smartpqi: Remove timeouts from internal cmds
  scsi: smartpqi: Add support for wwid
  scsi: smartpqi: Update event handler
  scsi: smartpqi: Update soft reset management for OFA
  scsi: smartpqi: Synchronize device resets with mutex
  scsi: smartpqi: Update suspend/resume and shutdown
  scsi: smartpqi: Update RAID bypass handling
  scsi: smartpqi: Update OFA management
  scsi: smartpqi: Update device scan operations
  scsi: smartpqi: Fix driver synchronization issues
  scsi: smartpqi: Convert snprintf() to scnprintf()
  scsi: smartpqi: Add additional logging for LUN resets
  scsi: smartpqi: Correct system hangs when resuming from hibernation

Murthy Bhat (3):
  scsi: smartpqi: Add phy ID support for the physical drives
  scsi: smartpqi: Update SAS initiator_port_protocols and
    target_port_protocols
  scsi: smartpqi: Update enclosure identifier in sysfs

 drivers/scsi/smartpqi/smartpqi.h              |  299 +-
 drivers/scsi/smartpqi/smartpqi_init.c         | 2989 ++++++++++-------
 .../scsi/smartpqi/smartpqi_sas_transport.c    |   39 +-
 drivers/scsi/smartpqi/smartpqi_sis.c          |    4 +-
 4 files changed, 2023 insertions(+), 1308 deletions(-)

Comments

Kleber Sacilotto de Souza July 1, 2021, 8:30 a.m. UTC | #1
On 01.07.21 08:51, Krzysztof Kozlowski wrote:
> BugLink: https://bugs.launchpad.net/bugs/1933518
> 
> [Impact]
> 
> * Microchip asks to update the SCSI SmartPQI driver to latest version
>    from upstream Linux kernel.
> * This contains mostly fixes and refactorings.
> * Updated driver allows to support properly latest SmartPQI controllers.
> 
> [Fix]
> 
> * Cherry-pick all the patches related to smartpqi.
> * These are clean picks although the patchset is pretty big.
> 
> [Test Plan]
> 
> * Build-test each commit.
> * Asked Microhip to perform the testing. Received feedback:
>    "I installed the provided kernel package and thus far performed:
>    1. reboot tests
>    2. insmod/rmmod tests
>    3. fio testing: no performance regressions"
> 
> [Where problems could occur]
> 
> * The patches touch only smartpqi driver so the scope of possible
>    failures is limited to systems which probe it (so basically systems
>    with SmartPQI controller).
> * On such SmartPQI-equipped systems the patchset can cause data corruption,
>    data loss or unavailability of SCSI storage and boot failure.
> 
> Best regards,
> Krzysztof

Hi Krzysztof,

We usually don't apply patches directly to the hwe kernels, unless strictly
necessary. In this case it would be better to submit the patches hirsute/linux
and they will get applied automatically to focal/linux-hwe-5.11 on the next
rebase.

We also suggest that for large series it would be better to review and apply
the patches if they are sent as a pull request.

Could you please re-send this series for hirsute/linux?


Thanks,
Kleber

> 
> 
> Bart Van Assche (1):
>    scsi: smartpqi: Remove unused functions
> 
> Don Brace (9):
>    scsi: smartpqi: Refactor aio submission code
>    scsi: smartpqi: Refactor scatterlist code
>    scsi: smartpqi: Add support for RAID5 and RAID6 writes
>    scsi: smartpqi: Add support for RAID1 writes
>    scsi: smartpqi: Add stream detection
>    scsi: smartpqi: Add host level stream detection enable
>    scsi: smartpqi: Update version to 2.1.8-045
>    scsi: smartpqi: Fix blocks_per_row static checker issue
>    scsi: smartpqi: Fix device pointer variable reference static checker
>      issue
> 
> Kevin Barnett (17):
>    scsi: smartpqi: Add support for BMIC sense feature cmd and feature
>      bits
>    scsi: smartpqi: Add support for long firmware version
>    scsi: smartpqi: Align code with oob driver
>    scsi: smartpqi: Disable WRITE SAME for HBA NVMe disks
>    scsi: smartpqi: Remove timeouts from internal cmds
>    scsi: smartpqi: Add support for wwid
>    scsi: smartpqi: Update event handler
>    scsi: smartpqi: Update soft reset management for OFA
>    scsi: smartpqi: Synchronize device resets with mutex
>    scsi: smartpqi: Update suspend/resume and shutdown
>    scsi: smartpqi: Update RAID bypass handling
>    scsi: smartpqi: Update OFA management
>    scsi: smartpqi: Update device scan operations
>    scsi: smartpqi: Fix driver synchronization issues
>    scsi: smartpqi: Convert snprintf() to scnprintf()
>    scsi: smartpqi: Add additional logging for LUN resets
>    scsi: smartpqi: Correct system hangs when resuming from hibernation
> 
> Murthy Bhat (3):
>    scsi: smartpqi: Add phy ID support for the physical drives
>    scsi: smartpqi: Update SAS initiator_port_protocols and
>      target_port_protocols
>    scsi: smartpqi: Update enclosure identifier in sysfs
> 
>   drivers/scsi/smartpqi/smartpqi.h              |  299 +-
>   drivers/scsi/smartpqi/smartpqi_init.c         | 2989 ++++++++++-------
>   .../scsi/smartpqi/smartpqi_sas_transport.c    |   39 +-
>   drivers/scsi/smartpqi/smartpqi_sis.c          |    4 +-
>   4 files changed, 2023 insertions(+), 1308 deletions(-)
>