From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Fleming Subject: Re: [PATCH 3/4] x86, efi: Add an efi= kernel command line parameter Date: Thu, 6 Jun 2013 11:42:24 +0100 Message-ID: <20130606104224.GH30420@console-pimps.org> References: <1370177770-26661-1-git-send-email-bp@alien8.de> <1370177770-26661-4-git-send-email-bp@alien8.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1370177770-26661-4-git-send-email-bp-Gina5bIWoIWzQB+pC5nmwQ@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Borislav Petkov Cc: Linux EFI , Matthew Garrett , Jiri Kosina , X86-ML , LKML , Borislav Petkov List-Id: linux-efi@vger.kernel.org On Sun, 02 Jun, at 02:56:09PM, Borislav Petkov wrote: > + > +static int __init parse_efi_cmdline(char *str) > +{ > + if (*str == '=') > + str++; > + if (!strncmp(str, "1:1_map", 7)) > + efi_config |= EFI_CFG_MAP11; > + > + return 0; > +} > +early_param("efi", parse_efi_cmdline); This is fine for testing, but I genuinely think that this should be on by default once these patches are final. -- Matt Fleming, Intel Open Source Technology Center