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

Last commit made on 2023-11-09
Get this branch:
git clone -b mpi3mr_update 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_update
Repository:
lp:~mreed8855/ubuntu/+source/linux/+git/jammy

Recent commits

c8d2db6... by Sreekanth Reddy

scsi: scsi_transport_sas: Add 22.5 Gbps link rate definitions

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>

4524508... by Michael Reed

Updated scsi_done(scmd) scmd->scsi_done(scmd). This is a artifact from previous refactoring of the code

b751afd... by Ranjan Kumar

scsi: mpi3mr: Update driver version to 8.5.0.0.0

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

Update driver version to 8.5.0.0.0

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 9a9068b2afa0b0bf559b66b374785d2fcb5b9b5e)
Signed-off-by: Michael Reed <email address hidden>

d0700e4... by Ranjan Kumar

scsi: mpi3mr: Enhance handling of devices removed after controller reset

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

Mark all of the devices that are exposed to the OS prior to a controller
reset and not detected by the controller after the reset as removed devices
and the I/Os to those devices are unblocked (and returned with
DID_NO_CONNECT) prior to removing the devices one after the other.

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 d9a5ab0ea98fdee77fcbfec27bb3976de9615377)
Signed-off-by: Michael Reed <email address hidden>

a892967... by Ranjan Kumar

scsi: mpi3mr: WRITE SAME implementation

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

Enhance driver to divert the WRITE SAME commands that are issued with
UNMAP=1 and NDOB=1 and with the transfer length greater than the max WRITE
SAME length specified by the firmware for the particular drive to the
controller firmware.

Reported-by: kernel test robot <email address hidden>
Closes: https://<email address hidden>/
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 e7a8648e1ce2ddbc74ac69da83dcebbee0c7e1b8)
Signed-off-by: Michael Reed <email address hidden>

45759e7... by Ranjan Kumar

scsi: mpi3mr: Add support for more than 1MB I/O

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

Enhance the driver to get the maximum data length per I/O request from IOC
Facts data and report that to the upper layers. If the IOC facts data is
not reported then a default I/O size of 1MB is reported to the OS.

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 d9adb81e67e9be51990a14389cd1762086b44985)
Signed-off-by: Michael Reed <email address hidden>

5ab8bdb... by Ranjan Kumar

scsi: mpi3mr: Update MPI Headers to version 3.00.28

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

Updated MPI Headers to version 3.00.28.

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 6f81b1cfdf33533925dbbfab9923f67fb4a31858)
Signed-off-by: Michael Reed <email address hidden>

85b8297... by Ranjan Kumar

scsi: mpi3mr: Invoke soft reset upon TSU or event ack time out

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

When a timestamp update or an event acknowledgment command times out, the
driver invokes the soft reset handler to recover the controller while
holding a mutex lock. The soft reset handler also tries to acquire the same
mutex to send initialization commands to the controller which leads to a
deadlock scenario.

To resolve the issue the driver will check thestatus and if this indicates
the controller is operational, the driver will issue a diagnostic fault
reset and exit out of the command processing function. If the controller is
already faulted or asynchronously reset, then the driver will just exit the
command processing function.

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 9134211f7bed218bc01940fc24ebe8b4bc02b69b)
Signed-off-by: Michael Reed <email address hidden>

ad6a816... 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>

4e541c9... 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>