Hi, On Fri, Jun 28, 2024 at 09:01:27AM +0200, Philippe Mathieu-Daudé wrote: > Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> > Reviewed-by: Cédric Le Goater <c...@redhat.com> > ---
This patch results in: [ 5.976133] Waiting for root device /dev/mmcblk0... [ 6.501462] mmc0: error -38 whilst initialising SD card [ 7.557473] mmc0: error -38 whilst initialising SD card ... (repeated until session is aborted) when trying to boot Linux for sifive_u from sd card. The command used to boot the image is qemu-system-riscv64 -M sifive_u -m 512M -no-reboot \ -kernel arch/riscv/boot/Image \ -snapshot -drive file=rootfs.ext2,format=raw,if=sd \ -bios default \ -append "root=/dev/mmcblk0 rootwait console=ttySIF0,115200 earlycon" \ -nographic -monitor none Bisect log is attached. Guenter --- # bad: [fd1952d814da738ed107e05583b3e02ac11e88ff] Update version for v9.1.0 release # good: [c25df57ae8f9fe1c72eee2dab37d76d904ac382e] Update version for 9.0.0 release git bisect start 'HEAD' 'v9.0.0' # good: [2529ea2d561ea9fe359fb19ebdcfeb8b6cddd219] hw/acpi/ich9: Remove dead code related to 'acpi_memory_hotplug' git bisect good 2529ea2d561ea9fe359fb19ebdcfeb8b6cddd219 # bad: [76e375fc3c538bd6e4232314f693b56536a50b73] docs/qapidoc: add QMP highlighting to annotated qmp-example blocks git bisect bad 76e375fc3c538bd6e4232314f693b56536a50b73 # good: [720c0f3e6cf856fa62c06a8f0005d814684c30d9] hw/sd/sdcard: Register generic optional handlers (CMD11 and CMD20) git bisect good 720c0f3e6cf856fa62c06a8f0005d814684c30d9 # bad: [5915139aba1646220630596de30c673528e047c9] Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging git bisect bad 5915139aba1646220630596de30c673528e047c9 # bad: [188569c10d5dc6996bde90ce25645083e9661ecb] target/i386/SEV: implement mask_cpuid_features git bisect bad 188569c10d5dc6996bde90ce25645083e9661ecb # bad: [8442e1625ba6723bee2c6d0fdb7207a3e27a2b05] hw/sd/sdcard: Add sd_acmd_SEND_SCR handler (ACMD51) git bisect bad 8442e1625ba6723bee2c6d0fdb7207a3e27a2b05 # bad: [96f3d00ac1680f978984314d24ae6f2f6f281fdc] hw/sd/sdcard: Add sd_cmd_PROGRAM_CSD handler (CMD27) git bisect bad 96f3d00ac1680f978984314d24ae6f2f6f281fdc # good: [1ec3cb893fa8883f5baf69850a4d0a97502bbad8] hw/sd/sdcard: Add sd_cmd_SEND_CSD/CID handlers (CMD9 & CMD10) git bisect good 1ec3cb893fa8883f5baf69850a4d0a97502bbad8 # bad: [9318be060506be33a0fbf01198b0024fdeb28f39] hw/sd/sdcard: Add sd_cmd_GO_INACTIVE_STATE handler (CMD15) git bisect bad 9318be060506be33a0fbf01198b0024fdeb28f39 # bad: [030897e89d3dff8ef7efd5cc570612da4476734f] hw/sd/sdcard: Add sd_cmd_STOP_TRANSMISSION handler (CMD12) git bisect bad 030897e89d3dff8ef7efd5cc570612da4476734f # bad: [da954d0e32444f122a41c24948d4d1c718bf66d4] hw/sd/sdcard: Add spi_cmd_SEND_CSD/CID handlers (CMD9 & CMD10) git bisect bad da954d0e32444f122a41c24948d4d1c718bf66d4 # first bad commit: [da954d0e32444f122a41c24948d4d1c718bf66d4] hw/sd/sdcard: Add spi_cmd_SEND_CSD/CID handlers (CMD9 & CMD10)