From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Garnier Subject: Re: [PATCH v3 2/4] x86: Remap GDT tables in the Fixmap section Date: Wed, 15 Feb 2017 07:41:45 -0800 Message-ID: References: <20170214194259.75960-1-thgarnie@google.com> <20170214194259.75960-2-thgarnie@google.com> <3b2210d0-b76d-48b6-c232-8304d915a755@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: List-Post: List-Help: List-Unsubscribe: List-Subscribe: In-Reply-To: <3b2210d0-b76d-48b6-c232-8304d915a755@oracle.com> To: Boris Ostrovsky Cc: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Kees Cook , Andy Lutomirski , Borislav Petkov , Paul Gortmaker , Andy Lutomirski , "Rafael J . Wysocki" , Len Brown , Pavel Machek , Jiri Kosina , Matt Fleming , Ard Biesheuvel , Juergen Gross , Rusty Russell , Peter Zijlstra , Christian Borntraeger , "Luis R . Rodriguez" , He Chen , Brian List-Id: linux-pm@vger.kernel.org On Wed, Feb 15, 2017 at 7:37 AM, Boris Ostrovsky wrote: > On 02/14/2017 02:42 PM, Thomas Garnier wrote: >> diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c >> index 0dee6f59ea82..6399bab936cd 100644 >> --- a/arch/x86/xen/smp.c >> +++ b/arch/x86/xen/smp.c >> @@ -391,7 +391,7 @@ cpu_initialize_context(unsigned int cpu, struct task_struct *idle) >> if (ctxt == NULL) >> return -ENOMEM; >> >> - gdt = get_cpu_gdt_table(cpu); >> + gdt = get_cpu_gdt_rw(cpu); >> >> #ifdef CONFIG_X86_32 >> ctxt->user_regs.fs = __KERNEL_PERCPU; > > > Which tree are these patches against? The chunk above cannot be applied > to current Linus tree but it can be applied against Xen staging tree > that has not been pulled yet. > > I can apply this manually but the series crashes PV guests so I want to > make sure I am using right bits. > That was against linux-next (next-20170213 tag). > -boris > > -- Thomas