Ubuntu 20.04: megaraid_sas driver update to version 07.713.01.00-rc1

Bug #1863581 reported by Sumit Saxena
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Michael Reed
Focal
Fix Released
Medium
Michael Reed

Bug Description

[IMPACT]
This is a feature request to update megaraid_sas driver in Ubuntu 20.04 release to latest Linux upstream tip.
The current latest upstream megaraid_sas driver version is- 07.713.01.00-rc1.
The current latest Ubuntu 20.04 Pre GA kernel has megaraid_sas driver version- 07.710.50.00-rc1. This will allow users to utilize features of
the PERC 11 device. For this reason, Broadcom and Dell have requested that we pull these patches to update the megaraid_sas driver to the current upstream version.

[FIXES]
Below set of upstream commit ids will lift driver version to 07.713.01.00-rc1 from 07.710.50.00-rc1:

92b4f9d15059 scsi: megaraid_sas: fixup MSIx interrupt setup during resume
824b72db5086 scsi: megaraid_sas: Update driver version to 07.713.01.00-rc1
4d1634b8d12e scsi: megaraid_sas: Use Block layer API to check SCSI device in-flight IO requests
56ee0c585602 scsi: megaraid_sas: Limit the number of retries for the IOCTLs causing firmware fault
6d7537270e32 scsi: megaraid_sas: Do not initiate OCR if controller is not in ready state
201a810cc188 scsi: megaraid_sas: Re-Define enum DCMD_RETURN_STATUS
eeb63c23ffe1 scsi: megaraid_sas: Do not set HBA Operational if FW is not in operational state
9330a0fd827a scsi: megaraid_sas: Do not kill HBA if JBOD Seqence map or RAID map is disabled
eb974f34bb9d scsi: megaraid_sas: Do not kill host bus adapter, if adapter is already dead
6e73550670ed scsi: megaraid_sas: Update optimal queue depth for SAS and NVMe devices
a7faf81d7858 scsi: megaraid_sas: Set no_write_same only for Virtual Disk
499e7246d6da scsi: megaraid_sas: Reset adapter if FW is not in READY state after device resume
73374b39b01e scsi: megaraid_sas: Make poll_aen_lock static
01b8bca81e18 compat_ioctl: use correct compat_ptr() translation in drivers
8cfb8e40d686 scsi: megaraid_sas: remove unused variables 'debugBlk','fusion'
ff7ca7fd03ce scsi: megaraid_sas: Unique names for MSI-X vectors
9ab089d30bcf scsi: megaraid_sas: Introduce module parameter for default queue depth
e5460f084b84 scsi: megaraid_sas: Fix a compilation warning
88d5c343949e scsi: megaraid_sas: Make a bunch of functions static
e45ab43b1d40 scsi: megaraid_sas: Make some functions static
3b5f307ef3cb scsi: megaraid_sas: fix panic on loading firmware crashdump
359603a3847e scsi: megaraid_sas: fix spelling mistake "megarid_sas" -> "megaraid_sas"
07d9aa143464 scsi: megaraid_sas: set an unlimited max_segment_size

Here is the link to latest Linux upstream megaraid_sas driver source:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/scsi/megaraid

Please let me know if any further information is required.

Thanks,
Sumit

All are clean cherry picks into the 5.4 branch and can be pulled from the
following branch:

https://code.launchpad.net/~mreed8855/ubuntu/+source/linux/+git/focal/+ref/lp1863581_megaraid_sas

[TESTING]
Modinfo should show that the megaraid_sas driver has been updated to 07.713.01.00

[REGRESSION RISK]
Low - Focal is not yet released, this is not being backported to current releases.

