Niklas Cassel
399eab7f92
ata: libata-sata: Save all fields from sense data descriptor
...
When filling the taskfile result for a successful NCQ command, we use
the SDB FIS from the FIS Receive Area, see e.g. ahci_qc_ncq_fill_rtf().
However, the SDB FIS only has fields STATUS and ERROR.
For a successful NCQ command that has sense data, we will have a
successful sense data descriptor, in the Sense Data for Successful NCQ
Commands log.
Since we have access to additional taskfile result fields, fill in these
additional fields in qc->result_tf.
This matches how for failing/aborted NCQ commands, we will use e.g.
ahci_qc_fill_rtf() to fill in some fields, but then for the command that
actually caused the NCQ error, we will use ata_eh_read_log_10h(), which
provides additional fields, saving additional fields/overriding the
qc->result_tf that was fetched using ahci_qc_fill_rtf().
Fixes: 18bd7718b5 ("scsi: ata: libata: Handle completion of CDL commands using policy 0xD")
Signed-off-by: Niklas Cassel <cassel@kernel.org >
Reviewed-by: Igor Pylypiv <ipylypiv@google.com >
Reviewed-by: Hannes Reinecke <hare@suse.de >
Signed-off-by: Damien Le Moal <dlemoal@kernel.org >
2025-04-16 17:33:17 +09:00
..
2024-07-03 16:44:22 +02:00
2024-10-30 16:07:36 -05:00
2025-01-09 17:52:17 +09:00
2025-01-09 17:52:17 +09:00
2024-10-17 09:55:08 +02:00
2024-10-17 09:55:08 +02:00
2024-10-17 09:55:08 +02:00
2024-10-17 09:55:08 +02:00
2024-10-17 09:55:08 +02:00
2024-10-17 09:55:08 +02:00
2023-08-02 17:37:06 +09:00
2024-10-17 09:55:08 +02:00
2024-10-17 09:55:08 +02:00
2024-10-17 09:55:08 +02:00
2025-01-15 15:21:27 +01:00
2024-10-17 09:55:08 +02:00
2024-10-17 09:55:08 +02:00
2024-10-17 09:55:08 +02:00
2025-03-19 17:27:58 +01:00
2025-03-26 19:49:02 -07:00
2024-12-03 05:10:20 +01:00
2025-01-18 14:38:49 -06:00
2024-05-27 11:34:50 +02:00
2025-02-10 11:54:38 +01:00
2025-03-26 19:49:02 -07:00
2024-10-01 09:22:02 +02:00
2025-03-26 19:49:02 -07:00
2025-04-05 10:30:12 +02:00
2020-03-26 10:28:19 -06:00
2024-09-07 10:16:55 +09:00
2025-04-16 17:33:17 +09:00
2024-12-04 15:34:28 -05:00
2025-01-28 11:44:47 +01:00
2023-01-04 13:36:26 +09:00
2024-09-07 11:02:52 +09:00
2024-07-04 11:52:31 +02:00
2025-03-17 12:16:58 -07:00
2024-09-07 10:16:56 +09:00
2023-02-22 13:35:51 -08:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2024-10-17 09:55:08 +02:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2024-12-03 05:10:20 +01:00
2023-08-24 08:09:59 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2024-07-30 07:10:30 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2024-10-17 09:55:08 +02:00
2024-10-17 09:55:08 +02:00
2024-10-17 09:55:08 +02:00
2024-10-17 09:55:08 +02:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2024-07-30 07:10:38 +09:00
2024-07-30 07:10:34 +09:00
2024-08-02 09:18:42 +09:00
2024-10-17 09:55:08 +02:00
2023-11-20 09:22:26 +09:00
2024-07-30 07:09:54 +09:00
2024-10-01 09:22:02 +02:00
2024-10-17 09:55:08 +02:00
2023-03-24 19:19:19 -04:00
2024-05-07 07:23:31 +09:00
2025-01-26 16:12:44 -08:00
2023-03-24 19:19:19 -04:00
2024-10-17 09:55:08 +02:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-07-28 08:52:42 +09:00
2025-02-18 10:32:34 +01:00
2024-10-17 09:55:08 +02:00
2024-10-01 09:22:02 +02:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2024-12-03 05:10:20 +01:00
2024-10-17 09:55:08 +02:00
2025-04-08 12:36:03 +09:00
2024-10-01 09:22:02 +02:00
2024-10-17 09:55:08 +02:00
2025-01-18 14:38:49 -06:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2024-07-30 07:10:08 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-08-02 17:45:42 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2024-10-17 09:55:08 +02:00
2024-10-17 09:55:08 +02:00
2024-12-16 22:36:27 +09:00
2024-12-11 13:18:25 +09:00
2024-12-09 09:06:58 +09:00
2023-08-02 17:37:06 +09:00
2025-01-26 16:12:44 -08:00
2025-01-26 16:12:44 -08:00
2023-03-24 19:19:19 -04:00
2019-05-21 11:28:46 +02:00
2023-03-24 19:19:19 -04:00
2024-10-17 09:55:08 +02:00
2025-01-26 16:12:44 -08:00
2024-07-30 07:10:21 +09:00
2025-01-18 14:38:49 -06:00
2023-06-13 15:38:48 +09:00
2025-04-09 15:24:49 +09:00
2025-01-18 14:38:49 -06:00
2025-02-20 13:03:32 +01:00
2025-01-18 14:38:49 -06:00
2017-11-02 11:10:55 +01:00