Message ID | 20230819213040.1101044-1-ipylypiv@google.com (mailing list archive) |
---|---|
Headers | show |
Series | Returning FIS on success for CDL | expand |
On 8/20/23 06:30, Igor Pylypiv wrote: > 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. For both patches: Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Igor, > 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. Applied to 6.6/scsi-staging, thanks!
On Sat, 19 Aug 2023 14:30:38 -0700, Igor Pylypiv wrote: > 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. > > [...] Applied to 6.6/scsi-queue, thanks! [1/2] scsi: libsas: Add return_fis_on_success to sas_ata_task https://git.kernel.org/mkp/scsi/c/72875018f638 [2/2] scsi: pm80xx: Set RETFIS when requested by libsas https://git.kernel.org/mkp/scsi/c/545432959551