[PATCH 1/1] virito: blk: fix logic to determine block sizes
Tom Rini
trini at konsulko.com
Fri Oct 17 03:23:53 CEST 2025
On Thu, 09 Oct 2025 18:44:35 +0200, Heinrich Schuchardt wrote:
> With commit c85b8071e7d3 ("virtio: blk: support block sizes exceeding 512
> bytes") logic was added to detect the VIRTIO_BLK_F_BLK_SIZE capability and
> to copy the block size reported by QEMU to the block device descriptor.
>
> The logical block size can be set when invoking QEMU:
>
> -drive if=none,file=4096.img,format=raw,id=vda \
> -device virtio-blk-device,drive=vda,physical_block_size=4096,logical_block_size=4096
>
> [...]
Applied to u-boot/master, thanks!
[1/1] virito: blk: fix logic to determine block sizes
commit: 7e65d29b6618603a51053d5fa9f4ef585e5b8959
--
Tom
More information about the U-Boot
mailing list