All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Jan Beulich <jbeulich@suse.com>
Cc: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
	Andrew Cooper <andrew.cooper3@citrix.com>, Wei Liu <wl@xen.org>
Subject: Re: [PATCH] x86/PV32: restore PAE-extended-CR3 logic
Date: Wed, 5 Apr 2023 11:40:30 +0200	[thread overview]
Message-ID: <ZC1CDs2Rei5OTE6d@Air-de-Roger> (raw)
In-Reply-To: <83cc6b93-6a50-1eed-1588-20b3bc38c318@suse.com>

On Wed, Apr 05, 2023 at 11:29:51AM +0200, Jan Beulich wrote:
> On 05.04.2023 10:59, Roger Pau Monné wrote:
> > We should likely move the setting of vm_assist to the domain create
> > hypercall, instead of doing it at vCPU initialization.
> 
> Perhaps, the more that setting the assist is limited to vCPU 0 init.
> Which in a way makes sense when considering domain creation, but it
> is odd for the case of vCPU 0 being brought down, reset, and then
> re-initialized; IOW I think arch_set_info_guest() should further
> have constrained the setting by a !d->creation_finished check.

Maybe, but still the right fix IMO would be to move this into
domain_create.  We could add the !d->creation_finished check but that
feels more like a bodge than a proper solution.

Restoring the previous check is better than nothing, but it would be
nice if long term we could get rid of the vpcu related conditions.

Thanks, Roger.


  reply	other threads:[~2023-04-05  9:41 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-15 14:54 [PATCH] x86/PV32: restore PAE-extended-CR3 logic Jan Beulich
2023-04-04 10:12 ` Roger Pau Monné
2023-04-04 10:31   ` Jan Beulich
2023-04-04 11:41     ` Roger Pau Monné
2023-04-04 14:24       ` Jan Beulich
2023-04-04 15:57         ` Roger Pau Monné
2023-04-04 16:38           ` Roger Pau Monné
2023-04-05  8:11             ` Jan Beulich
2023-04-05  8:59               ` Roger Pau Monné
2023-04-05  9:29                 ` Jan Beulich
2023-04-05  9:40                   ` Roger Pau Monné [this message]
2023-04-04 13:08 ` Andrew Cooper
2023-04-04 14:21   ` Jan Beulich
2023-04-04 20:40     ` Andrew Cooper
2023-04-05  8:44       ` Jan Beulich
2024-02-09  9:06 ` 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=ZC1CDs2Rei5OTE6d@Air-de-Roger \
    --to=roger.pau@citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=jbeulich@suse.com \
    --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 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.