linux_dsm_epyc7002/drivers/scsi/mpt2sas
Joe Lawrence 3b3e6f8df3 [SCSI] mpt2sas: fix cleanup on controller resource mapping failure
If mpt2sas_base_map_resources takes an early error path then its
counterpart, mpt2sas_base_free_resources needs to be careful about
cleaning up:

  1 - _base_mask_interrupts and _base_make_ioc_ready require memory
      mapped I/O registers, make sure that this is true.

  2 - _base_free_irq iterates over the adapter's reply_queue_list, so
      move this list head initialization out of _base_enable_msix to
      _scsih_probe so this will always be safe.

  3 - check that the controller PCI device and its BARs have been
      enabled before disabling them.

Signed-off-by: Joe Lawrence <joe.lawrence@stratus.com>
Acked-by: Sreekanth Reddy <Sreekanth.Reddy@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-08-26 18:53:44 +04:00
..
mpi [SCSI] mpt2sas: MPI2 Rev W (2.00.15) specification 2013-06-24 12:40:02 -07:00
Kconfig [SCSI] mpt2sas: 2012 source code copyright 2012-08-24 13:10:25 +04:00
Makefile [SCSI] mpt2sas v00.100.11.15 2009-03-13 16:08:49 -05:00
mpt2sas_base.c [SCSI] mpt2sas: fix cleanup on controller resource mapping failure 2013-08-26 18:53:44 +04:00
mpt2sas_base.h [SCSI] mpt2sas: Bump driver vesion to v15.100.00.00 2013-06-24 12:54:23 -07:00
mpt2sas_config.c [SCSI] mpt2sas: Provide sysfs attribute to report Backup Rail Monitor Status 2012-08-24 13:10:25 +04:00
mpt2sas_ctl.c mpt2sas: don't wank with fasync on ->release() 2013-04-29 15:41:45 -04:00
mpt2sas_ctl.h [SCSI] mpt2sas: 2012 source code copyright 2012-08-24 13:10:25 +04:00
mpt2sas_debug.h [SCSI] mpt2sas: 2012 source code copyright 2012-08-24 13:10:25 +04:00
mpt2sas_scsih.c [SCSI] mpt2sas: fix cleanup on controller resource mapping failure 2013-08-26 18:53:44 +04:00
mpt2sas_transport.c block: Remove some unnecessary bi_vcnt usage 2013-03-23 14:15:31 -07:00