Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758527Ab3FTSK0 (ORCPT ); Thu, 20 Jun 2013 14:10:26 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:58213 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758473Ab3FTSKW (ORCPT ); Thu, 20 Jun 2013 14:10:22 -0400 Date: Thu, 20 Jun 2013 19:10:15 +0100 From: Matthew Garrett To: Borislav Petkov Cc: James Bottomley , Ingo Molnar , Linux EFI , Matt Fleming , X86 ML , LKML , Borislav Petkov Subject: Re: [PATCH -v2 0/4] EFI 1:1 mapping Message-ID: <20130620181015.GA27833@srcf.ucam.org> References: <20130620092237.GA6943@gmail.com> <20130620093337.GI32694@pd.tnic> <20130620094446.GA17882@srcf.ucam.org> <1371740019.2372.3.camel@dabdike> <20130620162916.GA25727@srcf.ucam.org> <1371746775.2372.11.camel@dabdike> <20130620165426.GB26214@srcf.ucam.org> <20130620170124.GA19877@pd.tnic> <20130620171210.GA26593@srcf.ucam.org> <20130620180808.GB19877@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130620180808.GB19877@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: 1118 Lines: 25 On Thu, Jun 20, 2013 at 08:08:08PM +0200, Borislav Petkov wrote: > On Thu, Jun 20, 2013 at 06:12:10PM +0100, Matthew Garrett wrote: > > On Thu, Jun 20, 2013 at 07:01:24PM +0200, Borislav Petkov wrote: > > > > > If we can detect the Macs, we can make this decision automatic. And > > > since no Mac boots windoze, a single DMI check of the sort "if (Mac)" > > > should suffice. > > > > Yes, we can special-case Macs. But since our behaviour is then obviously > > different to Windows, we'll inevitably break some other system. > > Why different? We'll have the high mappings and shove the 1:1 mappings > down SetVirtualAddressMap by default. Because Windows passes high addresses to SetVirtualAddressMap(), and because if you can imagine firmware developers getting it wrong then firmware developers will have got it wrong. -- 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/