Niklas Cassel
4448c345bc
hw/ide/ahci: PxCI should not get cleared when ERR_STAT is set
...
For NCQ, PxCI is cleared on command queued successfully.
For non-NCQ, PxCI is cleared on command completed successfully.
Successfully means ERR_STAT, BUSY and DRQ are all cleared.
A command that has ERR_STAT set, does not get to clear PxCI.
See AHCI 1.3.1, section 5.3.8, states RegFIS:Entry and RegFIS:ClearCI,
and 5.3.16.5 ERR:FatalTaskfile.
In the case of non-NCQ commands, not clearing PxCI is needed in order
for host software to be able to see which command slot that failed.
Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Message-id: 20230609140844.202795-7-nks@flawful.org
Signed-off-by: John Snow <jsnow@redhat.com>
(cherry picked from commit 1a16ce64fda11bdf50f0c4ab5d9fdde72c1383a2)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2023-09-21 19:35:19 +03:00
..
2022-08-29 15:28:51 +02:00
2023-09-21 19:35:19 +03:00
2023-09-21 19:35:19 +03:00
2022-08-29 15:28:51 +02:00
2022-08-29 15:28:51 +02:00
2022-08-29 15:28:51 +02:00
2022-08-29 15:28:51 +02:00
2022-08-29 15:28:51 +02:00
2022-08-29 15:28:51 +02:00
2022-08-29 15:28:51 +02:00
2023-03-10 17:26:47 +08:00
2023-03-10 17:26:47 +08:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-12 12:07:06 +02:00
2022-08-29 15:28:51 +02:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2023-05-23 15:20:15 +08:00
2022-08-29 15:28:51 +02:00
2022-08-29 15:28:51 +02:00
2020-08-21 06:30:20 -04:00
2023-01-11 10:44:34 +01:00
2020-08-21 06:30:20 -04:00
2023-01-11 10:44:34 +01:00
2023-07-10 15:34:57 +02:00
2023-07-10 15:34:57 +02:00
2022-04-06 14:31:55 +02:00
2022-08-29 15:28:51 +02:00
2022-04-06 14:31:55 +02:00
2022-08-29 15:28:51 +02:00
2023-07-10 16:17:08 -04:00
2022-10-11 14:06:48 +02:00
2022-08-29 15:28:51 +02:00
2022-05-12 12:07:06 +02:00
2022-08-29 15:28:51 +02:00
2022-05-12 12:07:06 +02:00
2022-05-12 12:07:06 +02:00
2022-05-03 15:16:51 +04:00
2021-09-01 11:08:15 +01:00
2022-05-03 15:16:51 +04:00
2022-11-11 09:39:25 +01:00
2022-08-29 15:28:51 +02:00
2022-08-29 15:28:51 +02:00
2022-05-03 15:16:51 +04:00
2022-08-29 15:28:51 +02:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2020-08-21 06:30:20 -04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2020-08-21 06:30:20 -04:00
2022-05-03 15:16:51 +04:00
2021-05-18 12:57:38 +02:00
2023-05-16 16:21:54 +02:00
2022-10-24 12:24:32 +02:00
2023-01-11 10:44:34 +01:00
2020-11-01 19:44:29 +01:00
2022-05-03 15:16:51 +04:00
2020-08-21 06:30:20 -04:00
2022-05-03 15:16:51 +04:00
2020-08-21 06:30:20 -04:00
2022-12-01 02:29:59 -05:00
2022-10-07 09:41:51 -04:00
2022-05-03 15:16:51 +04:00
2021-12-15 08:08:59 +01:00
2022-08-29 15:28:51 +02:00
2020-08-21 06:30:20 -04:00
2022-05-03 15:16:51 +04:00
2020-08-21 06:30:20 -04:00
2022-08-29 15:28:51 +02:00
2020-08-21 06:30:20 -04:00
2022-05-03 15:16:51 +04:00
2020-08-21 06:30:20 -04:00
2023-07-10 16:17:08 -04:00
2023-07-10 16:17:08 -04:00
2022-05-03 15:16:51 +04:00
2020-08-21 06:30:20 -04:00
2022-05-03 15:16:51 +04:00
2020-08-21 06:30:20 -04:00
2022-10-07 09:41:51 -04:00
2022-08-29 15:28:51 +02:00
2022-05-03 15:16:51 +04:00