aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJames Smart <[email protected]>2019-05-21 17:49:09 -0700
committerMartin K. Petersen <[email protected]>2019-06-18 19:46:22 -0400
commitaa6ff309187256ee542a8cf47adbfcfdaa888c46 (patch)
tree542ca60b8f80816ed99a3d05c4aec5a2b07b3713 /tools/perf/scripts/python/stackcollapse.py
parent93f647f93df14742923133582ad603bf35628e92 (diff)
scsi: lpfc: Fix BFS crash with DIX enabled
Crashes in scsi_queue_rq or in dma_unmap_direct_sg during BFS when lpfc has lpfc_enable_bg=1. lpfc is setting DIX and prot sg after scsi_add_host_with_dma() has been called. The scsi_host_set_prot() and scsi_host_set_guard() routines need to be called before scsi_add_host_with_dma(). Revise the calling sequence to set the protection/guard data before calling scsi_add_host_with_dma(). Signed-off-by: Dick Kennedy <[email protected]> Signed-off-by: James Smart <[email protected]> Reviewed-by: Ewan D. Milne <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions