Skip to content

RFC usb/msd: Permit relaxed ordering of IN packets

Nicholas Piggin qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2usb/msd: Add status to usb_msd_packet_complete() functionhw/usb/dev-storage.c+8 -91 reply
2/2usb/msd: Permit relaxed ordering of IN packetshw/usb/dev-storage.c include/hw/usb/msd.h+349 -1760 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-Daudé
1/2R-b
2/2

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

Read the v1 thread

Cover letter [RFC PATCH 0/2] usb/msd: Permit relaxed ordering of IN packets

Hi,

This allows MSD Data-In and CSW packets before the CBW packet.

This is just for RFC for now, but it does work. Patch 2 has the main description of the problem and solution.

I've not found a good way to split this into smaller pieces yet, but I will try, also migration is currently broken, I'm not sure the best way to test that. I would like to add a MSD qtest and hopefully the XHCI transfer ring qtest could help with that, but it's still quite a big job I think.

Thanks,
Nick

Nicholas Piggin (2):
usb/msd: Add status to usb_msd_packet_complete() function usb/msd: Permit relaxed ordering of IN packets

 include/hw/usb/msd.h |  20 +-
 hw/usb/dev-storage.c | 512 ++++++++++++++++++++++++++++---------------
 2 files changed, 352 insertions(+), 180 deletions(-)
Signature · 1 line
2.45.2