summaryrefslogtreecommitdiffstats
path: root/include/scsi/libsas.h
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2023-08-25 03:05:19 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2023-08-25 03:05:19 +0200
commitef5d681b4d8c51f0cdf3807d532b9521aab11c0b (patch)
tree616db662afe16960acd8598748367ba98ab66928 /include/scsi/libsas.h
parentscsi: target: Fix write perf due to unneeded throttling (diff)
parentscsi: pm80xx: Set RETFIS when requested by libsas (diff)
downloadlinux-ef5d681b4d8c51f0cdf3807d532b9521aab11c0b.tar.xz
linux-ef5d681b4d8c51f0cdf3807d532b9521aab11c0b.zip
Merge patch series "Returning FIS on success for CDL"
Igor Pylypiv <ipylypiv@google.com> says: This patch series plumbs libata's request for a result taskfile (ATA_QCFLAG_RESULT_TF) through libsas to pm80xx LLDD. Other libsas LLDDs can start using the newly added return_fis_on_success as well, if needed. For Command Duration Limits policy 0xD (command completes without an error) libata needs FIS in order to detect the ATA_SENSE bit and read the Sense Data for Successful NCQ Commands log (0Fh). pm80xx HBAs do not return FIS on success by default, hence, the driver is updated to set the RETFIS bit (Return FIS on good completion) when requested by libsas. Link: https://lore.kernel.org/r/20230819213040.1101044-1-ipylypiv@google.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi/libsas.h')
-rw-r--r--include/scsi/libsas.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h
index 8557a0caf5fe..52121f9b0fd7 100644
--- a/include/scsi/libsas.h
+++ b/include/scsi/libsas.h
@@ -550,6 +550,7 @@ struct sas_ata_task {
u8 use_ncq:1;
u8 set_affil_pol:1;
u8 stp_affil_pol:1;
+ u8 return_fis_on_success:1;
u8 device_control_reg_update:1;