linux_dsm_epyc7002/drivers/scsi/pm8001
Santosh Nayak bdaefbf580 [SCSI] pm8001: Fix bogus interrupt state flag issue.
Static checker is giving following warning:
" error: calling 'spin_unlock_irqrestore()' with bogus flags"

The code flow is as shown below:
process_oq() --> process_one_iomb --> mpi_sata_completion

In 'mpi_sata_completion'
the first call for 'spin_unlock_irqrestore()' is with flags=0,
which is as good as 'spin_unlock_irq()' ( unconditional interrupt
enabling).

So for better performance 'spin_unlock_irqrestore()' can be replaced
with 'spin_unlock_irq()' and 'spin_lock_irqsave()' can be replaced by
'spin_lock_irq()'.

Signed-off-by: Santosh Nayak <santoshprasadnayak@gmail.com>
Acked-by: Jack Wang <jack_wang@usish.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2012-02-29 16:49:55 -06:00
..
Makefile [SCSI] pm8001: add SAS/SATA HBA driver 2009-12-04 12:00:40 -06:00
pm8001_chips.h [SCSI] pm8001: add SAS/SATA HBA driver 2009-12-04 12:00:40 -06:00
pm8001_ctl.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
pm8001_ctl.h [SCSI] pm8001: enable read HBA SAS address from VPD 2009-12-10 10:09:23 -06:00
pm8001_defs.h [SCSI] pm8001: add SAS/SATA HBA driver 2009-12-04 12:00:40 -06:00
pm8001_hwi.c [SCSI] pm8001: Fix bogus interrupt state flag issue. 2012-02-29 16:49:55 -06:00
pm8001_hwi.h Fix common misspellings 2011-03-31 11:26:23 -03:00
pm8001_init.c [SCSI] libsas: async ata scanning 2012-02-29 15:35:41 -06:00
pm8001_sas.c [SCSI] libsas: fix sas_find_local_phy(), take phy references 2012-02-29 13:01:06 -06:00
pm8001_sas.h [SCSI] pm8001: deficient responses to IO_XFER_ERROR_BREAK and IO_XFER_OPEN_RETRY_TIMEOUT 2012-02-19 08:08:52 -06:00