From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751648AbdBOPhq (ORCPT ); Wed, 15 Feb 2017 10:37:46 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:22059 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750814AbdBOPhn (ORCPT ); Wed, 15 Feb 2017 10:37:43 -0500 Subject: Re: [PATCH v3 2/4] x86: Remap GDT tables in the Fixmap section To: Thomas Garnier , 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 Gerst , Stanislaw Gruszka , Arnd Bergmann , Adam Buchbinder , Dave Hansen , Vitaly Kuznetsov , Josh Poimboeuf , Tim Chen , Rik van Riel , Andi Kleen , Jiri Olsa , Michael Ellerman , Joerg Roedel , Paolo Bonzini , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= References: <20170214194259.75960-1-thgarnie@google.com> <20170214194259.75960-2-thgarnie@google.com> Cc: x86@kernel.org, linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, linux-pm@vger.kernel.org, linux-efi@vger.kernel.org, xen-devel@lists.xenproject.org, lguest@lists.ozlabs.org, kvm@vger.kernel.org, kernel-hardening@lists.openwall.com From: Boris Ostrovsky Message-ID: <3b2210d0-b76d-48b6-c232-8304d915a755@oracle.com> Date: Wed, 15 Feb 2017 10:37:13 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <20170214194259.75960-2-thgarnie@google.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -boris