From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f182.google.com ([209.85.212.182]:32961 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751193AbbI1GQv (ORCPT ); Mon, 28 Sep 2015 02:16:51 -0400 Date: Mon, 28 Sep 2015 08:16:46 +0200 From: Ingo Molnar To: Matthew Garrett Cc: Andy Lutomirski , "H. Peter Anvin" , Denys Vlasenko , Leif Lindholm , Thomas Gleixner , Borislav Petkov , stable , Andrew Morton , Brian Gerst , Dave Young , "linux-efi@vger.kernel.org" , Ard Biesheuvel , Linus Torvalds , Peter Jones , Matt Fleming , Matt Fleming , Borislav Petkov , "Lee, Chun-Yi" , "linux-kernel@vger.kernel.org" , James Bottomley Subject: Re: [PATCH 1/2] x86/efi: Map EFI memmap entries in-order at runtime Message-ID: <20150928061646.GA21690@gmail.com> References: <20150926055643.GA25877@gmail.com> <0568D1D7-B6AA-437C-ADCE-A86D7A2E4722@zytor.com> <20150926195755.GC3144@codeblueprint.co.uk> <20150927180633.GA29466@srcf.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150927180633.GA29466@srcf.ucam.org> Sender: stable-owner@vger.kernel.org List-ID: * Matthew Garrett wrote: > On Sun, Sep 27, 2015 at 09:30:48AM -0700, Andy Lutomirski wrote: > > On Sep 26, 2015 1:19 PM, "H. Peter Anvin" wrote: > > > > > > Sadly a lot of firmware is known to fail in that configuration :( That was very much our guest choice. > > > > > > > Why can't we map everything completely 1:1 (VA = PA) and call the > > setVA thing but pass it literally the identity. > > Last time I tried this I found that some firmware makes assumptions > about having high addresses. So the question is, what does Windows do? PC firmware is a hostile environment for Linux, to be compatible the best we can do is to mimic the environment that the firmware is tested under - i.e. try to use the firmware in the way Windows uses it. Thanks, Ingo