Re: [PATCH] scsi: qla2xxx: disabling pci error handler early

2018-12-10 Thread Anatoliy Glagolev
Thanks, Brian. Great point. Even for AER, it looks like in-flight error handler completion is not guaranteed on pci_disable_pcie_error_reporting call, so the crash is still possible. It looks like we need to maintain per-pci_dev context and keep track of in-flight callbacks to make a clean fix. I w

Re: [PATCH] scsi: qla2xxx: disabling pci error handler early

2018-12-07 Thread Brian King
On 12/07/2018 01:56 PM, Anatoliy Glagolev wrote: > qla2x00_disable_board_on_pci_error and pcie error handlers may run > in parallel. Specifically, I observed qla2xxx_pci_slot_reset running > at around the same moment as qla2x00_disable_board_on_pci_error. > If scsi_qla_host_t or qla_hw_data structs