scsi: pm80xx: Fixed system hang issue during kexec boot
authorDeepak Ukey <deepak.ukey@microchip.com>
Tue, 11 Sep 2018 08:48:04 +0000 (14:18 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 12 Sep 2018 01:14:38 +0000 (21:14 -0400)
commit72349b62a571effd6faadd0600b8e657dd87afbf
treeebf719ebe39db294f399abefc2cc8272d5795c97
parent76cb25b058034d37244be6aca97a2ad52a5fbcad
scsi: pm80xx: Fixed system hang issue during kexec boot

When the firmware is not responding, execution of kexec boot causes a system
hang. When firmware assertion happened, driver get notified with interrupt
vector updated in MPI configuration table. Then, the driver will read
scratchpad register and set controller_fatal_error flag to true.

Signed-off-by: Deepak Ukey <deepak.ukey@microchip.com>
Signed-off-by: Viswas G <Viswas.G@microchip.com>
Acked-by: Jack Wang <jinpu.wang@profitbricks.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/pm8001/pm8001_hwi.c
drivers/scsi/pm8001/pm8001_sas.c
drivers/scsi/pm8001/pm8001_sas.h
drivers/scsi/pm8001/pm80xx_hwi.c
drivers/scsi/pm8001/pm80xx_hwi.h