summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorXiong Weimin <xiongweimin@kylinos.cn>2026-06-26 10:05:44 +0800
committerMichael S. Tsirkin <mst@redhat.com>2026-08-03 23:08:17 -0400
commitdb09a0f62f888da11bca2f4aba65a7b60b4eb6f5 (patch)
treed0adf215d541d3ef397a262a6bae6047f5c46e13 /scripts/Makefile.thinlto
parent1263264b5af268dba19f27520a7fb135a5c8f07e (diff)
downloadlinux-next-db09a0f62f888da11bca2f4aba65a7b60b4eb6f5.tar.gz
linux-next-db09a0f62f888da11bca2f4aba65a7b60b4eb6f5.zip
vdpa_sim: clear pending_kick on device reset
vdpasim_kick_vq() sets pending_kick when a virtqueue is kicked while the device is suspended (!running but DRIVER_OK). vdpasim_resume() later replays kicks for all virtqueues when pending_kick is set. vdpasim_do_reset() clears running and status but leaves pending_kick unchanged. If a kick is deferred during suspend and the device is reset before resume, a later resume can spuriously kick every virtqueue even though no new work was queued after reset. Clear pending_kick in vdpasim_do_reset() together with the other device state that must not survive a reset. Tested-on: openEuler VM (6.16.8, /usr/src/linux-6.16.8) Tested-by: Xiong Weimin <xiongweimin@kylinos.cn> Signed-off-by: Xiong Weimin <xiongweimin@kylinos.cn> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Message-ID: <20260626020545.607600-2-15927021679@163.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions