]> git.ipfire.org Git - thirdparty/qemu.git/commit
esp-pci: fixup deadlock with linux
authorHannes Reinecke <hare@suse.de>
Fri, 7 Nov 2014 12:22:32 +0000 (13:22 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 7 Jan 2015 20:27:24 +0000 (14:27 -0600)
commitaae114b7edd25c2c15bd126ffc6dbe4696f74f7f
treedeeba8e8316908f9c4e218652ed2256955cd2aaf
parentcfa86bcb7de0342b2d8c5ac590c4b36bcece263c
esp-pci: fixup deadlock with linux

A linux guest will be issuing messages:

[   32.124042] DC390: Deadlock in DataIn_0: DMA aborted unfinished: 000000 bytes remain!!
[   32.126348] DC390: DataIn_0: DMA State: 0

and the HBA will fail to work properly.
Reason is the emulation is not setting the 'DMA transfer done'
status correctly.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit c3543fb5fe4520f03dd4fef04fab7745eeca1c96)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/scsi/esp-pci.c