~mreed8855/ubuntu/+source/linux/+git/jammy:mpi3mr_update3

Last commit made on 2023-12-02
Get this branch:
git clone -b mpi3mr_update3 https://git.launchpad.net/~mreed8855/ubuntu/+source/linux/+git/jammy
Only Michael Reed can upload to this branch. If you are Michael Reed please log in for upload directions.

Branch merges

Branch information

Name:
mpi3mr_update3
Repository:
lp:~mreed8855/ubuntu/+source/linux/+git/jammy

Recent commits

3874fc4... by Sreekanth Reddy

scsi: scsi_transport_sas: Add 22.5 Gbps link rate definitions

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

Add 22.5 Gbps link rate definitions.

Link: https://<email address hidden>
Reviewed-by: John Garry <email address hidden>
Signed-off-by: Sreekanth Reddy <email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit 3d8fa78ebd61aada5d55de6e04beee7fd916c62b)
Signed-off-by: Michael Reed <email address hidden>

c920f29... by Michael Reed

Removing an artifact introduced the following patch

f1dec6b1e25e scsi: mpi3mr: Avoid escalating to higher level reset when target is removed
I changed scmd->scsi_done(scmd) to scsi_done(scmd)

d1542c5... by Sathya Prakash Veerichetty

scsi: mpi3mr: Propagate sense data for admin queue SCSI I/O

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

Copy the sense data to internal driver buffer when the firmware completes
any SCSI I/O command sent through admin queue with sense data for further
use.

Fixes: 506bc1a0d6ba ("scsi: mpi3mr: Add support for MPT commands")
Cc: <email address hidden>
Signed-off-by: Sathya Prakash <email address hidden>
Signed-off-by: Sumit Saxena <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit f762326b2baa86ae647e2ba6832bc87e238f68ad)
Signed-off-by: Michael Reed <email address hidden>

1d1256c... by tititou

scsi: mpi3mr: Fix the type used for pointers to bitmap

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

Bitmaps are "unsigned long[]", so better use "unsigned long *" instead of a
plain "void *" when dealing with pointers to bitmaps.

This is more informative.

Signed-off-by: Christophe JAILLET <email address hidden>
Link: https://lore.kernel.org/r/8bdf9148ce1a5d01aac11c46c8617b477813457e<email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit 144679dfb5840d58fd37a14f7b3a268531ec3b79)
Signed-off-by: Michael Reed <email address hidden>

dee5225... by Harshit Mogalapalli <email address hidden>

scsi: mpi3mr: Use -ENOMEM instead of -1 in mpi3mr_expander_add()

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

smatch warnings:

drivers/scsi/mpi3mr/mpi3mr_transport.c:1449 mpi3mr_expander_add() warn:
 returning -1 instead of -ENOMEM is sloppy

No functional change.

Reported-by: kernel test robot <email address hidden>
Reported-by: Dan Carpenter <email address hidden>
Link: https://<email address hidden>/
Signed-off-by: Harshit Mogalapalli <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit 2a954832015df3dc4266f73bed1b3c8b4cb9919b)
Signed-off-by: Michael Reed <email address hidden>

6939606... by Ranjan Kumar

scsi: mpi3mr: Use IRQ save variants of spinlock to protect chain frame allocation

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

Driver uses spin lock without irqsave when it needs to acquire a chain
frame. This is done to protect chain frame allocation from multiple
submission threads. If there is any I/O queued from an interrupt context,
and if that requires a chain frame, and if the chain lock is held by the CPU
which got interrupted, then there will be a possible deadlock.

Signed-off-by: Ranjan Kumar <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit 2acc635a0e5e91c267f2cb1c25748e8d06888e63)
Signed-off-by: Michael Reed <email address hidden>

359e714... by Ranjan Kumar

scsi: mpi3mr: Handle soft reset in progress fault code (0xF002)

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

The driver is exiting from the fault watchdog thread if it sees the 0xF002
(Soft reset in progress) fault code.

If the driver initiates the soft reset, then the driver restarts the
watchdog at the end of the soft reset completion. However, if the soft
reset is initiated by the firmware asynchronously, then the driver will
never restart the watchdog and never re-initialize the controller after the
asynchronous soft reset completion.

Signed-off-by: Ranjan Kumar <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit a3d27dfdcfc27ac3f46de5391bb6d24f04af7941)
Signed-off-by: Michael Reed <email address hidden>

37cce51... by Bart Van Assche

scsi: mpi3mr: Declare SCSI host template const

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

Make it explicit that the SCSI host template is not modified.

Signed-off-by: Bart Van Assche <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit b85f82f3c92a05cad2ae785de21299e52a22c63b)
Signed-off-by: Michael Reed <email address hidden>

c74bcdc... by Ranjan Kumar

scsi: mpi3mr: Update driver version to 8.4.1.0.0

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

Update driver version to 8.4.1.0.0.

Signed-off-by: Ranjan Kumar <email address hidden>
Signed-off-by: Sreekanth Reddy <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit 1ea41edd88f22077a9f86f45f2eca5663bbcfd3e)
Signed-off-by: Michael Reed <email address hidden>

9ca7b2a... by Ranjan Kumar

scsi: mpi3mr: Update copyright year

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

Update copyright year from 2022 to 2023.

Signed-off-by: Ranjan Kumar <email address hidden>
Signed-off-by: Sreekanth Reddy <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit e74f2fbd8b06e57c60ad4b92ea302a11671ac634)
Signed-off-by: Michael Reed <email address hidden>