From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: Re: [PATCH -v2 0/4] EFI 1:1 mapping Date: Wed, 19 Jun 2013 19:37:21 +0200 Message-ID: <20130619173721.GI28300@pd.tnic> References: <1371491416-11037-1-git-send-email-bp@alien8.de> <20130619125243.GD11209@gmail.com> <20130619130225.GA28311@pd.tnic> <51C1E996.9070209@zytor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <51C1E996.9070209-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "H. Peter Anvin" Cc: Ingo Molnar , Linux EFI , Matt Fleming , Matthew Garrett , X86 ML , LKML , Borislav Petkov List-Id: linux-efi@vger.kernel.org On Wed, Jun 19, 2013 at 12:25:42PM -0500, H. Peter Anvin wrote: > On 06/19/2013 08:02 AM, Borislav Petkov wrote: > > > > And yet there are the Macs which reportedly cannot stomach this. > > > No, the reports are that if you use the 1:1 map as the primary address > on Macs the drivers fail... not that you can't have a 1:1 map. That's what I meant: ... cannot stomach when the 1:1 map is shoved down SetVirtualAddressMap. The thing is, if we want to have both the 1:1 map and the high map during an EFI runtime call, we would need to *always* switch the pagetable for an EFI runtime call and establish both mappings in ->trampoline_pgd beforehand. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. --