]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: smartpqi: Eliminate drive spin down on warm boot
authorSagar Biradar <sagar.biradar@microchip.com>
Tue, 1 Feb 2022 21:48:08 +0000 (15:48 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Feb 2022 04:38:34 +0000 (23:38 -0500)
commit93fdf9810e7eaea198cf26b80a9894b868f0148a
tree12232a2f9c0d9095639cc9d03d3d349ad7664711
parent6decdce8e973ab29c0a10a38570ddc114a10e120
scsi: smartpqi: Eliminate drive spin down on warm boot

Avoid drive spin down during a warm boot.

Call the BMIC Flush Cache command (0xc2) to indicate the reason for the
flush cache (shutdown, hibernate, suspend, or restart).

Link: https://lore.kernel.org/r/164375208810.440833.11254644025650871435.stgit@brunhilda.pdev.net
Reviewed-by: Mike McGowen <mike.mcgowen@microchip.com>
Reviewed-by: Scott Benesh <scott.benesh@microchip.com>
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Signed-off-by: Sagar Biradar <sagar.biradar@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/smartpqi/smartpqi_init.c