Linux USB
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Igor Skalkin <igor.skalkin@oss.qualcomm.com>
Cc: "Michael S . Tsirkin" <mst@redhat.com>,
	Jason Wang <jasowangio@gmail.com>,
	virtualization@lists.linux.dev, linux-usb@vger.kernel.org,
	linux-kernel@vger.kernel.org, Eugenio Perez <eperezma@redhat.com>,
	Xuan Zhuo <xuanzhuo@linux.alibaba.com>,
	Vasilii Ianikeev <vasilii.ianikeev@oss.qualcomm.com>,
	Aiswarya Cyriac <aiswarya.cyriac@oss.qualcomm.com>,
	Anton Yakovlev <anton.yakovlev@oss.qualcomm.com>,
	Trilok Soni <trilok.soni@oss.qualcomm.com>,
	Matias Ezequiel Vara Larsen <mvaralar@redhat.com>
Subject: Re: [RFC PATCH v2 0/7] virtio-usb: add dual-role virtio USB driver
Date: Tue, 1 Dec 2026 21:09:32 +0100	[thread overview]
Message-ID: <2026120111-ultra-panning-148c@gregkh> (raw)
In-Reply-To: <cover.1796144390.git.igor.skalkin@oss.qualcomm.com>

On Tue, Dec 01, 2026 at 06:35:29PM +0100, Igor Skalkin wrote:
> This series adds a driver for the virtio USB device: a dual-role
> paravirtualized USB controller. Each port of the device is either a
> USB host controller port, backed by a per-port HS+SS usb_hcd pair, or
> a USB device controller (UDC). Dual-role ports can switch between the
> two roles at runtime, and the switch is exposed through the USB role
> switch class. This is a device-driven role switch, not USB OTG:
> there is no HNP/SRP, ID pin or OTG descriptor involved.
> 
> The device is described in the virtio-usb specification proposal,
> currently at RFC v3 on virtio-comment:
> 
>   https://lore.kernel.org/virtio-comment/20260611130826.287372-1-vasilii.ianikeev@oss.qualcomm.com/T/
> 
> This series is an RFC because the specification is still under
> review. The protocol header in patch 2 follows spec RFC v3.
> 
> The driver was tested against two device backends: a proprietary one
> and one based on QEMU. The QEMU backend is currently under review and
> will be sent upstream soon.
> 
> Series layout:
> 
>  - 1/7 syncs the device ID (49) from the virtio specification into
>    virtio_ids.h. The driver does not build without it.
>  - 2/7 adds the protocol header and the driver skeleton.
>  - 3/7 and 4/7 add the host and the device role.
>  - 5/7 adds the per-port role query, which is needed when the device
>    offers both roles.
>  - 6/7 adds runtime host/device role switching.
>  - 7/7 lets the device supply a name prefix for a port's UDC.
> 
> Changes since v1:
> 
>  - Marked as RFC, since the specification is still under review.
>  - Rebased onto v7.4-rc5. The virtio_ids.h patch is now part of the
>    series (1/7).
>  - Series restructured: v1 6/8 ("rework endpoint lifecycle to an
>    async split-phase state machine") and v1 7/8 ("add SuperSpeed
>    device-role support") are folded into the device role patch
>    (4/7). The OTG patches are renamed to "per-port role query" (5/7)
>    and "host/device role switch" (6/7).
>  - checkpatch, sparse and kernel-doc cleanups throughout.

You forgot the big DO NOT DO THIS AT ALL! review comment from me
previously?

{sigh}


      parent reply	other threads:[~2026-12-01 20:09 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-24 16:08 [PATCH 0/8] virtio-usb: add dual-role virtio USB driver Igor Skalkin
2026-09-24 16:09 ` [PATCH 1/8] virtio-usb: add protocol header and skeleton dual-role driver Igor Skalkin
2026-09-25  5:14   ` Greg Kroah-Hartman
2026-09-28 14:19     ` Igor Skalkin
2026-09-25  5:21   ` Greg Kroah-Hartman
2026-09-28 14:14     ` Igor Skalkin
2026-09-24 16:09 ` [PATCH 2/8] virtio-usb: add host role (USB Host Controller) support Igor Skalkin
2026-09-25  5:18   ` Greg Kroah-Hartman
2026-09-28 14:01     ` Igor Skalkin
2026-09-24 16:09 ` [PATCH 3/8] virtio-usb: add device role (USB Device " Igor Skalkin
2026-09-24 16:09 ` [PATCH 4/8] virtio-usb: add OTG role query support Igor Skalkin
2026-09-24 16:09 ` [PATCH 5/8] virtio-usb: add USB On-The-Go role-switching support Igor Skalkin
2026-09-24 16:09 ` [PATCH 6/8] virtio-usb: rework endpoint lifecycle to an async split-phase state machine Igor Skalkin
2026-09-24 16:09 ` [PATCH 7/8] virtio-usb: add SuperSpeed device-role support Igor Skalkin
2026-09-24 16:09 ` [PATCH 8/8] virtio-usb: support a guest UDC name prefix from the bind event Igor Skalkin
2026-09-25  5:17 ` [PATCH 0/8] virtio-usb: add dual-role virtio USB driver Greg Kroah-Hartman
2026-09-28 13:55   ` Igor Skalkin
2026-09-28 14:44     ` Greg Kroah-Hartman
2026-09-28 15:56       ` Igor Skalkin
2026-09-28 16:10         ` Greg Kroah-Hartman
2026-09-29  9:47     ` Michael S. Tsirkin
2026-09-29 16:01       ` Greg Kroah-Hartman
2026-09-29 19:02         ` Vasilii Ianikeev
2026-09-29 19:58         ` Vasilii Ianikeev
2026-12-01 17:35 ` [RFC PATCH v2 0/7] " Igor Skalkin
2026-12-01 17:35   ` [RFC PATCH v2 1/7] uapi: virtio_ids: reserve ID for virtio USB device Igor Skalkin
2026-12-01 17:35   ` [RFC PATCH v2 2/7] virtio-usb: add protocol header and skeleton dual-role driver Igor Skalkin
2026-12-01 17:52     ` sashiko-bot
2026-12-01 17:35   ` [RFC PATCH v2 3/7] virtio-usb: add host role (USB Host Controller) support Igor Skalkin
2026-12-01 18:09     ` sashiko-bot
2026-12-01 17:35   ` [RFC PATCH v2 4/7] virtio-usb: add device role (USB Device " Igor Skalkin
2026-12-01 18:13     ` sashiko-bot
2026-12-01 17:35   ` [RFC PATCH v2 5/7] virtio-usb: add per-port role query support Igor Skalkin
2026-12-01 17:54     ` sashiko-bot
2026-12-01 17:35   ` [RFC PATCH v2 6/7] virtio-usb: add host/device role switch support Igor Skalkin
2026-12-01 18:00     ` sashiko-bot
2026-12-01 17:35   ` [RFC PATCH v2 7/7] virtio-usb: support a guest UDC name prefix from the bind event Igor Skalkin
2026-12-01 17:50     ` sashiko-bot
2026-12-01 17:49   ` [RFC PATCH v2 0/7] virtio-usb: add dual-role virtio USB driver Michael S. Tsirkin
2026-12-01 18:14   ` sashiko-bot
2026-12-01 20:09   ` Greg Kroah-Hartman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2026120111-ultra-panning-148c@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=aiswarya.cyriac@oss.qualcomm.com \
    --cc=anton.yakovlev@oss.qualcomm.com \
    --cc=eperezma@redhat.com \
    --cc=igor.skalkin@oss.qualcomm.com \
    --cc=jasowangio@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=mvaralar@redhat.com \
    --cc=trilok.soni@oss.qualcomm.com \
    --cc=vasilii.ianikeev@oss.qualcomm.com \
    --cc=virtualization@lists.linux.dev \
    --cc=xuanzhuo@linux.alibaba.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox