[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56B8C490.1060004@citrix.com>
Date: Mon, 8 Feb 2016 16:38:40 +0000
From: Andrew Cooper <andrew.cooper3@...rix.com>
To: Borislav Petkov <bp@...en8.de>,
Boris Ostrovsky <boris.ostrovsky@...cle.com>
CC: X86 ML <x86@...nel.org>, <david.e.box@...el.com>,
Andrey Ryabinin <ryabinin.a.a@...il.com>,
Lv Zheng <lv.zheng@...el.com>, Jan Beulich <JBeulich@...e.com>,
"H. Peter Anvin" <hpa@...or.com>, <qiuxishi@...wei.com>,
<cocci@...teme.lip6.fr>, Xen Devel <xen-devel@...ts.xensource.com>,
"Joerg Roedel" <joro@...tes.org>,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Robert Moore <robert.moore@...el.com>,
Ingo Molnar <mingo@...hat.com>,
Andrey Ryabinin <aryabinin@...tuozzo.com>,
Mauro Carvalho Chehab <mchehab@....samsung.com>,
"Luis R. Rodriguez" <mcgrof@...e.com>,
"Rusty Russell" <rusty@...tcorp.com.au>,
Thomas Gleixner <tglx@...utronix.de>, <mcb30@...e.org>,
Juergen Gross <jgross@...e.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Andy Lutomirski" <luto@...capital.net>,
"Luis R. Rodriguez" <mcgrof@...nel.org>,
<long.wanglong@...wei.com>, Fengguang Wu <fengguang.wu@...el.com>
Subject: Re: [Xen-devel] [PATCH v2 3/3] paravirt: rename paravirt_enabled to
paravirt_legacy
On 08/02/16 16:35, Borislav Petkov wrote:
> On Mon, Feb 08, 2016 at 11:31:04AM -0500, Boris Ostrovsky wrote:
>> I think we are OK for PV because this code will be executed after pvops are
>> set and so we will be calling xen_cpuid().
> Not for the early loader - it is too early for pvops then. So you're
> saying something like that won't work?
Correct. PV guests are ring-deprivilelged so the cpuid instruction
doesn't trap in general. (It does on more modern Intel hardware with
cpuid faulting enabled, but that is only IvyBridge and newer).
Does the early loader have extable support? If so, this is fairly easy
to fix. If not, we have a problem.
~Andrew
Powered by blists - more mailing lists