scsi: qla2xxx: stop timer in shutdown path
authorNicholas Piggin <npiggin@gmail.com>
Thu, 24 Oct 2019 06:38:04 +0000 (16:38 +1000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 Oct 2019 01:58:01 +0000 (21:58 -0400)
commitd3566abb1a1e7772116e4d50fb6a58d19c9802e5
tree37ce31c6bb14a10508a7c51d130d0b77739ce039
parent0cf9f4e547cebb5f5d2d046437c71ddcc8ea4a39
scsi: qla2xxx: stop timer in shutdown path

In shutdown/reboot paths, the timer is not stopped:

  qla2x00_shutdown
  pci_device_shutdown
  device_shutdown
  kernel_restart_prepare
  kernel_restart
  sys_reboot

This causes lockups (on powerpc) when firmware config space access calls
are interrupted by smp_send_stop later in reboot.

Fixes: e30d1756480dc ("[SCSI] qla2xxx: Addition of shutdown callback handler.")
Link: https://lore.kernel.org/r/20191024063804.14538-1-npiggin@gmail.com
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_os.c