linux_old1/drivers/scsi/mpt3sas
Suganath Prabu Subramani 186a18e51d scsi: mpt3sas: set EEDP-escape-flags for SAS35 devices.
An UNMAP command on a PI formatted device will leave the Logical Block
Application Tag and Logical Block Reference Tag as all F's (for those LBAs
that are unmapped). To avoid IO errors if those LBAs are subsequently read
before they are written with valid tag fields, the MPI SCSI IO requests
need to set the EEDPFlags element EEDP Escape Mode field, Bits [7:6]
appropriately. A value of 2 should be set to disable all PI checks if the
Logical Block Application Tag is 0xFFFF for PI types 1 and 2.  A value
of 3 should be set to disable all PI checks if the Logical Block
Application Tag is 0xFFFF and the Logical Block Reference Tag is
0xFFFFFFFF for PI type 3.

Signed-off-by: Chaitra P B <chaitra.basappa@broadcom.com>
Signed-off-by: Sathya Prakash <sathya.prakash@broadcom.com>
Signed-off-by: Suganath Prabu S <suganath-prabu.subramani@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-11-08 17:29:59 -05:00
..
mpi scsi: mpt3sas: Added Device ID's for SAS35 devices and updated MPI header. 2016-11-08 17:29:59 -05:00
Kconfig mpt3sas: fix Kconfig dependency problem for mpt2sas back compatibility 2015-12-03 09:31:23 -08:00
Makefile mpt3sas: Single driver module which supports both SAS 2.0 & SAS 3.0 HBAs 2015-11-11 19:50:11 -05:00
mpt3sas_base.c scsi: mpt3sas: Increased/Additional MSIX support for SAS35 devices. 2016-11-08 17:29:59 -05:00
mpt3sas_base.h scsi: mpt3sas: Increased/Additional MSIX support for SAS35 devices. 2016-11-08 17:29:59 -05:00
mpt3sas_config.c mpt3sas: Fix warnings exposed by W=1 2016-08-08 21:15:32 -04:00
mpt3sas_ctl.c scsi: mpt3sas: Added Device ID's for SAS35 devices and updated MPI header. 2016-11-08 17:29:59 -05:00
mpt3sas_ctl.h scsi: mpt3sas: Added Device ID's for SAS35 devices and updated MPI header. 2016-11-08 17:29:59 -05:00
mpt3sas_debug.h mpt2sas, mpt3sas: Remove SCSI_MPTXSAS_LOGGING entry from Kconfig 2015-11-11 18:31:14 -05:00
mpt3sas_scsih.c scsi: mpt3sas: set EEDP-escape-flags for SAS35 devices. 2016-11-08 17:29:59 -05:00
mpt3sas_transport.c mpt3sas: Fix warnings exposed by W=1 2016-08-08 21:15:32 -04:00
mpt3sas_trigger_diag.c mpt2sas, mpt3sas: Update attribution language to Avago 2015-01-13 16:27:27 +01:00
mpt3sas_trigger_diag.h mpt2sas, mpt3sas: Update attribution language to Avago 2015-01-13 16:27:27 +01:00
mpt3sas_warpdrive.c mpt3sas: Single driver module which supports both SAS 2.0 & SAS 3.0 HBAs 2015-11-11 19:50:11 -05:00