freebsd-dev/sys/dev/mrsas
Chandrakanth Patil 79c4c4be96 mrsas: if controller reset is in progress, refrain from firing DCMDs to
firmware in shutdown

If controller reset is in progress, at same time if system shutdown is
issued then corresponding shutdown function in driver will be invoked
where driver is waiting 15 seconds to complete the controller reset.

If the reset is not complteted within that time frame driver will go
ahead and fire cache flush and shutdown DCMDs which will end up
accessing the the queues which are not initialized due to undergoing
reset leads to FMU error in firmware.

Fix:
In shutdown function, if controller reset is not finished within 15
seconds than driver will return to the OS without firing any DCMDs.

Reviewed by: imp
PR: 261375
2022-04-05 08:38:15 -06:00
..
mrsas_cam.c mrsas: remove additional MPT command allocation for R1 FP command 2022-04-05 08:38:14 -06:00
mrsas_fp.c Fix "set but not used" in the mrsas driver. Remove dead code. 2022-02-26 12:21:11 -07:00
mrsas_ioctl.c Use uintptr_t instead of unsigned long for pointers. 2020-12-16 00:13:32 +00:00
mrsas_ioctl.h
mrsas_linux.c Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
mrsas.c mrsas: if controller reset is in progress, refrain from firing DCMDs to 2022-04-05 08:38:15 -06:00
mrsas.h [POWERPC64BE] mrsas: add big-endian support 2021-02-03 22:06:21 -03:00