freebsd-skq/sys/dev/mps
Steven Hartland 7d147b81ea Fix mps deadlock when handling panic
During shutdown mps waits for its SSU requests to complete however when
performing a reboot after handling a panic the scheduler is stopped so
getmicrotime which is used can be non-functional.

Switch to using the same method as shutdown_panic to ensure we actually
complete.

In addition reduce the timeout when RB_NOSYNC is set in howto as we expect
this to fail.

Reviewed by:	slm
MFC after:	1 week
Sponsored by:	Multiplay
Differential Revision:	https://reviews.freebsd.org/D12776
2018-03-14 21:32:23 +00:00
..
mpi sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
mps_config.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
mps_ioctl.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00
mps_mapping.c Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
mps_mapping.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
mps_pci.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
mps_sas_lsi.c Fix mps deadlock when handling panic 2018-03-14 21:32:23 +00:00
mps_sas.c Improve command lifecycle debugging and detection of problems. 2018-02-18 16:41:34 +00:00
mps_sas.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
mps_table.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
mps_table.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
mps_user.c Cache the value of the request and reply frame size since it's used quite 2018-02-06 21:01:38 +00:00
mps.c Implement a sysctl to dump in-flight I/O state for debugging. The tool to 2018-03-12 05:02:22 +00:00
mpsvar.h Fix mps deadlock when handling panic 2018-03-14 21:32:23 +00:00