kernel_optimize_test/drivers/scsi/aacraid
Dave Carroll 7d3af7d96a scsi: aacraid: Correct hba_send to include iu_type
commit b60710ec7d ("scsi: aacraid: enable sending of TMFs from
aac_hba_send()") allows aac_hba_send() to send scsi commands, and TMF
requests, but the existing code only updates the iu_type for scsi
commands. For TMF requests we are sending an unknown iu_type to
firmware, which causes a fault.

Include iu_type prior to determining the validity of the command

Reported-by: Noah Misner <nmisner@us.ibm.com>
Fixes: b60710ec7d ("aacraid: enable sending of TMFs from aac_hba_send()")
Fixes: 423400e64d ("aacraid: Include HBA direct interface")
Tested-by: Noah Misner <nmisner@us.ibm.com>
cc: stable@vger.kernel.org
Signed-off-by: Dave Carroll <david.carroll@microsemi.com>
Reviewed-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Reviewed-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-05-01 23:27:18 -04:00
..
aachba.c scsi: aacraid: Get correct lun count 2018-01-10 23:25:11 -05:00
aacraid.h scsi: aacraid: Auto detect INTx or MSIx mode during sync cmd processing 2018-02-13 21:37:04 -05:00
commctrl.c scsi: aacraid: Fix ioctl reset hang 2018-01-03 23:26:41 -05:00
comminit.c scsi: aacraid: Move code to wait for IO completion to shutdown func 2018-01-03 23:26:42 -05:00
commsup.c scsi: aacraid: Correct hba_send to include iu_type 2018-05-01 23:27:18 -04:00
dpcsup.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
linit.c scsi: aacraid: Insure command thread is not recursively stopped 2018-04-09 21:08:30 -04:00
Makefile
nark.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
rkt.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
rx.c scsi: aacraid: Perform initialization reset only once 2017-11-20 22:32:00 -05:00
sa.c scsi: aacraid: Fix driver oops with dead battery 2018-01-04 01:03:41 -05:00
src.c SCSI for-linus on 20180404 2018-04-05 15:05:53 -07:00
TODO