[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v8 15/18] hw/usb/redirect-server: Implement bulk and interrupt transfers
- To: Jamin Lin <jamin_lin@xxxxxxxxxxxxxx>
- From: marcandre.lureau@xxxxxxxxxx
- Date: Mon, 02 Nov 2026 18:07:30 +0400
- Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=mimecast20190719 header.d=redhat.com header.i="@redhat.com" header.h="From:Subject:Date:Message-Id:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To:References"
- Cc: kraxel@xxxxxxxxxx, marcandre.lureau@xxxxxxxxxx, junjie.cao@xxxxxxxxx, junjie.cao@xxxxxxxxx, clg@xxxxxxxx, Pierrick Bouvier <pierrick.bouvier@xxxxxxxxxxxxxxxx>, Peter Maydell <peter.maydell@xxxxxxxxxx>, Kane Chen <kane_chen@xxxxxxxxxxxxxx>, Philippe Mathieu-Daudé <philmd@xxxxxxxxxxxxxxxx>, Tyrone Ting <kfting@xxxxxxxxxxx>, Hao Wu <wuhaotsh@xxxxxxxxxx>, Zhao Liu <zhao1.liu@xxxxxxxxx>, Richard Henderson <richard.henderson@xxxxxxxxxx>, Helge Deller <deller@xxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Anthony PERARD <anthony@xxxxxxxxxxxxxx>, "Edgar E. Iglesias" <edgar.iglesias@xxxxxxxxx>, "open list:All patches CC here" <qemu-devel@xxxxxxxxxx>, "open list:ASPEED BMCs" <qemu-arm@xxxxxxxxxx>, "open list:X86 Xen CPUs" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Troy Lee <troy_lee@xxxxxxxxxxxxxx>
- Delivery-date: Mon, 02 Nov 2026 14:12:35 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Mon, 02 Nov 2026 09:22:24 +0000, Jamin Lin <jamin_lin@xxxxxxxxxxxxxx> wrote:
> Send bulk and interrupt packets to the device and return the result to
> the host. Each one is a request and an answer, so they reuse the packet
> tracking and the NAK handling added for control transfers.
>
> A bulk request carries a 32 bit length, so the host can ask us to
> allocate up to 4 GB. Refuse a request that big. Do not answer it with
> fewer bytes instead: the host counts the bytes it gets back, and it
> resets the device when some are missing.
>
> [...]
Reviewed-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
--
Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
|