linux/drivers/scsi/mpt2sas
Kashyap, Desai fa7f316735 [SCSI] mpt2sas: Support for stopping driver when Firmware encounters
Added command line option and shost sysfs attribute called
mpt2sas_fwfault_debug. When enduser writes a "1" to this parameter, this
will enable support in the driver for debugging firmware timeout related
issues.  This handling was added in three areas (a) scsi error handling
callback called task_abort, (b) IOCTL interface, and (c) other timeouts that
result in diag resets, such as manufacturing config pages.  When this
support is enabled, the driver will provide dump_stack to console, halt
controller firmware, and panic driver. The end user probably would want to
setup serial console redirection so the dump stack can be seen.

Here are the three methods for enable this support:

(a) # insmod mpt2sas.ko mpt2sas_fwfault_debug=1
(b) # echo 1 > /sys/module/mpt2sas/parameters/mpt2sas_fwfault_debug
(c) # echo 1 > /sys/class/scsi_host/host#/fwfault_debug  (where # is
the host number)

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: Eric Moore <Eric.moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2009-10-29 13:03:10 -04:00
..
mpi [SCSI] mpt2sas: Adding MPI Headers - revision L 2009-10-29 13:03:10 -04:00
Kconfig [SCSI] mpt2sas: Copyright change to 2009. 2009-10-02 09:48:15 -05:00
Makefile
mpt2sas_base.c [SCSI] mpt2sas: Support for stopping driver when Firmware encounters 2009-10-29 13:03:10 -04:00
mpt2sas_base.h [SCSI] mpt2sas: Support for stopping driver when Firmware encounters 2009-10-29 13:03:10 -04:00
mpt2sas_config.c [SCSI] mpt2sas: Target Reset will be issued from Interrupt context. 2009-10-02 09:48:38 -05:00
mpt2sas_ctl.c [SCSI] mpt2sas: Support for stopping driver when Firmware encounters 2009-10-29 13:03:10 -04:00
mpt2sas_ctl.h [SCSI] mpt2sas: Copyright change to 2009. 2009-10-02 09:48:15 -05:00
mpt2sas_debug.h [SCSI] mpt2sas: Copyright change to 2009. 2009-10-02 09:48:15 -05:00
mpt2sas_scsih.c [SCSI] mpt2sas: Support for stopping driver when Firmware encounters 2009-10-29 13:03:10 -04:00
mpt2sas_transport.c [SCSI] mpt2sas: Driver will use sas address instead of handle as a lookup 2009-10-29 13:03:08 -04:00