All of lore.kernel.org
 help / color / mirror / Atom feed
From: Boris Ostrovsky <boris.ostrovsky@oracle.com>
To: Jan Beulich <JBeulich@suse.com>, Chao Gao <chao.gao@intel.com>
Cc: Juergen Gross <jgross@suse.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Ankur Arora <ankur.a.arora@oracle.com>,
	xen-devel@lists.xen.org
Subject: Re: [PATCH] x86/vlapic: Don't reset APIC mode/ID when handling INIT signal
Date: Wed, 19 Apr 2017 09:43:15 -0400	[thread overview]
Message-ID: <05d39fae-c8ba-292b-9f16-3caf31087d1c@oracle.com> (raw)
In-Reply-To: <58F780600200007800151F2E@prv-mh.provo.novell.com>



On 04/19/2017 09:21 AM, Jan Beulich wrote:
>>>> On 19.04.17 at 06:56, <chao.gao@intel.com> wrote:
>> On Wed, Apr 19, 2017 at 02:48:57AM -0600, Jan Beulich wrote:
>>>>>> On 18.04.17 at 23:51, <chao.gao@intel.com> wrote:
>>>> HVM guest can't enable x2apic as XENFEAT_hvm_pirqs is exposed to it.
>>>> Why we have this restriction? As a consequence, This patch isn't
>>>> tested in that case.
>>>
>>> HVM guests very well can use x2APIC, I'm seeing them use it all
>>> the time. Please be more specific with your question.
>>
>> OK. I failed to enable guest's x2apic, with the output: IRQ Remapping doesn't
>> support X2APIC mode. Eventually, I found the xen_x2apic_para_available()
>> in linux kernel and it returns false when Xen exposes XENFEAT_hvm_pirqs to
>> guest.
>
> Looks more like a Linux/pvops question, which I continue to not
> really be an expert on. Let's ask the maintainers (now Cc-ed)
> (but it may well be that this simply depends on whether you
> enable PVHVM mode)...

Interestingly enough, I was looking at this last week and wondering why 
it was there. Ankur (copied) found an issue related to x2apic he thought 
was PVH-specific, but that was because HVM guests don't turn it on.

Konrad couldn't remember why it was there neither.

-boris

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

  reply	other threads:[~2017-04-19 13:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-18 21:51 [PATCH] x86/vlapic: Don't reset APIC mode/ID when handling INIT signal Chao Gao
2017-04-19  8:48 ` Jan Beulich
2017-04-19  4:56   ` Chao Gao
2017-04-19 13:21     ` Jan Beulich
2017-04-19 13:43       ` Boris Ostrovsky [this message]
2017-04-19 13:58         ` Juergen Gross
2017-04-19 14:13           ` Juergen Gross

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=05d39fae-c8ba-292b-9f16-3caf31087d1c@oracle.com \
    --to=boris.ostrovsky@oracle.com \
    --cc=JBeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=ankur.a.arora@oracle.com \
    --cc=chao.gao@intel.com \
    --cc=jgross@suse.com \
    --cc=xen-devel@lists.xen.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.