hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/scsi/qla2xxx/qla_isr.c
....@@ -269,12 +269,7 @@
269269 if (!test_and_set_bit(PFLG_DISCONNECTED, &vha->pci_flags) &&
270270 !test_bit(PFLG_DRIVER_REMOVING, &vha->pci_flags) &&
271271 !test_bit(PFLG_DRIVER_PROBING, &vha->pci_flags)) {
272
- /*
273
- * Schedule this (only once) on the default system
274
- * workqueue so that all the adapter workqueues and the
275
- * DPC thread can be shutdown cleanly.
276
- */
277
- schedule_work(&vha->hw->board_disable);
272
+ qla_schedule_eeh_work(vha);
278273 }
279274 return true;
280275 } else
....@@ -982,8 +977,12 @@
982977 unsigned long flags;
983978 fc_port_t *fcport = NULL;
984979
985
- if (!vha->hw->flags.fw_started)
980
+ if (!vha->hw->flags.fw_started) {
981
+ ql_log(ql_log_warn, vha, 0x50ff,
982
+ "Dropping AEN - %04x %04x %04x %04x.\n",
983
+ mb[0], mb[1], mb[2], mb[3]);
986984 return;
985
+ }
987986
988987 /* Setup to process RIO completion. */
989988 handle_cnt = 0;
....@@ -1639,8 +1638,6 @@
16391638 case MBA_TEMPERATURE_ALERT:
16401639 ql_dbg(ql_dbg_async, vha, 0x505e,
16411640 "TEMPERATURE ALERT: %04x %04x %04x\n", mb[1], mb[2], mb[3]);
1642
- if (mb[1] == 0x12)
1643
- schedule_work(&ha->board_disable);
16441641 break;
16451642
16461643 case MBA_TRANS_INSERT:
....@@ -3139,7 +3136,6 @@
31393136 case CS_PORT_BUSY:
31403137 case CS_INCOMPLETE:
31413138 case CS_PORT_UNAVAILABLE:
3142
- case CS_TIMEOUT:
31433139 case CS_RESET:
31443140
31453141 /*