xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Jan Beulich <jbeulich@suse.com>
To: Ian Jackson <iwj@xenproject.org>
Cc: xen-devel@lists.xenproject.org, Wei Liu <wl@xen.org>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	George Dunlap <george.dunlap@citrix.com>,
	Julien Grall <julien@xen.org>,
	Stefano Stabellini <sstabellini@kernel.org>,
	Anthony PERARD <anthony.perard@citrix.com>,
	Juergen Gross <jgross@suse.com>,
	Christian Lindig <christian.lindig@citrix.com>,
	David Scott <dave@recoil.org>,
	Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>,
	Roger Pau Monne <roger.pau@citrix.com>
Subject: Re: [PATCH for-4.16 v6] gnttab: allow setting max version per-domain
Date: Thu, 4 Nov 2021 13:25:31 +0100	[thread overview]
Message-ID: <8ae2c1ac-b220-a5ab-920b-244590ae3ef0@suse.com> (raw)
In-Reply-To: <24963.52610.316896.770905@mariner.uk.xensource.com>

On 04.11.2021 13:09, Ian Jackson wrote:
> Roger Pau Monne writes ("[PATCH for-4.16 v6] gnttab: allow setting max version per-domain"):
>> Introduce a new domain create field so that toolstack can specify the
>> maximum grant table version usable by the domain. This is plumbed into
>> xl and settable by the user as max_grant_version.
>>
>> Previously this was only settable on a per host basis using the
>> gnttab command line option.
>>
>> Note the version is specified using 4 bits, which leaves room to
>> specify up to grant table version 15. Given that we only have 2 grant
>> table versions right now, and a new version is unlikely in the near
>> future using 4 bits seems more than enough.
>>
>> xenstored stubdomains are limited to grant table v1 because the
>> current MiniOS code used to build them only has support for grants v1.
>> There are existing limits set for xenstored stubdomains at creation
>> time that already match the defaults in MiniOS.
> ...
>> This needs to be applied on top of Andrew's:
>>
>> xen: Report grant table v1/v2 capabilities to the toolstack
>> https://lore.kernel.org/xen-devel/20211029173813.23002-1-andrew.cooper3@citrix.com/
> 
> Thanks.
> 
> We have discussed this wrt 4.16.  I am minded to grant a release ack
> for this.  If anyone has a contrary opinion please speak now.
> 
> (I think committing both of these would be subject to maintainer acks
> for "Report grant table v1/v2 capabilities", which I didn't see but
> perhaps I am missing.)

Afaic that patch looks okay (albeit not really a scalable way to express
things, if we were to consider further versions to appear), but it wasn't
clear to me whether Roger's reply was meant as an objection, a direction
towards doing things differently, or merely a benign comment. Hence it
didn't feel appropriate to give an A-b just yet.

Jan



  reply	other threads:[~2021-11-04 12:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-04 10:48 [PATCH for-4.16 v6] gnttab: allow setting max version per-domain Roger Pau Monne
2021-11-04 11:00 ` Christian Lindig
2021-11-04 12:05 ` Ian Jackson
2021-11-08 15:11   ` Ian Jackson
2021-11-04 12:09 ` Ian Jackson
2021-11-04 12:25   ` Jan Beulich [this message]
2021-11-04 13:48     ` Roger Pau Monné
2021-11-08 14:46       ` Ian Jackson
2021-11-08 14:54         ` Roger Pau Monné
2021-11-04 12:56 ` Andrew Cooper
2021-11-08 15:00 ` Ian Jackson
2021-11-08 15:07   ` Roger Pau Monné

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=8ae2c1ac-b220-a5ab-920b-244590ae3ef0@suse.com \
    --to=jbeulich@suse.com \
    --cc=Volodymyr_Babchuk@epam.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=anthony.perard@citrix.com \
    --cc=christian.lindig@citrix.com \
    --cc=dave@recoil.org \
    --cc=george.dunlap@citrix.com \
    --cc=iwj@xenproject.org \
    --cc=jgross@suse.com \
    --cc=julien@xen.org \
    --cc=roger.pau@citrix.com \
    --cc=sstabellini@kernel.org \
    --cc=wl@xen.org \
    --cc=xen-devel@lists.xenproject.org \
    /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;
as well as URLs for NNTP newsgroup(s).