Skip to content

scsi: More reset and hotplug fixes

Jan Kiszka qemu-devel 1 version Applied

Status from this message: Applied all (including v2 of 5/5). Thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5SCSI: Add disk reset handlerhw/scsi-disk.c+27 -81 reply
2/5scsi-disk: Clear aiocb on read completionhw/scsi-disk.c+2 -00 replies
3/5lsi: Purge message queue on resethw/lsi53c895a.c+2 -00 replies
4/5lsi: Adjust some register reset valueshw/lsi53c895a.c+5 -30 replies
5/5lsi: Handle removal of selected deviceshw/lsi53c895a.c+38 -221 reply

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGerd Hoffmann
SeriesA-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/5] scsi: More reset and hotplug fixes

This series finally stabilizes system reset during ongoing SCSI I/O here. The first patch is a repost, the others include missing reset related bits that mostly concern the LSI controller. And the last patch addresses a disk hotplugging issue: The LSI used to keep pointers to the selected device, pointer that can become invalid it the device is removed in the middle of ongoing I/O.

Jan Kiszka (5):
SCSI: Add disk reset handler
scsi-disk: Clear aiocb on read completion
lsi: Purge message queue on reset
lsi: Adjust some register reset values
lsi: Handle removal of selected devices

 hw/lsi53c895a.c |   70 +++++++++++++++++++++++++++++++++++-------------------
 hw/scsi-disk.c  |   37 ++++++++++++++++++++++------
 2 files changed, 74 insertions(+), 33 deletions(-)