aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorLi RongQing <lirongqing@baidu.com>2026-09-10 20:39:03 +0800
committerMichael S. Tsirkin <mst@redhat.com>2026-11-02 09:06:59 -0500
commitd7825623a9d4452f97da7ea0d84b2967d507ccf9 (patch)
tree6026f54233da589d10d1204ad833a6e24ba4345b /scripts/Makefile.thinlto
parentvirtio-spi: Fix virtio_spi_config kernel-doc (diff)
virtio_ring: reset IN_ORDER state in virtqueue_init()
The IN_ORDER feature uses additional software state to track the next available descriptor and in-flight descriptor batches. virtqueue_init() resets the common virtqueue state, but free_head and batch_last.id are initialized only when the virtqueue is created. When an IN_ORDER virtqueue is reset, these fields can retain state from the previous queue instance. Reset free_head and invalidate batch_last when initializing an IN_ORDER virtqueue. Keep this in virtqueue_init() so the state is initialized consistently for both newly created and reset virtqueues. Fixes: f6a15d854986 ("virtio_ring: add in order support") Signed-off-by: Li RongQing <lirongqing@baidu.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Message-ID: <20260910123903.1717-1-lirongqing@baidu.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions