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>
This commit is contained in:

committato da
Martin K. Petersen

parent
76cb25b058
commit
72349b62a5
@@ -1386,6 +1386,9 @@ typedef struct SASProtocolTimerConfig SASProtocolTimerConfig_t;
|
||||
#define SCRATCH_PAD_BOOT_LOAD_SUCCESS 0x0
|
||||
#define SCRATCH_PAD_IOP0_READY 0xC00
|
||||
#define SCRATCH_PAD_IOP1_READY 0x3000
|
||||
#define SCRATCH_PAD_MIPSALL_READY (SCRATCH_PAD_IOP1_READY | \
|
||||
SCRATCH_PAD_IOP0_READY | \
|
||||
SCRATCH_PAD_RAAE_READY)
|
||||
|
||||
/* boot loader state */
|
||||
#define SCRATCH_PAD1_BOOTSTATE_MASK 0x70 /* Bit 4-6 */
|
||||
|
Fai riferimento in un nuovo problema
Block a user