qemu/tests/qtest/libqos
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
..
aarch64-xlnx-zcu102-machine.c
ahci.c hw/ide/ahci: PxCI should not get cleared when ERR_STAT is set 2023-09-21 19:35:19 +03:00
ahci.h hw/ide/ahci: PxCI should not get cleared when ERR_STAT is set 2023-09-21 19:35:19 +03:00
arm-imx25-pdk-machine.c
arm-n800-machine.c
arm-raspi2-machine.c
arm-sabrelite-machine.c
arm-smdkc210-machine.c
arm-virt-machine.c
arm-xilinx-zynq-a9-machine.c
e1000e.c
e1000e.h
fw_cfg.c
fw_cfg.h
generic-pcihost.c
generic-pcihost.h
i2c-imx.c
i2c-omap.c
i2c.c
i2c.h
igb.c tests/qtest/libqos/igb: Set GPIE.Multiple_MSIX 2023-05-23 15:20:15 +08:00
libqos-malloc.c
libqos-malloc.h
libqos-pc.c
libqos-pc.h
libqos-spapr.c
libqos-spapr.h
libqos.c tests/qtest: Move mkimg() and have_qemu_img() from libqos to libqtest 2023-07-10 15:34:57 +02:00
libqos.h tests/qtest: Move mkimg() and have_qemu_img() from libqos to libqtest 2023-07-10 15:34:57 +02:00
malloc-pc.c
malloc-pc.h
malloc-spapr.c
malloc-spapr.h
meson.build tests/qtest: enable tests for virtio-scmi 2023-07-10 16:17:08 -04:00
pci-pc.c
pci-pc.h
pci-spapr.c
pci-spapr.h
pci.c
pci.h
ppc64_pseries-machine.c
qgraph.c
qgraph.h
qgraph_internal.h
qos_external.c
qos_external.h
rtas.c
rtas.h
sdhci-cmd.c
sdhci-cmd.h
sdhci.c
sdhci.h
tpci200.c
usb.c
usb.h
vhost-user-blk.c
vhost-user-blk.h
virtio-9p-client.c tests/9p: fix potential leak in v9fs_rreaddir() 2023-05-16 16:21:54 +02:00
virtio-9p-client.h
virtio-9p.c
virtio-9p.h
virtio-balloon.c
virtio-balloon.h
virtio-blk.c
virtio-blk.h
virtio-gpio.c
virtio-gpio.h
virtio-iommu.c
virtio-iommu.h
virtio-mmio.c
virtio-mmio.h
virtio-net.c
virtio-net.h
virtio-pci-modern.c
virtio-pci-modern.h
virtio-pci.c
virtio-pci.h
virtio-rng.c
virtio-rng.h
virtio-scmi.c tests/qtest: enable tests for virtio-scmi 2023-07-10 16:17:08 -04:00
virtio-scmi.h tests/qtest: enable tests for virtio-scmi 2023-07-10 16:17:08 -04:00
virtio-scsi.c
virtio-scsi.h
virtio-serial.c
virtio-serial.h
virtio.c
virtio.h
x86_64_pc-machine.c