summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2026-06-19 18:29:32 +0900
committerDamien Le Moal <dlemoal@kernel.org>2026-07-18 10:08:52 +0900
commit19598e92c8b76c77b1293eb58829cd27b1dd6d96 (patch)
tree33beac5ddf7acb469a7aaba76731b98582f1350b /tools/perf/scripts/python
parentee1badfde360e3b95289ed359b4416f0fbb66eb1 (diff)
ata: libata-scsi: improve ata_get_xlat_func
ata_get_xlat_func() is given only the opcode of a SCSI command to determine the ATA command to translate to. This makes it impossible to translate SCSI commands such as SERVICE ACTION IN which need a service action field to fully specify the command. In preparation for supporting the translation of the SERVICE ACTION IN command with service actions different from the SAI_READ_CAPACITY_16 (READ CAPACITY 16), change ata_get_xlat_func() to take a pointer to a SCSI command CDB so that all fields of the SCSI command to translate can be easily inspected. Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Hannes Reinecke <hare@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions