diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-07-30 10:41:25 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-08-06 10:22:52 +0200 |
commit | ed5a159c3de48a581f46de4c8c02b4b295e6c52d (patch) | |
tree | d130d366c5d6bd82486dd403ec638f455e88279b /hw/misc | |
parent | bd6207903eb81c0e876452bba25ed7d57ddf5f89 (diff) |
hw/sd/sdhci: Reset @data_count index on invalid ADMA transfers
We neglected to clear the @data_count index on ADMA error,
allowing to trigger assertion in sdhci_read_dataport() or
sdhci_write_dataport().
Cc: qemu-stable@nongnu.org
Fixes: d7dfca0807 ("hw/sdhci: introduce standard SD host controller")
Reported-by: Zheyu Ma <zheyuma97@gmail.com>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2455
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240730092138.32443-4-philmd@linaro.org>
Diffstat (limited to 'hw/misc')
0 files changed, 0 insertions, 0 deletions