[PATCH-for-10.1 RESEND RESEND v2 0/3] hw/sd/ssi-sd: Return noise (dummy byte) when no card connected

Philippe Mathieu-Daudé posted 3 patches 3 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250812140415.70153-1-philmd@linaro.org
Maintainers: "Philippe Mathieu-Daudé" <philmd@linaro.org>, Bin Meng <bmeng.cn@gmail.com>, Alistair Francis <alistair@alistair23.me>, Palmer Dabbelt <palmer@dabbelt.com>, Weiwei Li <liwei1518@gmail.com>, Daniel Henrique Barboza <dbarboza@ventanamicro.com>, Liu Zhiwei <zhiwei_liu@linux.alibaba.com>
include/hw/ssi/ssi.h                      | 14 ++++++++++++++
hw/sd/ssi-sd.c                            |  4 ++++
tests/functional/test_riscv64_sifive_u.py | 22 +++++++++++++++++-----
3 files changed, 35 insertions(+), 5 deletions(-)
[PATCH-for-10.1 RESEND RESEND v2 0/3] hw/sd/ssi-sd: Return noise (dummy byte) when no card connected
Posted by Philippe Mathieu-Daudé 3 months ago
Trivial fix for the issue reported by Guenter here:
https://lore.kernel.org/qemu-devel/5b2dc427-f0db-4332-a997-fe0c82415acd@roeck-us.net/

- Return dummy byte when no card is connected
- Add a test
- Document ssi_transfer()

Since v1:
- Reworded patch #1 description (Alex)
- Removed '_' test method prefix (Alex)

Philippe Mathieu-Daudé (3):
  hw/sd/ssi-sd: Return noise (dummy byte) when no card connected
  tests/functional: Test SPI-SD adapter without SD card connected
  hw/ssi: Document ssi_transfer() method

 include/hw/ssi/ssi.h                      | 14 ++++++++++++++
 hw/sd/ssi-sd.c                            |  4 ++++
 tests/functional/test_riscv64_sifive_u.py | 22 +++++++++++++++++-----
 3 files changed, 35 insertions(+), 5 deletions(-)

-- 
2.49.0


Re: [PATCH-for-10.1 RESEND RESEND v2 0/3] hw/sd/ssi-sd: Return noise (dummy byte) when no card connected
Posted by Philippe Mathieu-Daudé 3 months ago
On 12/8/25 16:04, Philippe Mathieu-Daudé wrote:

> Philippe Mathieu-Daudé (3):
>    hw/sd/ssi-sd: Return noise (dummy byte) when no card connected
>    tests/functional: Test SPI-SD adapter without SD card connected
>    hw/ssi: Document ssi_transfer() method

Series queued, thanks!