Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754042Ab3FFTf4 (ORCPT ); Thu, 6 Jun 2013 15:35:56 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:38573 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753918Ab3FFTfx (ORCPT ); Thu, 6 Jun 2013 15:35:53 -0400 Date: Thu, 6 Jun 2013 20:35:48 +0100 From: Matthew Garrett To: Borislav Petkov Cc: Matt Fleming , Linux EFI , Jiri Kosina , X86-ML , LKML , Borislav Petkov Subject: Re: [PATCH 3/4] x86, efi: Add an efi= kernel command line parameter Message-ID: <20130606193548.GA2946@srcf.ucam.org> References: <1370177770-26661-1-git-send-email-bp@alien8.de> <1370177770-26661-4-git-send-email-bp@alien8.de> <20130606104224.GH30420@console-pimps.org> <20130606132603.GD20972@pd.tnic> <20130606175052.GA1285@srcf.ucam.org> <20130606185140.GK20972@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130606185140.GK20972@pd.tnic> User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 957 Lines: 23 On Thu, Jun 06, 2013 at 08:51:40PM +0200, Borislav Petkov wrote: > On Thu, Jun 06, 2013 at 06:50:52PM +0100, Matthew Garrett wrote: > > On Thu, Jun 06, 2013 at 03:26:03PM +0200, Borislav Petkov wrote: > > > > > This would break the Macs, remember? > > > > I think the Macs will be fine as long as we're passing the high mappings > > into SetVirtualAddressMap(). > > Right, on those we'll fall back to the current mappings and simply not > have the 1:1 thing. No, I think that's the wrong thing to do. We should set up the current mappings and the 1:1 mappings, and pass the current mappings through SetVirtualAddressMap(). That matches the behaviour of Windows. -- Matthew Garrett | mjg59@srcf.ucam.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/