[SCSI] qla2xxx: Add support for ISP82xx to capture dump (minidump) on failure.
Minidump allows us to catpure a snapshot of the firmware/hardware states at the time of failure for further analysis. [jejb: added missing #include <linux/vmalloc.h> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> ] Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
committed by
James Bottomley
parent
86a9668a8d
commit
08de2844c6
@@ -2438,7 +2438,8 @@ struct qla_hw_data {
|
||||
uint32_t quiesce_owner:1;
|
||||
uint32_t thermal_supported:1;
|
||||
uint32_t isp82xx_reset_hdlr_active:1;
|
||||
/* 26 bits */
|
||||
uint32_t isp82xx_reset_owner:1;
|
||||
/* 28 bits */
|
||||
} flags;
|
||||
|
||||
/* This spinlock is used to protect "io transactions", you must
|
||||
@@ -2822,6 +2823,12 @@ struct qla_hw_data {
|
||||
|
||||
uint8_t fw_type;
|
||||
__le32 file_prd_off; /* File firmware product offset */
|
||||
|
||||
uint32_t md_template_size;
|
||||
void *md_tmplt_hdr;
|
||||
dma_addr_t md_tmplt_hdr_dma;
|
||||
void *md_dump;
|
||||
uint32_t md_dump_size;
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user