~mreed8855/ubuntu/+source/linux/+git/impish:mpt3sas_update_38_100_skip

Last commit made on 2021-08-16
Get this branch:
git clone -b mpt3sas_update_38_100_skip https://git.launchpad.net/~mreed8855/ubuntu/+source/linux/+git/impish
Only Michael Reed can upload to this branch. If you are Michael Reed please log in for upload directions.

Branch merges

Branch information

Name:
mpt3sas_update_38_100_skip
Repository:
lp:~mreed8855/ubuntu/+source/linux/+git/impish

Recent commits

eaacf1e... by Sreekanth Reddy

scsi: mpt3sas: Bump driver version to 38.100.00.00

Bump driver version to 38.100.00.00.

BugLink: https://launchpad.net/bugs/1935034
Link: https://<email address hidden>
Reviewed-by: Lee Duncan <email address hidden>
Signed-off-by: Sreekanth Reddy <email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit 44f88ef3c9f1edf4f8229508649965d85bc6f186)
Signed-off-by: Michael Reed <email address hidden>

7e1114d... by Suganath Prabu

scsi: mpt3sas: Fix Coverity reported issue

Fix the structurally dead code (UNREACHABLE) type of error reported by
Coverity.

BugLink: https://launchpad.net/bugs/1935034
Link: https://lore<email address hidden>
Reported-by: Colin Ian King <email address hidden>
Signed-off-by: Suganath Prabu S <email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit cf750be8e68e8c2755f0ee29784463a2da91e922)
Signed-off-by: Michael Reed <email address hidden>

8d48340... by "Gustavo A. R. Silva" <email address hidden>

scsi: mpt3sas: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a couple
of warnings by explicitly adding break statements instead of just letting
the code fall through to the next case.

BugLink: https://launchpad.net/bugs/1935034
Link: https://github.com/KSPP/linux/issues/115
Link: https://lore.kernel.org/r/20210528200828.GA39349@embeddedor
Reviewed-by: Kees Cook <email address hidden>
Signed-off-by: Gustavo A. R. Silva <email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit 84a84cc6aff4243c9f28c879b94d0dd55a310b54)
Signed-off-by: Michael Reed <email address hidden>

43dd8b3... by Hannes Reinecke <email address hidden>

scsi: core: Introduce scsi_build_sense()

Introduce scsi_build_sense() as a wrapper around scsi_build_sense_buffer()
to format the buffer and set the correct SCSI status.

BugLink: https://launchpad.net/bugs/1935034
Link: https://<email address hidden>
Reviewed-by: Bart Van Assche <email address hidden>
Reviewed-by: Christoph Hellwig <email address hidden>
Signed-off-by: Hannes Reinecke <email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit f2b1e9c6f867ec8f929e96ba4e4010e267587448)
Signed-off-by: Michael Reed <email address hidden>

d40f678... by Suganath Prabu

scsi: mpt3sas: Handle firmware faults during second half of IOC init

If a firmware fault occurs while scanning the devices during IOC
initialization then the driver issues the hard reset operation to recover
the IOC. However, the driver is not issuing a Port enable request
messageĀ as part of hard reset operation during IOC initialization. Due to
this, the driver will not receive get any device discovery-related events
and hence devices will not be accessible.

Teach the driver to gracefully handle firmware faults while scanning for
target devices during IOC initialization. Make the driver issue a port
enable request message as part of hard reset operation. This permits
receiving device discovery-related events from the firmware after the hard
reset operation completes.

BugLink: https://launchpad.net/bugs/1935034
Link: https://lore<email address hidden>
Signed-off-by: Suganath Prabu S <email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit a0815c45c89f544861eae55d85ccee6b1b1451e8)
Signed-off-by: Michael Reed <email address hidden>

ebd5f21... by Suganath Prabu

scsi: mpt3sas: Handle firmware faults during first half of IOC init

During first half of IOC initialization (i.e. before going for device
scanning), if any firmware fault occurs then driver is aborting the IOC
initialization operation.

Modify the driver to issue a diag reset operation to recover IOC from fault
state and reinitialize the IOC.

BugLink: https://launchpad.net/bugs/1935034
Link: https://lore<email address hidden>
Signed-off-by: Suganath Prabu S <email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit 19a622c39a9d497d3c06ffe9068ee4c7bbd2bdcc)
Signed-off-by: Michael Reed <email address hidden>

3343a6b... by Randy Dunlap <email address hidden>

scsi: mpt3sas: Documentation cleanup

Fix kernel-doc warnings, spellos, and typos.

drivers/scsi/mpt3sas/mpt3sas_base.c:5430: warning: Excess function parameter 'ct' description in '_base_allocate_pcie_sgl_pool'
drivers/scsi/mpt3sas/mpt3sas_base.c:5493: warning: Excess function parameter 'ctr' description in '_base_allocate_chain_dma_pool'
mpt3sas_base.c:1362: warning: missing initial short description on line:
 * _base_display_reply_info -
mpt3sas_base.c:2151: warning: contents before sections
mpt3sas_base.c:2314: warning: missing initial short description on line:
 * base_make_prp_nvme -

BugLink: https://launchpad.net/bugs/1935034
Link: https://<email address hidden>
Cc: <email address hidden>
Cc: "James E.J. Bottomley" <email address hidden>
Cc: "Martin K. Petersen" <email address hidden>
Cc: Sathya Prakash <email address hidden>
Cc: Sreekanth Reddy <email address hidden>
Cc: Suganath Prabu Subramani <email address hidden>
Cc: <email address hidden>
Signed-off-by: Randy Dunlap <email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit 2910a4a9e90a5853f38766b2e8d025e3bb26d12b)
Signed-off-by: Michael Reed <email address hidden>

c20f7fc... by Kamal Mostafa

UBUNTU: upstream stable to v5.13.11

BugLink: https://bugs.launchpad.net/bugs/1940121

Ignore: yes
Signed-off-by: Kamal Mostafa <email address hidden>

9df75ef... by Greg Kroah-Hartman <email address hidden>

Linux 5.13.11

BugLink: https://bugs.launchpad.net/bugs/1940121

Link: https://<email address hidden>
Tested-by: Shuah Khan <email address hidden>
Tested-by: Fox Chen <email address hidden>
Tested-by: Linux Kernel Functional Testing <email address hidden>
Tested-by: Guenter Roeck <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>

8b427a7... by Miklos Szeredi <email address hidden>

ovl: prevent private clone if bind mount is not allowed

BugLink: https://bugs.launchpad.net/bugs/1940121

commit 427215d85e8d1476da1a86b8d67aceb485eb3631 upstream.

Add the following checks from __do_loopback() to clone_private_mount() as
well:

 - verify that the mount is in the current namespace

 - verify that there are no locked children

Reported-by: Alois Wohlschlager <email address hidden>
Fixes: c771d683a62e ("vfs: introduce clone_private_mount()")
Cc: <email address hidden> # v3.18
Signed-off-by: Miklos Szeredi <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>