From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f70.google.com (mail-it0-f70.google.com [209.85.214.70]) by kanga.kvack.org (Postfix) with ESMTP id 83AE92808E3 for ; Thu, 9 Mar 2017 17:31:51 -0500 (EST) Received: by mail-it0-f70.google.com with SMTP id h10so79034886ith.2 for ; Thu, 09 Mar 2017 14:31:51 -0800 (PST) Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id h79sor17667ita.29.1969.12.31.16.00.00 for (Google Transport Security); Thu, 09 Mar 2017 14:31:50 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <51c23e92-d1f0-427f-e069-c92fc4ed6226@oracle.com> References: <20170306220348.79702-1-thgarnie@google.com> <20170306220348.79702-2-thgarnie@google.com> <17ffcc5b-1c9a-51b6-272a-5eaecf1bc0c4@citrix.com> <5cf31779-45c5-d37f-86bc-d5afb3fb7ab6@oracle.com> <51c23e92-d1f0-427f-e069-c92fc4ed6226@oracle.com> From: Thomas Garnier Date: Thu, 9 Mar 2017 14:31:49 -0800 Message-ID: Subject: Re: [Xen-devel] [PATCH v5 2/3] x86: Remap GDT tables in the Fixmap section Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org List-ID: To: Boris Ostrovsky Cc: Andy Lutomirski , Andrew Cooper , Michal Hocko , Stanislaw Gruszka , "linux-doc@vger.kernel.org" , kvm list , Fenghua Yu , Matt Fleming , Frederic Weisbecker , X86 ML , Chris Wilson , "linux-mm@kvack.org" , Paul Gortmaker , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , "linux-efi@vger.kernel.org" , Alexander Potapenko , Pavel Machek , "H . Peter Anvin" , "kernel-hardening@lists.openwall.com" , Jiri Olsa , zijun_hu , Dave Hansen , Andi Kleen , "xen-devel@lists.xenproject.org" , Jonathan Corbet , Michael Ellerman , Joerg Roedel , Prarit Bhargava , kasan-dev , Vitaly Kuznetsov , Christian Borntraeger , Ingo Molnar , Andrey Ryabinin , Borislav Petkov , Len Brown , Rusty Russell , Kees Cook , Arnd Bergmann , He Chen , Brian Gerst , Jiri Kosina , lguest@lists.ozlabs.org, Andy Lutomirski , Josh Poimboeuf , Thomas Gleixner , Andrew Morton , Dmitry Vyukov , Juergen Gross , Peter Zijlstra , Lorenzo Stoakes , Ard Biesheuvel , "linux-pm@vger.kernel.org" , "Rafael J . Wysocki" , "linux-kernel@vger.kernel.org" , "Luis R . Rodriguez" , Paolo Bonzini , Joonsoo Kim , Tim Chen On Thu, Mar 9, 2017 at 2:13 PM, Boris Ostrovsky wrote: > >>> I don't have any experience with Xen so it would be great if virtme can= test it. >> >> I am pretty sure I tested this series at some point but I'll test it aga= in. >> > > > Fails 32-bit build: > > > /home/build/linux-boris/arch/x86/kvm/vmx.c: In function =E2=80=98segment_= base=E2=80=99: > /home/build/linux-boris/arch/x86/kvm/vmx.c:2054: error: =E2=80=98host_gdt= =E2=80=99 > undeclared (first use in this function) > /home/build/linux-boris/arch/x86/kvm/vmx.c:2054: error: (Each undeclared > identifier is reported only once > /home/build/linux-boris/arch/x86/kvm/vmx.c:2054: error: for each > function it appears in.) > /home/build/linux-boris/arch/x86/kvm/vmx.c:2054: error: type defaults to > =E2=80=98int=E2=80=99 in declaration of =E2=80=98type name=E2=80=99 > /home/build/linux-boris/arch/x86/kvm/vmx.c:2054: error: type defaults to > =E2=80=98int=E2=80=99 in declaration of =E2=80=98type name=E2=80=99 > /home/build/linux-boris/arch/x86/kvm/vmx.c:2054: warning: initialization > from incompatible pointer type > /home/build/linux-boris/arch/x86/kvm/vmx.c:2054: warning: unused > variable =E2=80=98gdt=E2=80=99 > > > -boris It seems that I forgot to remove line 2054 on the rebase. My 32-bit build comes clean but I assume it is not good enough compare to the full version I build for 64-bit KVM testing. Remove just this line and it should build fine, I will fix this on the next iteration. Thanks for testing, --=20 Thomas -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org