All of lore.kernel.org
 help / color / mirror / Atom feed
From: Henry Wang <Henry.Wang@arm.com>
To: Paul Durrant <xadimgnik@gmail.com>,
	Roger Pau Monne <roger.pau@citrix.com>,
	"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Cc: Wei Liu <wl@xen.org>, Jan Beulich <jbeulich@suse.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Jun Nakajima <jun.nakajima@intel.com>,
	Kevin Tian <kevin.tian@intel.com>
Subject: RE: [PATCH for-4.17 v2] hvm/apic: repurpose the reporting of the APIC assist options
Date: Sat, 5 Nov 2022 01:43:13 +0000	[thread overview]
Message-ID: <AS8PR08MB799168C8982994D0AD2DE176923A9@AS8PR08MB7991.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <d93ad249-8b6e-2ab4-482a-bfd8a07eb6b5@xen.org>

Hi Roger,

> Subject: Re: [PATCH for-4.17 v2] hvm/apic: repurpose the reporting of the
> APIC assist options
> 
> On 04/11/2022 16:18, Roger Pau Monne wrote:
> > The current reporting of the hardware assisted APIC options is done by
> > checking "virtualize APIC accesses" which is not very helpful, as that
> > feature doesn't avoid a vmexit, instead it does provide some help in
> > order to detect APIC MMIO accesses in vmexit processing.
> >
> > Repurpose the current reporting of xAPIC assistance to instead report
> > such feature as present when there's support for "TPR shadow" and
> > "APIC register virtualization" because in that case some xAPIC MMIO
> > register accesses are handled directly by the hardware, without
> > requiring a vmexit.
> >
> > For symetry also change assisted x2APIC reporting to require
> > "virtualize x2APIC mode" and "APIC register virtualization", dropping
> > the option to also be reported when "virtual interrupt delivery" is
> > available.  Presence of the "virtual interrupt delivery" feature will
> > be reported using a different option.
> >
> > Fixes: 2ce11ce249 ('x86/HVM: allow per-domain usage of hardware
> virtualized APIC')
> > Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
> > ---
> > Changes since v1:
> >   - Fix Viridian MSR tip conditions.
> 
> Reviewed-by: Paul Durrant <paul@xen.org>

Release-acked-by: Henry Wang <Henry.Wang@arm.com>

Kind regards,
Henry


  reply	other threads:[~2022-11-05  1:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-04 16:18 [PATCH for-4.17 v2] hvm/apic: repurpose the reporting of the APIC assist options Roger Pau Monne
2022-11-04 17:37 ` Paul Durrant
2022-11-05  1:43   ` Henry Wang [this message]
2022-11-07 16:58 ` Jan Beulich
2022-11-08 10:09   ` Roger Pau Monné
2022-11-09 10:56   ` Henry Wang
2022-11-10 22:47 ` Andrew Cooper
2022-11-11  7:45   ` Jan Beulich
2022-11-11 17:35     ` Andrew Cooper
2022-11-11 17:47       ` Andrew Cooper
2022-11-14 13:15         ` Roger Pau Monné
2022-11-14 15:31           ` Andrew Cooper
2022-11-14 16:03             ` Roger Pau Monné
2022-11-14  7:58       ` Jan Beulich
2022-11-11 10:24   ` Roger Pau Monné
2022-11-14 12:21   ` 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=AS8PR08MB799168C8982994D0AD2DE176923A9@AS8PR08MB7991.eurprd08.prod.outlook.com \
    --to=henry.wang@arm.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=jbeulich@suse.com \
    --cc=jun.nakajima@intel.com \
    --cc=kevin.tian@intel.com \
    --cc=roger.pau@citrix.com \
    --cc=wl@xen.org \
    --cc=xadimgnik@gmail.com \
    --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.