qemu/hw/sd
Prasad J Pandit 6e86d90352 sd: sdhci: check transfer mode register in multi block transfer
In the SDHCI protocol, the transfer mode register value
is used during multi block transfer to check if block count
register is enabled and should be updated. Transfer mode
register could be set such that, block count register would
not be updated, thus leading to an infinite loop. Add check
to avoid it.

Reported-by: Wjjzhang <wjjzhang@tencent.com>
Reported-by: Jiang Xin <jiangxin1@huawei.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Message-id: 20170214185225.7994-3-ppandit@redhat.com
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2017-02-28 12:08:14 +00:00
..
core.c hw/sd: Add QOM bus which SD cards plug in to 2016-02-18 14:26:33 +00:00
Makefile.objs hw/sd: Add QOM bus which SD cards plug in to 2016-02-18 14:26:33 +00:00
milkymist-memcard.c milkymist: update specification URLs 2016-06-20 18:12:04 +02:00
omap_mmc.c arm devices: Clean up includes 2016-01-29 15:07:25 +00:00
pl181.c hw/sd: QOM'ify pl181.c 2016-06-14 15:59:14 +01:00
pxa2xx_mmci.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
sd.c sd: free timer 2016-09-08 18:05:22 +04:00
sdhci-internal.h Replaced get_tick_per_sec() by NANOSECONDS_PER_SECOND 2016-03-22 22:20:17 +01:00
sdhci.c sd: sdhci: check transfer mode register in multi block transfer 2017-02-28 12:08:14 +00:00
ssi-sd.c vmstateify ssi-sd 2016-09-22 18:13:08 +01:00
trace-events trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00