From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752036AbdB1Sos (ORCPT ); Tue, 28 Feb 2017 13:44:48 -0500 Received: from mail-wr0-f173.google.com ([209.85.128.173]:36309 "EHLO mail-wr0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752012AbdB1SnQ (ORCPT ); Tue, 28 Feb 2017 13:43:16 -0500 Subject: Re: [PATCH 0/2] efi: Enhance capsule loader to support signed Quark images To: Andy Shevchenko References: <4014c5e6-b5a0-7552-166f-a42992532c09@siemens.com> <5da59d02-d299-f5c7-48fa-a67bdd017252@siemens.com> <20170228121255.GD28416@codeblueprint.co.uk> <20170228122947.GE28416@codeblueprint.co.uk> <1fb1a428-672b-be4b-e05b-4363c4b286dd@nexus-software.ie> Cc: Ard Biesheuvel , Matt Fleming , Jan Kiszka , "Kweh, Hock Leong" , "linux-efi@vger.kernel.org" , Linux Kernel Mailing List , Borislav Petkov , "Ong, Boon Leong" , "Mok, Tze Siong" From: "Bryan O'Donoghue" Message-ID: Date: Tue, 28 Feb 2017 17:42:25 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28/02/17 17:18, Andy Shevchenko wrote: > On Tue, Feb 28, 2017 at 6:52 PM, Bryan O'Donoghue >> A kernel compiled like this >> >> make menuconfig ARCH=i386 > > I hope you care that it is equivalent to > > make menuconfig ARCH=i686 > >> make bzImage -j 8 >> >> will run just fine on Quark x1000 I do it regularly. CPUID ought to (and >> does) inform the runtime kernel of what to do re: MSRs etc. >> >> We won't execute xmm/mmx, we won't touch 686 specific MSRs etc, etc. > > It is i*6*86 code still. > > So, summarize, you state that > 1. CONFIG_SMP=y and > 2. CONFIG_M686=y and > 3. Kernel works on Quark > > Is it correct? Logically yes. It's a very long time since I looked in detail. No harm in checking it out though. I'll compile up the above kernel this evening (GMT) and verify. -- bod