diff options
author | Igor Pylypiv <[email protected]> | 2024-07-02 02:47:31 +0000 |
---|---|---|
committer | Niklas Cassel <[email protected]> | 2024-07-03 10:51:41 +0200 |
commit | 28ab9769117ca944cb6eb537af5599aa436287a4 (patch) | |
tree | e5f618be43aac4bd7c104a8f5f5af9e058b62749 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 97981926224afe17ba3e22e0c2b7dd8b516ee574 (diff) |
ata: libata-scsi: Honor the D_SENSE bit for CK_COND=1 and no error
SAT-5 revision 8 specification removed the text about the ANSI INCITS
431-2007 compliance which was requiring SCSI/ATA Translation (SAT) to
return descriptor format sense data for the ATA PASS-THROUGH commands
regardless of the setting of the D_SENSE bit.
Let's honor the D_SENSE bit for ATA PASS-THROUGH commands while
generating the "ATA PASS-THROUGH INFORMATION AVAILABLE" sense data.
SAT-5 revision 7
================
12.2.2.8 Fixed format sense data
Table 212 shows the fields returned in the fixed format sense data
(see SPC-5) for ATA PASS-THROUGH commands. SATLs compliant with ANSI
INCITS 431-2007, SCSI/ATA Translation (SAT) return descriptor format
sense data for the ATA PASS-THROUGH commands regardless of the setting
of the D_SENSE bit.
SAT-5 revision 8
================
12.2.2.8 Fixed format sense data
Table 211 shows the fields returned in the fixed format sense data
(see SPC-5) for ATA PASS-THROUGH commands.
Cc: [email protected] # 4.19+
Reported-by: Niklas Cassel <[email protected]>
Closes: https://lore.kernel.org/linux-ide/[email protected]
Reviewed-by: Niklas Cassel <[email protected]>
Signed-off-by: Igor Pylypiv <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Niklas Cassel <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions