summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2026-06-19 17:25:37 +0900
committerDamien Le Moal <dlemoal@kernel.org>2026-07-18 10:09:01 +0900
commit0f0bfa1bcaa5dd6a19c3614b16dc94d625030313 (patch)
tree3c0d92fbd0a85640abf8103139371eefca0850ac /tools/perf/scripts/python
parent4ba5eb54c2c8671f741a161b4f0d5162a4cb9b1b (diff)
ata: libata-scsi: add support for the GET PHYSICAL ELEMENT STATUS command
Define the translation for the GET PHYSICAL ELEMENT STATUS command (SERVICE ACTION IN command with service action SAI_GET_PHYSICAL_ELEMENT_STATUS) into the ATA command ATA_CMD_GET_PHYS_ELEMENT_STATUS with the new function ata_scsi_get_phys_element_status_xlat(). The reply of this function also needs translation from little endian to big endian. This is done with the completion callback ata_scsi_get_phys_element_status_complete(). The array of supported commands ata_supported_cmds is modified to add a new entry for this command. ata_scsi_cmd_is_supported() is also modified to correctly handle this new entry depending on the target device flag ATA_DFLAG_DEPOP being set. 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