]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: mpi3mr: Read missing IOCFacts flag for reply queue full overflow
authorChandrakanth Patil <chandrakanth.patil@broadcom.com>
Thu, 11 Dec 2025 00:29:29 +0000 (05:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2026 09:14:19 +0000 (10:14 +0100)
commit7ae98a3cf428f6fdc9d98f19dd06a1239eafa58c
tree756c5dc8441b3bacaaf647ca6a8c8d974628a02d
parent0d36db68fdb8a3325386fd9523b67735f944e1f3
scsi: mpi3mr: Read missing IOCFacts flag for reply queue full overflow

commit d373163194982f43b92c552c138c29d9f0b79553 upstream.

The driver was not reading the MAX_REQ_PER_REPLY_QUEUE_LIMIT IOCFacts
flag, so the reply-queue-full handling was never enabled, even on
firmware that supports it. Reading this flag enables the feature and
prevents reply queue overflow.

Fixes: f08b24d82749 ("scsi: mpi3mr: Avoid reply queue full condition")
Cc: stable@vger.kernel.org
Signed-off-by: Chandrakanth Patil <chandrakanth.patil@broadcom.com>
Link: https://patch.msgid.link/20251211002929.22071-1-chandrakanth.patil@broadcom.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
drivers/scsi/mpi3mr/mpi3mr_fw.c