Revision 4704d9eba6d8017dc694c077ca4205ffd8becad8 authored by Mark Cave-Ayland on 16 May 2020, 13:01:31 UTC, committed by Mark Cave-Ayland on 16 May 2020, 13:42:22 UTC
QEMU commit c9b7d9ec21 "virtio: increase virtqueue size for virtio-scsi and virtio-blk" increased the number of queue descriptors from 128 to 256 which caused OpenBIOS to fail when booting from a virtio-blk device under qemu-system-ppc due to a memory overflow. Update the virtio-blk driver so that it uses a maximum of 128 descriptor entries (the previous value) to fix the issue, and also ensure that any further increases in virtqueue size will not cause the same failure. Note that this commit also fixes the vring_area size calculation which was incorrectly based upon the number of virtqueues, and not the number of descriptor entries. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
1 parent 9b8c30c
File | Mode | Size |
---|---|---|
__divdi3.c | -rw-r--r-- | 324 bytes |
__divti3.c | -rw-r--r-- | 336 bytes |
__lshrdi3.c | -rw-r--r-- | 1.4 KB |
__negti2.c | -rw-r--r-- | 1.3 KB |
__udivdi3.c | -rw-r--r-- | 150 bytes |
__udivmoddi4.c | -rw-r--r-- | 501 bytes |
__udivmodti4.c | -rw-r--r-- | 519 bytes |
__udivti3.c | -rw-r--r-- | 159 bytes |
__umoddi3.c | -rw-r--r-- | 176 bytes |
__umodti3.c | -rw-r--r-- | 188 bytes |
ashldi3.c | -rw-r--r-- | 1.4 KB |
ashrdi3.c | -rw-r--r-- | 1.5 KB |
build.xml | -rw-r--r-- | 717 bytes |
crtsavres.S | -rw-r--r-- | 8.8 KB |
libgcc.h | -rw-r--r-- | 1.2 KB |
multi3.c | -rw-r--r-- | 2.4 KB |
Computing file changes ...