diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-09-01 15:22:06 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-10-21 13:19:01 +0200 |
commit | dfba99f17feb6d4a129da19d38df1bcd8579d1c3 (patch) | |
tree | 7da3cd78ad1761eeac8913c8c80730735cde1c67 /qemu-options.h | |
parent | 598a40b30f13b3cde6764173449671d0d8c4d058 (diff) | |
download | qemu-dfba99f17feb6d4a129da19d38df1bcd8579d1c3.zip qemu-dfba99f17feb6d4a129da19d38df1bcd8579d1c3.tar.gz qemu-dfba99f17feb6d4a129da19d38df1bcd8579d1c3.tar.bz2 |
hw/sd/sdhci: Fix DMA Transfer Block Size field
The 'Transfer Block Size' field is 12-bit wide.
See section '2.2.2. Block Size Register (Offset 004h)' in datasheet.
Two different bug reproducer available:
- https://bugs.launchpad.net/qemu/+bug/1892960
- https://ruhr-uni-bochum.sciebo.de/s/NNWP2GfwzYKeKwE?path=%2Fsdhci_oob_write1
Cc: qemu-stable@nongnu.org
Buglink: https://bugs.launchpad.net/qemu/+bug/1892960
Fixes: d7dfca0807a ("hw/sdhci: introduce standard SD host controller")
Reported-by: Alexander Bulekov <alxndr@bu.edu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Prasad J Pandit <pjp@fedoraproject.org>
Tested-by: Alexander Bulekov <alxndr@bu.edu>
Message-Id: <20200901140411.112150-3-f4bug@amsat.org>
Diffstat (limited to 'qemu-options.h')
0 files changed, 0 insertions, 0 deletions