CVE References

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

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 1863581

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.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: focal
Sumit Saxena (ssaxena)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Michael Reed (mreed8855)
description: updated
Changed in linux (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Michael Reed (mreed8855)
Revision history for this message
Michael Reed (mreed8855) wrote :

Hi Sumit,

I have placed the test kernels at the following link can you please test it?

https://people.canonical.com/~mreed/lp1863581_megaraid_sas/

Regards,
Michael

Michael Reed (mreed8855)
Changed in linux (Ubuntu Focal):
importance: Undecided → Medium
Michael Reed (mreed8855)
description: updated
Revision history for this message
Michael Reed (mreed8855) wrote :

Hi Sumit,

Have you had a chance to test this yet?

Regards,
Michael

Revision history for this message
Sumit Saxena (ssaxena) wrote : Re: [Bug 1863581] Re: Ubuntu 20.04: megaraid_sas driver update to version 07.713.01.00-rc1
Download full text (3.9 KiB)

Hi Michael,

I have asked our internal test to validate megaraid_sas driver. I will
check with them and get back to you

Thanks,
Sumit

On Fri, Mar 27, 2020, 12:05 AM Michael Reed <email address hidden>
wrote:

> Hi Sumit,
>
> Have you had a chance to test this yet?
>
> Regards,
> Michael
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1863581
>
> Title:
> Ubuntu 20.04: megaraid_sas driver update to version 07.713.01.00-rc1
>
> Status in linux package in Ubuntu:
> In Progress
> Status in linux source package in Focal:
> In Progress
>
> Bug description:
> [IMPACT]
> This is a feature request to update megaraid_sas driver in Ubuntu 20.04
> release to latest Linux upstream tip.
> The current latest upstream megaraid_sas driver version is-
> 07.713.01.00-rc1.
> The current latest Ubuntu 20.04 Pre GA kernel has megaraid_sas driver
> version- 07.710.50.00-rc1. This will allow users to utilize features of
> the PERC 11 device. For this reason, Broadcom and Dell have requested
> that we pull these patches to update the megaraid_sas driver to the current
> upstream version.
>
> [FIXES]
> Below set of upstream commit ids will lift driver version to
> 07.713.01.00-rc1 from 07.710.50.00-rc1:
>
> 92b4f9d15059 scsi: megaraid_sas: fixup MSIx interrupt setup during resume
> 824b72db5086 scsi: megaraid_sas: Update driver version to
> 07.713.01.00-rc1
> 4d1634b8d12e scsi: megaraid_sas: Use Block layer API to check SCSI
> device in-flight IO requests
> 56ee0c585602 scsi: megaraid_sas: Limit the number of retries for the
> IOCTLs causing firmware fault
> 6d7537270e32 scsi: megaraid_sas: Do not initiate OCR if controller is
> not in ready state
> 201a810cc188 scsi: megaraid_sas: Re-Define enum DCMD_RETURN_STATUS
> eeb63c23ffe1 scsi: megaraid_sas: Do not set HBA Operational if FW is not
> in operational state
> 9330a0fd827a scsi: megaraid_sas: Do not kill HBA if JBOD Seqence map or
> RAID map is disabled
> eb974f34bb9d scsi: megaraid_sas: Do not kill host bus adapter, if
> adapter is already dead
> 6e73550670ed scsi: megaraid_sas: Update optimal queue depth for SAS and
> NVMe devices
> a7faf81d7858 scsi: megaraid_sas: Set no_write_same only for Virtual Disk
> 499e7246d6da scsi: megaraid_sas: Reset adapter if FW is not in READY
> state after device resume
> 73374b39b01e scsi: megaraid_sas: Make poll_aen_lock static
> 01b8bca81e18 compat_ioctl: use correct compat_ptr() translation in
> drivers
> 8cfb8e40d686 scsi: megaraid_sas: remove unused variables
> 'debugBlk','fusion'
> ff7ca7fd03ce scsi: megaraid_sas: Unique names for MSI-X vectors
> 9ab089d30bcf scsi: megaraid_sas: Introduce module parameter for default
> queue depth
> e5460f084b84 scsi: megaraid_sas: Fix a compilation warning
> 88d5c343949e scsi: megaraid_sas: Make a bunch of functions static
> e45ab43b1d40 scsi: megaraid_sas: Make some functions static
> 3b5f307ef3cb scsi: megaraid_sas: fix panic on loading firmware crashdump
> 359603a3847e scsi: megaraid_sas: fix spelling mistake "megarid_sas" ->
> "megaraid_sas"
> 07d9aa143464 scsi: megaraid_sas: set an unli...

Read more...

Michael Reed (mreed8855)
tags: added: hwcert-server
Revision history for this message
Sumit Saxena (ssaxena) wrote :

Hi Michael,

Please let me know what's the cut off date for these test results.

Thanks,
Sumit

Revision history for this message
Jerry Clement (jerry-clement) wrote :

Hi Sumit Saxena,
Kernel Freeze date is scheduled for April 9th. Recommend completing the testing as quickly as possible or it may miss the deadline.
Thank you
-Jerry Clement

Revision history for this message
Sumit Saxena (ssaxena) wrote :
Download full text (4.0 KiB)

Hi Jerry,

We are on it and will provide you results before freeze date.

Thanks,
Sumit

On Mon, Mar 30, 2020, 9:10 PM Jerry Clement <email address hidden> wrote:

> Hi Sumit Saxena,
> Kernel Freeze date is scheduled for April 9th. Recommend completing the
> testing as quickly as possible or it may miss the deadline.
> Thank you
> -Jerry Clement
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1863581
>
> Title:
> Ubuntu 20.04: megaraid_sas driver update to version 07.713.01.00-rc1
>
> Status in linux package in Ubuntu:
> In Progress
> Status in linux source package in Focal:
> In Progress
>
> Bug description:
> [IMPACT]
> This is a feature request to update megaraid_sas driver in Ubuntu 20.04
> release to latest Linux upstream tip.
> The current latest upstream megaraid_sas driver version is-
> 07.713.01.00-rc1.
> The current latest Ubuntu 20.04 Pre GA kernel has megaraid_sas driver
> version- 07.710.50.00-rc1. This will allow users to utilize features of
> the PERC 11 device. For this reason, Broadcom and Dell have requested
> that we pull these patches to update the megaraid_sas driver to the current
> upstream version.
>
> [FIXES]
> Below set of upstream commit ids will lift driver version to
> 07.713.01.00-rc1 from 07.710.50.00-rc1:
>
> 92b4f9d15059 scsi: megaraid_sas: fixup MSIx interrupt setup during resume
> 824b72db5086 scsi: megaraid_sas: Update driver version to
> 07.713.01.00-rc1
> 4d1634b8d12e scsi: megaraid_sas: Use Block layer API to check SCSI
> device in-flight IO requests
> 56ee0c585602 scsi: megaraid_sas: Limit the number of retries for the
> IOCTLs causing firmware fault
> 6d7537270e32 scsi: megaraid_sas: Do not initiate OCR if controller is
> not in ready state
> 201a810cc188 scsi: megaraid_sas: Re-Define enum DCMD_RETURN_STATUS
> eeb63c23ffe1 scsi: megaraid_sas: Do not set HBA Operational if FW is not
> in operational state
> 9330a0fd827a scsi: megaraid_sas: Do not kill HBA if JBOD Seqence map or
> RAID map is disabled
> eb974f34bb9d scsi: megaraid_sas: Do not kill host bus adapter, if
> adapter is already dead
> 6e73550670ed scsi: megaraid_sas: Update optimal queue depth for SAS and
> NVMe devices
> a7faf81d7858 scsi: megaraid_sas: Set no_write_same only for Virtual Disk
> 499e7246d6da scsi: megaraid_sas: Reset adapter if FW is not in READY
> state after device resume
> 73374b39b01e scsi: megaraid_sas: Make poll_aen_lock static
> 01b8bca81e18 compat_ioctl: use correct compat_ptr() translation in
> drivers
> 8cfb8e40d686 scsi: megaraid_sas: remove unused variables
> 'debugBlk','fusion'
> ff7ca7fd03ce scsi: megaraid_sas: Unique names for MSI-X vectors
> 9ab089d30bcf scsi: megaraid_sas: Introduce module parameter for default
> queue depth
> e5460f084b84 scsi: megaraid_sas: Fix a compilation warning
> 88d5c343949e scsi: megaraid_sas: Make a bunch of functions static
> e45ab43b1d40 scsi: megaraid_sas: Make some functions static
> 3b5f307ef3cb scsi: megaraid_sas: fix panic on loading firmware crashdump
> 359603a3847e scsi: megaraid_sas: fix spelling mistake "megarid_sas" ->
> "megaraid...

Read more...

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

Hi Sumit,

Any updates in regards, to testing?

Regards,
Michael

Stefan Bader (smb)
Changed in linux (Ubuntu Focal):
status: In Progress → Fix Committed
Revision history for this message
Sumit Saxena (ssaxena) wrote :
Download full text (3.9 KiB)

Hi Michael,

Testing is completed, no issues are reported.

Thanks,
Sumit

On Fri, Apr 3, 2020, 1:20 AM Michael Reed <email address hidden>
wrote:

> Hi Sumit,
>
> Any updates in regards, to testing?
>
> Regards,
> Michael
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1863581
>
> Title:
> Ubuntu 20.04: megaraid_sas driver update to version 07.713.01.00-rc1
>
> Status in linux package in Ubuntu:
> In Progress
> Status in linux source package in Focal:
> In Progress
>
> Bug description:
> [IMPACT]
> This is a feature request to update megaraid_sas driver in Ubuntu 20.04
> release to latest Linux upstream tip.
> The current latest upstream megaraid_sas driver version is-
> 07.713.01.00-rc1.
> The current latest Ubuntu 20.04 Pre GA kernel has megaraid_sas driver
> version- 07.710.50.00-rc1. This will allow users to utilize features of
> the PERC 11 device. For this reason, Broadcom and Dell have requested
> that we pull these patches to update the megaraid_sas driver to the current
> upstream version.
>
> [FIXES]
> Below set of upstream commit ids will lift driver version to
> 07.713.01.00-rc1 from 07.710.50.00-rc1:
>
> 92b4f9d15059 scsi: megaraid_sas: fixup MSIx interrupt setup during resume
> 824b72db5086 scsi: megaraid_sas: Update driver version to
> 07.713.01.00-rc1
> 4d1634b8d12e scsi: megaraid_sas: Use Block layer API to check SCSI
> device in-flight IO requests
> 56ee0c585602 scsi: megaraid_sas: Limit the number of retries for the
> IOCTLs causing firmware fault
> 6d7537270e32 scsi: megaraid_sas: Do not initiate OCR if controller is
> not in ready state
> 201a810cc188 scsi: megaraid_sas: Re-Define enum DCMD_RETURN_STATUS
> eeb63c23ffe1 scsi: megaraid_sas: Do not set HBA Operational if FW is not
> in operational state
> 9330a0fd827a scsi: megaraid_sas: Do not kill HBA if JBOD Seqence map or
> RAID map is disabled
> eb974f34bb9d scsi: megaraid_sas: Do not kill host bus adapter, if
> adapter is already dead
> 6e73550670ed scsi: megaraid_sas: Update optimal queue depth for SAS and
> NVMe devices
> a7faf81d7858 scsi: megaraid_sas: Set no_write_same only for Virtual Disk
> 499e7246d6da scsi: megaraid_sas: Reset adapter if FW is not in READY
> state after device resume
> 73374b39b01e scsi: megaraid_sas: Make poll_aen_lock static
> 01b8bca81e18 compat_ioctl: use correct compat_ptr() translation in
> drivers
> 8cfb8e40d686 scsi: megaraid_sas: remove unused variables
> 'debugBlk','fusion'
> ff7ca7fd03ce scsi: megaraid_sas: Unique names for MSI-X vectors
> 9ab089d30bcf scsi: megaraid_sas: Introduce module parameter for default
> queue depth
> e5460f084b84 scsi: megaraid_sas: Fix a compilation warning
> 88d5c343949e scsi: megaraid_sas: Make a bunch of functions static
> e45ab43b1d40 scsi: megaraid_sas: Make some functions static
> 3b5f307ef3cb scsi: megaraid_sas: fix panic on loading firmware crashdump
> 359603a3847e scsi: megaraid_sas: fix spelling mistake "megarid_sas" ->
> "megaraid_sas"
> 07d9aa143464 scsi: megaraid_sas: set an unlimited max_segment_size
>
> Here is the link to latest Linux upstr...

Read more...

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

Hi Sumit,

Can you test this in proposed, it is available now in 5.4.0-23.27

https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/proposed?field.series_filter=focal

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed.

Thank you,
Michael

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

I have tested this in proposed.

tags: added: verification-done-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (35.2 KiB)

This bug was fixed in the package linux - 5.4.0-24.28

---------------
linux (5.4.0-24.28) focal; urgency=medium

  * focal/linux: 5.4.0-24.28 -proposed tracker (LP: #1871939)

  * getitimer returns it_value=0 erroneously (LP: #1349028)
    - [Config] CONTEXT_TRACKING_FORCE policy should be unset

  * 12d1:1038 Dual-Role OTG device on non-HNP port - unable to enumerate USB
    device on port 1 (LP: #1047527)
    - [Config] USB_OTG_FSM policy not needed

  * Add DCPD backlight support for HP CML system (LP: #1871589)
    - SAUCE: drm/i915: Force DPCD backlight mode for HP CML 2020 system

  * Backlight brightness cannot be adjusted using keys (LP: #1860303)
    - SAUCE drm/i915: Force DPCD backlight mode for HP Spectre x360 Convertible
      13t-aw100

  * CVE-2020-11494
    - slcan: Don't transmit uninitialized stack data in padding

  * Ubuntu Kernel Support for OpenPOWER NV Secure & Trusted Boot (LP: #1866909)
    - powerpc: Detect the secure boot mode of the system
    - powerpc/ima: Add support to initialize ima policy rules
    - powerpc: Detect the trusted boot state of the system
    - powerpc/ima: Define trusted boot policy
    - ima: Make process_buffer_measurement() generic
    - certs: Add wrapper function to check blacklisted binary hash
    - ima: Check against blacklisted hashes for files with modsig
    - powerpc/ima: Update ima arch policy to check for blacklist
    - powerpc/ima: Indicate kernel modules appended signatures are enforced
    - powerpc/powernv: Add OPAL API interface to access secure variable
    - powerpc: expose secure variables to userspace via sysfs
    - x86/efi: move common keyring handler functions to new file
    - powerpc: Load firmware trusted keys/hashes into kernel keyring
    - x86/efi: remove unused variables

  * [roce-0227]sync mainline kernel 5.6rc3 roce patchset into ubuntu HWE kernel
    branch (LP: #1864950)
    - RDMA/hns: Cleanups of magic numbers
    - RDMA/hns: Optimize eqe buffer allocation flow
    - RDMA/hns: Add the workqueue framework for flush cqe handler
    - RDMA/hns: Delayed flush cqe process with workqueue
    - RDMA/hns: fix spelling mistake: "attatch" -> "attach"
    - RDMA/hns: Initialize all fields of doorbells to zero
    - RDMA/hns: Treat revision HIP08_A as a special case
    - RDMA/hns: Use flush framework for the case in aeq
    - RDMA/hns: Stop doorbell update while qp state error
    - RDMA/hns: Optimize qp destroy flow
    - RDMA/hns: Optimize qp context create and destroy flow
    - RDMA/hns: Optimize qp number assign flow
    - RDMA/hns: Optimize qp buffer allocation flow
    - RDMA/hns: Optimize qp param setup flow
    - RDMA/hns: Optimize kernel qp wrid allocation flow
    - RDMA/hns: Optimize qp doorbell allocation flow
    - RDMA/hns: Check if depth of qp is 0 before configure

  * [hns3-0316]sync mainline kernel 5.6rc4 hns3 patchset into ubuntu HWE kernel
    branch (LP: #1867586)
    - net: hns3: modify an unsuitable print when setting unknown duplex to fibre
    - net: hns3: add enabled TC numbers and DWRR weight info in debugfs
    - net: hns3: add support for dump MAC ID and loopback status in debugfs
    - net: hns3: add missing help info for QS shaper...

Changed in linux (Ubuntu Focal):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.