]> git.ipfire.org Git - thirdparty/qemu.git/commit
esp: only assert INTR_DC interrupt flag if selection fails
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 18 May 2021 21:25:10 +0000 (22:25 +0100)
committerMichael Roth <michael.roth@amd.com>
Thu, 14 Oct 2021 20:58:09 +0000 (15:58 -0500)
commit44e5878ce34d27dbebd4198766eb843833f4972e
treeacfb4f38d604b155a5d69dd314710616c2924682
parent8d719825d93b219d3de046e3e41ccc6ff39bea11
esp: only assert INTR_DC interrupt flag if selection fails

The datasheet sequence tables confirm that when a target selection fails, only
the INTR_DC interrupt flag should be asserted.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fixes: cf47a41e05 ("esp: latch individual bits in ESP_RINTR register")
Message-Id: <20210518212511.21688-2-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit cf1a7a9b3721544aaa3e43d111eb383c30d71a62)
Signed-off-by: Michael Roth <michael.roth@amd.com>
hw/scsi/esp.c