From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH 1/2] x86/efi: Map EFI memmap entries in-order at runtime Date: Mon, 28 Sep 2015 08:16:46 +0200 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 Return-path: Content-Disposition: inline In-Reply-To: <20150927180633.GA29466-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Ard Biesheuvel , Linus Torvalds , Peter Jones , Matt Fleming , Matt Fleming , Borislav Petkov , "Lee, Chun-Yi" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , James Bottomley List-Id: linux-efi@vger.kernel.org * 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