All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Roger Pau Monne <roger.pau@citrix.com>, xen-devel@lists.xenproject.org
Cc: Kevin Tian <kevin.tian@intel.com>,
	Jan Beulich <jbeulich@suse.com>,
	Eddie Dong <eddie.dong@intel.com>,
	Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>,
	Jun Nakajima <jun.nakajima@intel.com>,
	Boris Ostrovsky <boris.ostrovsky@oracle.com>,
	Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Subject: Re: [PATCH v8 02/21] xen/vlapic: fixes for HVM code when running without a vlapic
Date: Fri, 6 Nov 2015 16:10:57 +0000	[thread overview]
Message-ID: <563CD111.3000901@citrix.com> (raw)
In-Reply-To: <1446825955-11842-3-git-send-email-roger.pau@citrix.com>

On 06/11/15 16:05, Roger Pau Monne wrote:
> The HVM related code (SVM, VMX) generally assumed that a local apic is
> always present. With the introduction of a HVM mode were the local apic can
> be removed, some of this broken code paths arised.
>
> The SVM exit/resume paths unconditionally checked the state of the lapic,
> which is wrong if it's been disabled by hardware, fix this by adding the
> necessary checks. On the VMX side, make sure we don't add mappings for a
> local apic if it's disabled.
>
> In the generic vlapic code, add checks to prevent setting the TSC deadline
> timer if the lapic is disabled, and also prevent trying to inject interrupts
> from the PIC is the lapic is also disabled.
>
> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
> Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
> Cc: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
> Cc: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
> Cc: Jan Beulich <jbeulich@suse.com>
> Cc: Andrew Cooper <andrew.cooper3@citrix.com>
> Cc: Jun Nakajima <jun.nakajima@intel.com>
> Cc: Eddie Dong <eddie.dong@intel.com>
> Cc: Kevin Tian <kevin.tian@intel.com>

Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>

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

  reply	other threads:[~2015-11-06 16:11 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-06 16:05 [PATCH v8 00/21] Introduce HVM without dm and new boot ABI Roger Pau Monne
2015-11-06 16:05 ` [PATCH v8 01/21] xen/x86: add bitmap of enabled emulated devices Roger Pau Monne
2015-11-16 12:18   ` Jan Beulich
2015-11-16 18:33     ` Andrew Cooper
2015-11-17  9:42       ` Jan Beulich
2015-11-17  9:58         ` Juergen Gross
2015-11-17 10:30           ` Andrew Cooper
2015-11-17 10:35             ` Juergen Gross
2015-11-26 10:25       ` Roger Pau Monné
2015-11-06 16:05 ` [PATCH v8 02/21] xen/vlapic: fixes for HVM code when running without a vlapic Roger Pau Monne
2015-11-06 16:10   ` Andrew Cooper [this message]
2015-11-26  5:41   ` Tian, Kevin
2015-11-06 16:05 ` [PATCH v8 03/21] xen/x86: allow disabling the emulated local apic Roger Pau Monne
2015-11-26  5:47   ` Tian, Kevin
2015-11-06 16:05 ` [PATCH v8 04/21] xen/x86: allow disabling the emulated HPET Roger Pau Monne
2015-11-06 16:05 ` [PATCH v8 05/21] xen/x86: allow disabling power management Roger Pau Monne
2015-11-06 16:05 ` [PATCH v8 06/21] xen/x86: allow disabling the emulated RTC Roger Pau Monne
2015-11-06 16:05 ` [PATCH v8 07/21] xen/x86: allow disabling the emulated IO APIC Roger Pau Monne
2015-11-06 16:05 ` [PATCH v8 08/21] xen/x86: allow disabling the emulated PIC Roger Pau Monne
2015-11-06 16:05 ` [PATCH v8 09/21] xen/x86: set the vPMU interface based on the presence of a lapic Roger Pau Monne
2015-11-09 15:04   ` Jan Beulich
2015-11-10 11:30     ` [PATCH v8.1 " Roger Pau Monne
2015-11-10 14:21       ` Boris Ostrovsky
2015-11-06 16:05 ` [PATCH v8 10/21] xen/x86: allow disabling the emulated VGA Roger Pau Monne
2015-11-06 16:05 ` [PATCH v8 11/21] xen/x86: allow disabling the emulated IOMMU Roger Pau Monne
2015-11-06 16:05 ` [PATCH v8 12/21] xen/x86: allow disabling the emulated PIT Roger Pau Monne
2015-11-09 15:31   ` Jan Beulich
2015-11-06 16:05 ` [PATCH v8 13/21] xen/x86: make sure the HVM callback vector is correctly set Roger Pau Monne
2015-11-10 16:41   ` Jan Beulich
2015-11-06 16:05 ` [PATCH v8 14/21] xen/x86: allow disabling all emulated devices inside of Xen Roger Pau Monne
2015-11-06 16:05 ` [PATCH v8 15/21] elfnotes: intorduce a new PHYS_ENTRY elfnote Roger Pau Monne
2015-11-06 16:05 ` [PATCH v8 16/21] libxc: allow creating domains without emulated devices Roger Pau Monne
2015-11-06 16:05 ` [PATCH v8 17/21] xen/x86: allow HVM guests to use hypercalls to bring up vCPUs Roger Pau Monne
2015-11-12 16:57   ` Jan Beulich
2015-11-26 16:57     ` Roger Pau Monné
2015-11-27  8:00       ` Jan Beulich
2015-11-27  9:47         ` Roger Pau Monné
2015-11-27 10:03           ` Jan Beulich
2015-11-06 16:05 ` [PATCH v8 18/21] libxc/xen: introduce a start info structure for HVMlite guests Roger Pau Monne
2015-11-10 16:53   ` Jan Beulich
2015-11-06 16:05 ` [PATCH v8 19/21] libxc: switch xc_dom_elfloader to be used with HVMlite domains Roger Pau Monne
2015-11-06 16:05 ` [PATCH v8 20/21] libxl: allow the creation of HVM domains without a device model Roger Pau Monne
2015-11-06 16:05 ` [PATCH v8 21/21] libxl: add support for migrating HVM guests " Roger Pau Monne
2015-11-11 15:49   ` Wei Liu
2015-11-11 15:55     ` Ian Jackson
2015-11-11 17:14   ` Andrew Cooper
2015-11-26 18:10     ` 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=563CD111.3000901@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=Aravind.Gopalakrishnan@amd.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=eddie.dong@intel.com \
    --cc=jbeulich@suse.com \
    --cc=jun.nakajima@intel.com \
    --cc=kevin.tian@intel.com \
    --cc=roger.pau@citrix.com \
    --cc=suravee.suthikulpanit@amd.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.