summary refs log tree commit diff stats
path: root/include/qemu/compiler.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-12-15 21:56:54 +0100
committerThomas Huth <thuth@redhat.com>2022-03-21 10:25:21 +0100
commit78e619cbd5d5a30f0a849c183391b8f87f8099e6 (patch)
tree6ad33cc2999c6adeac40676f14b2aa91776b7323 /include/qemu/compiler.h
parent19a5452723b51af74489d6cfa481b9d45d0b565a (diff)
downloadfocaccia-qemu-78e619cbd5d5a30f0a849c183391b8f87f8099e6.tar.gz
focaccia-qemu-78e619cbd5d5a30f0a849c183391b8f87f8099e6.zip
hw/sd/sdhci: Honor failed DMA transactions
DMA transactions might fail. The DMA API returns a MemTxResult,
indicating such failures. Do not ignore it. On failure, raise
the ADMA error flag and eventually triggering an IRQ (see spec
chapter 1.13.5: "ADMA2 States").

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20211215205656.488940-2-philmd@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/qemu/compiler.h')
0 files changed, 0 insertions, 0 deletions