public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 6/8] [SCSI] mpt2sas : When SCSI command is received with task atrribute not set, set it to SIMPLE
  2013-02-01 16:30 [PATCH 6/8] [SCSI] mpt2sas : When SCSI command is received with task atrribute not set, set it to SIMPLE Sreekanth Reddy
@ 2013-02-01  7:31 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2013-02-01  7:31 UTC (permalink / raw)
  To: Sreekanth Reddy
  Cc: jejb, Nagalakshmi.Nandigama, JBottomley, linux-scsi,
	sathya.prakash, stable

On Fri, Feb 01, 2013 at 10:00:26PM +0530, Sreekanth Reddy wrote:
> When SCSI command is received with task attribute not set, set it to SIMPLE.
> Previously it is set to untagged. This causes the firmware to fail the commands.
> 
> Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@lsi.com>
> ---
> 

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read Documentation/stable_kernel_rules.txt
for how to do this properly.

</formletter>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 6/8] [SCSI] mpt2sas : When SCSI command is received with task atrribute not set, set it to SIMPLE
@ 2013-02-01 16:30 Sreekanth Reddy
  2013-02-01  7:31 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Sreekanth Reddy @ 2013-02-01 16:30 UTC (permalink / raw)
  To: jejb, sreekanth.reddy, Nagalakshmi.Nandigama, JBottomley
  Cc: linux-scsi, sathya.prakash, stable

When SCSI command is received with task attribute not set, set it to SIMPLE.
Previously it is set to untagged. This causes the firmware to fail the commands.

Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@lsi.com>
---

diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c
index 014caef..3b150b8 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c
+++ b/drivers/scsi/mpt2sas/mpt2sas_scsih.c
@@ -3998,11 +3998,7 @@ _scsih_qcmd_lck(struct scsi_cmnd *scmd, void (*done)(struct scsi_cmnd *))
 			else
 				mpi_control |= MPI2_SCSIIO_CONTROL_SIMPLEQ;
 		} else
-/* MPI Revision I (UNIT = 0xA) - removed MPI2_SCSIIO_CONTROL_UNTAGGED */
-/*			mpi_control |= MPI2_SCSIIO_CONTROL_UNTAGGED;
- */
-			mpi_control |= (0x500);
-
+			mpi_control |= MPI2_SCSIIO_CONTROL_SIMPLEQ;
 	} else
 		mpi_control |= MPI2_SCSIIO_CONTROL_SIMPLEQ;
 	/* Make sure Device is not raid volume.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-01 16:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-01 16:30 [PATCH 6/8] [SCSI] mpt2sas : When SCSI command is received with task atrribute not set, set it to SIMPLE Sreekanth Reddy
2013-02-01  7:31 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox