Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae5afc39 authored by Sagar Biradar's avatar Sagar Biradar Committed by Greg Kroah-Hartman
Browse files

scsi: aacraid: Disabling TM path and only processing IOP reset

[ Upstream commit bef18d308a2215eff8c3411a23d7f34604ce56c3 ]

Fixes the occasional adapter panic when sg_reset is issued with -d, -t, -b
and -H flags.  Removal of command type HBA_IU_TYPE_SCSI_TM_REQ in
aac_hba_send since iu_type, request_id and fib_flags are not populated.
Device and target reset handlers are made to send TMF commands only when
reset_state is 0.

Link: https://lore.kernel.org/r/1581553771-25796-1-git-send-email-Sagar.Biradar@microchip.com


Reviewed-by: default avatarSagar Biradar <Sagar.Biradar@microchip.com>
Signed-off-by: default avatarSagar Biradar <Sagar.Biradar@microchip.com>
Signed-off-by: default avatarBalsundar P <balsundar.p@microsemi.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6854738c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment