public inbox for virtio-dev@lists.linux.dev
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Parav Pandit <parav@nvidia.com>
Cc: "virtio-comment@lists.oasis-open.org"
	<virtio-comment@lists.oasis-open.org>,
	"cohuck@redhat.com" <cohuck@redhat.com>,
	"david.edmondson@oracle.com" <david.edmondson@oracle.com>,
	"virtio-dev@lists.oasis-open.org"
	<virtio-dev@lists.oasis-open.org>,
	"sburla@marvell.com" <sburla@marvell.com>,
	"jasowang@redhat.com" <jasowang@redhat.com>,
	Yishai Hadas <yishaih@nvidia.com>,
	Maor Gottlieb <maorg@nvidia.com>,
	Shahaf Shuler <shahafs@nvidia.com>
Subject: [virtio-dev] Re: [virtio-comment] RE: [PATCH v6 4/4] transport-pci: Introduce group legacy group member config region access
Date: Wed, 21 Jun 2023 16:08:19 -0400	[thread overview]
Message-ID: <20230621160609-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <PH0PR12MB5481485BA45249130E309EE7DC5DA@PH0PR12MB5481.namprd12.prod.outlook.com>

On Wed, Jun 21, 2023 at 08:04:22PM +0000, Parav Pandit wrote:
> 
> > From: Michael S. Tsirkin <mst@redhat.com>
> > Sent: Wednesday, June 21, 2023 3:43 PM
> > 
> > On Wed, Jun 21, 2023 at 04:01:00PM +0000, Parav Pandit wrote:
> > >
> > >
> > > > From: Michael S. Tsirkin <mst@redhat.com>
> > > > Sent: Wednesday, June 21, 2023 11:56 AM
> > >
> > > > Not like v3 please. If you want to re-open this:
> > > >
> > > >
> > > > First I think we need multiple offsets just like notification
> > > > capaiblity, sorted by priority. Second I think we need ability to
> > > > report offset within owner not member.
> > > >
> > > > So please add ability to report multiple offsets, and add e.g.
> > > > a flags field, with bits for owner, member.
> > >
> > > What are these multiple offsets for?
> > 
> > Different BARs.  For example, IO versus memory. Yes I know VFs don't support
> > IO but PFs do. prefetch vs non-prefetch might matter too (non-prefetch is
> > mostly limited to 32 bit).
> >
> BAR type and its prefetch attributes are told by the PCI anyway so no duplication here anyway.

yes they are! But for example, software PF device might prefer notification in IO
BAR if that can be mapped. If not - use MMIO.


