All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@redhat.com>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Peter Hilber <peter.hilber@oss.qualcomm.com>,
	virtio-comment@lists.linux.dev,
	Trilok Soni <trilok.soni@oss.qualcomm.com>,
	"Michael S. Tsirkin" <mst@redhat.com>
Subject: Re: [PATCH] content: Reserve ID 52 for Snapdragon device
Date: Thu, 27 Aug 2026 10:49:13 -0400	[thread overview]
Message-ID: <20260827144913.GA358650@fedora> (raw)
In-Reply-To: <6140152c-7e99-444d-a408-ec90a589a47b@siemens.com>

[-- Attachment #1: Type: text/plain, Size: 1715 bytes --]

On Thu, Aug 27, 2026 at 03:24:18PM +0200, Jan Kiszka wrote:
> On 26.08.26 20:44, Stefan Hajnoczi wrote:
> > On Wed, Aug 26, 2026 at 05:31:54PM +0200, Jan Kiszka wrote:
> >> On 26.08.26 13:55, Peter Hilber wrote:
> >>> Reserve a device ID for the Snapdragon device.  A Virtio Snapdragon
> >>> device exposes functionality across Snapdragon SoC subsystems through a
> >>> common Virtio-based protocol.
> >>>
> >>
> >> Virtio is supposed to provide generic hardware models, not so much a
> >> channel to expose concrete, physical chip IP over it. This looks very
> >> weird to me.
> > 
> > Device IDs assignments don't have to result in standardized devices. See
> > "5 Device Types" in VIRTIO 1.4 where there is a table of currently
> > reserved Device IDs.
> > 
> > While I'm in favor of defining generic device interfaces with many
> > possible implementations like virtio-net, virtio-blk, etc, I think a
> > SoC-specific control device is unlikely to fit into that category and
> > it's acceptable to allocate the Device ID with the understanding that
> > there will never be standardization of the device.
> 
> Would still list this ID by that vendor branding in the spec.
> 
> For me the question is if reservations for devices that will never be
> acceptable should be in scope for virtio. IIRC, the currently available
> ID range for virtio over PCI is 63, of which 50 (including invalid 0)
> are officially reserved already. If we see an inflation of such
> vendor-specific reservations, we might be force to hunt for another PCI
> device ID range earlier.

Interesting, maybe Michael Tsirkin knows what options are available for
extending the PCI Device ID range.

Stefan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2026-08-27 14:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-26 11:55 [PATCH] content: Reserve ID 52 for Snapdragon device Peter Hilber
2026-08-26 15:31 ` Jan Kiszka
2026-08-26 18:44   ` Stefan Hajnoczi
2026-08-27 13:24     ` Jan Kiszka
2026-08-27 14:49       ` Stefan Hajnoczi [this message]
2026-08-27 16:17   ` Peter Hilber
2026-08-27 18:51     ` Jan Kiszka

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=20260827144913.GA358650@fedora \
    --to=stefanha@redhat.com \
    --cc=jan.kiszka@siemens.com \
    --cc=mst@redhat.com \
    --cc=peter.hilber@oss.qualcomm.com \
    --cc=trilok.soni@oss.qualcomm.com \
    --cc=virtio-comment@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.