qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH-for-9.1 2/5] hw/sd/sdcard: Do not abort when reading DAT line


From: Richard Henderson
Subject: Re: [PATCH-for-9.1 2/5] hw/sd/sdcard: Do not abort when reading DAT lines on invalid cmd state
Date: Wed, 31 Jul 2024 14:30:23 +1000
User-agent: Mozilla Thunderbird

On 7/30/24 19:21, Philippe Mathieu-Daudé wrote:
Guest should not try to read the DAT lines from invalid
command state. If it still insists to do so, return a
dummy value.

Cc:qemu-stable@nongnu.org
Fixes: e2dec2eab0 ("hw/sd/sdcard: Remove default case in read/write on DAT 
lines")
Reported-by: Zheyu Ma<zheyuma97@gmail.com>
Resolves:https://gitlab.com/qemu-project/qemu/-/issues/2454
Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
---
  hw/sd/sd.c | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]