]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: mpi3mr: Wait for diagnostic save during controller init
authorRanjan Kumar <ranjan.kumar@broadcom.com>
Tue, 28 Feb 2023 14:08:32 +0000 (06:08 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Mar 2023 10:49:18 +0000 (12:49 +0200)
commit92548801f01e4adfbc95de18849e8aee21aeeb5a
tree9e09beefa750e546431ee5b82d9aef2b8150db54
parent88f7fb47e0f016fdbbc15568e68bb12af6e2c8fb
scsi: mpi3mr: Wait for diagnostic save during controller init

[ Upstream commit 0a319f1629495d27879b7ebf6eee62b8cf6e4c37 ]

If a controller reset operation is triggered to recover the controller from
a fault state, then wait for the snapdump to be saved in the firmware
region before proceeding to reset the controller.

Signed-off-by: Ranjan Kumar <ranjan.kumar@broadcom.com>
Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Link: https://lore.kernel.org/r/20230228140835.4075-4-ranjan.kumar@broadcom.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/mpi3mr/mpi3mr_fw.c