hw/sd: Fix broken ssi-sd implementation since v9.1.0
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | hw/sd: Fix incorrect idle state reporting in R1 response for SPI modehw/ | +1 | 1 reply | |
| 2/2 | hw/sd: Fix ACMD41 state machine in SPI modehw/ | +12 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Philippe Mathieu-Daudé |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] hw/sd: Fix broken ssi-sd implementation since v9.1.0
The U-Boot community reported a CI failure [1] where the sifive_unleashed target failed to boot from an SD card after upgrading from QEMU v8.2.0 to v9.2.3.
At that time, the issue was traced to commit da954d0e ("hw/sd/sdcard: Add spi_cmd_SEND_CSD/CID handlers (CMD9 & CMD10)") which was introduced in v9.1.0.
Testing with the latest QEMU mainline shows that the problem still persists, although the underlying cause has changed due to refactoring since then.
This series fixes the broken ssi-sd model. After applying these patches, U-Boot successfully boots again on the sifive_unleashed target using QEMU’s sifive_u machine.
[1] https://gitlab.com/qemu-project/qemu/-/issues/2945
Bin Meng (2):
hw/sd: Fix incorrect idle state reporting in R1 response for SPI mode hw/sd: Fix ACMD41 state machine in SPI mode
hw/sd/sd.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-)
Signature · 1 line
2.34.1