[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH v2 3/3] paravirt: rename paravirt_enabled to paravirt_legacy
- To: Borislav Petkov <bp@xxxxxxxxx>
- From: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
- Date: Mon, 8 Feb 2016 11:41:16 -0500
- Cc: X86 ML <x86@xxxxxxxxxx>, david.e.box@xxxxxxxxx, Andrey Ryabinin <ryabinin.a.a@xxxxxxxxx>, Lv Zheng <lv.zheng@xxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>, "H. Peter Anvin" <hpa@xxxxxxxxx>, qiuxishi@xxxxxxxxxx, cocci@xxxxxxxxxxxxxxx, Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Joerg Roedel <joro@xxxxxxxxxx>, "Rafael J. Wysocki" <rafael.j.wysocki@xxxxxxxxx>, Robert Moore <robert.moore@xxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, Andrey Ryabinin <aryabinin@xxxxxxxxxxxxx>, Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxx>, "Luis R. Rodriguez" <mcgrof@xxxxxxxx>, Rusty Russell <rusty@xxxxxxxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, mcb30@xxxxxxxx, Juergen Gross <jgross@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>, Andy Lutomirski <luto@xxxxxxxxxxxxxx>, "Luis R. Rodriguez" <mcgrof@xxxxxxxxxx>, long.wanglong@xxxxxxxxxx, Fengguang Wu <fengguang.wu@xxxxxxxxx>
- Delivery-date: Mon, 08 Feb 2016 16:47:03 +0000
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
On 02/08/2016 11:35 AM, 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?
Keep in mind that Xen PV doesn't go through startup_32|64(). It starts
at xen_start_kernel (save for a small stub before that), which sets
pvops. It "joins" regular/baremetal code in
i386_start_kernel/x86_64_start_reservation().
-boris
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|