> For owner and member I get it. 
> > 
> > > Do you mean two offsets? One for owner and one for member?
> > > Both bits are optional. Do you agree?
> > 
> > I agree that everything should be optional sure. Let's not limit it to two though.
> > There could be multiple BARs or whatever. We have ability to pass buffers of
> > arbitrary length and device reports the length.
> > Maybe have a SHOULD recommending not more than 10 of these (1 for each
> > possible PCI BAR one for each possible VF BAR).
> > 
> > This is to match the functionality that notification capability has.
> > 
> A device can expose multiple offsets within the single bar to a count of 100 entries;
> Also allowed in the notification capability.
> (I don't see why any sane device would do that anyway)

Me neither.

> So I will avoid such extra restrictions and limit the scope of this patch to be minimal to have arbitrary number of BAR entries limited by the command result length.

That sounds OK.

> > 
> > 
> > > This publicly archived list offers a means to provide input to the
> > > OASIS Virtual I/O Device (VIRTIO) TC.
> > >
> > > In order to verify user consent to the Feedback License terms and to
> > > minimize spam in the list archive, subscription is required before
> > > posting.
> > >
> > > Subscribe: virtio-comment-subscribe@lists.oasis-open.org
> > > Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org
> > > List help: virtio-comment-help@lists.oasis-open.org
> > > List archive: https://lists.oasis-open.org/archives/virtio-comment/
> > > Feedback License:
> > > https://www.oasis-open.org/who/ipr/feedback_license.pdf
> > > List Guidelines:
> > > https://www.oasis-open.org/policies-guidelines/mailing-lists
> > > Committee: https://www.oasis-open.org/committees/virtio/
> > > Join OASIS: https://www.oasis-open.org/join/


---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org


  reply	other threads:[~2023-06-21 20:08 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-13 17:30 [virtio-dev] [PATCH v6 0/4] admin: Introduce legacy registers access using AQ Parav Pandit
2023-06-13 17:30 ` [virtio-dev] [PATCH v6 1/4] admin: Split opcode table rows with a line Parav Pandit
2023-06-13 17:30 ` [virtio-dev] [PATCH v6 2/4] admin: Fix section numbering Parav Pandit
2023-06-13 17:30 ` [virtio-dev] [PATCH v6 3/4] admin: Add group member legacy register access commands Parav Pandit
2023-06-19 16:20   ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 16:29     ` [virtio-dev] " Parav Pandit
2023-06-19 16:40       ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 16:45         ` [virtio-dev] " Parav Pandit
2023-06-19 17:10           ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 17:21             ` Parav Pandit
2023-06-19 17:33               ` Michael S. Tsirkin
2023-06-19 17:38                 ` Parav Pandit
2023-06-13 17:30 ` [virtio-dev] [PATCH v6 4/4] transport-pci: Introduce group legacy group member config region access Parav Pandit
2023-06-19 16:16   ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 21:07     ` [virtio-dev] " Parav Pandit
2023-06-21 20:05       ` [virtio-dev] Re: [virtio-comment] " Michael S. Tsirkin
2023-06-21 20:22         ` [virtio-dev] " Parav Pandit
2023-06-21 20:31           ` [virtio-dev] " Michael S. Tsirkin
2023-06-21 20:43             ` [virtio-dev] " Parav Pandit
2023-06-19 16:37   ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 16:39     ` [virtio-dev] " Parav Pandit
2023-06-19 17:19       ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 17:26         ` [virtio-dev] " Parav Pandit
2023-06-19 17:37           ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 17:45             ` [virtio-dev] " Parav Pandit
2023-06-19 17:57               ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 18:07                 ` [virtio-dev] " Parav Pandit
2023-06-20 14:12                   ` Parav Pandit
2023-06-21 15:50                     ` Parav Pandit
2023-06-21 15:56                       ` [virtio-dev] " Michael S. Tsirkin
2023-06-21 16:01                         ` [virtio-dev] " Parav Pandit
2023-06-21 19:43                           ` [virtio-dev] Re: [virtio-comment] " Michael S. Tsirkin
2023-06-21 20:04                             ` [virtio-dev] " Parav Pandit
2023-06-21 20:08                               ` Michael S. Tsirkin [this message]
2023-06-19 18:00               ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 18:12                 ` [virtio-dev] " Parav Pandit
2023-06-21 19:47                   ` [virtio-dev] Re: [virtio-comment] " Michael S. Tsirkin
2023-06-19 17:04   ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 17:11     ` Parav Pandit
2023-06-19 17:26       ` Michael S. Tsirkin
2023-06-19 17:35         ` Parav Pandit
2023-06-19 17:46           ` Michael S. Tsirkin
2023-06-20  0:14             ` Parav Pandit
2023-06-20 10:21               ` Michael S. Tsirkin
2023-06-21  1:09                 ` Parav Pandit
2023-06-21  5:05                   ` Michael S. Tsirkin
2023-06-19 12:38 ` [virtio-dev] RE: [PATCH v6 0/4] admin: Introduce legacy registers access using AQ Parav Pandit
2023-06-19 15:18   ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 15:58     ` [virtio-dev] " Parav Pandit
2023-06-19 16:28 ` [virtio-dev] " Michael S. Tsirkin

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=20230621160609-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.com \
    --cc=cohuck@redhat.com \
    --cc=david.edmondson@oracle.com \
    --cc=jasowang@redhat.com \
    --cc=maorg@nvidia.com \
    --cc=parav@nvidia.com \
    --cc=sburla@marvell.com \
    --cc=shahafs@nvidia.com \
    --cc=virtio-comment@lists.oasis-open.org \
    --cc=virtio-dev@lists.oasis-open.org \
    --cc=yishaih@nvidia.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