From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: Re: [PATCH 3/3] efi: Make efi virtual runtime map passing more robust Date: Tue, 17 Dec 2013 15:28:49 +0100 Message-ID: <20131217142849.GE30592@pd.tnic> References: <1387236997-26975-1-git-send-email-bp@alien8.de> <1387236997-26975-4-git-send-email-bp@alien8.de> <20131217121024.GB3145@console-pimps.org> <20131217134006.GC30592@pd.tnic> <20131217135156.GC3145@console-pimps.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <20131217135156.GC3145-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Matt Fleming Cc: Linux EFI , X86 ML , LKML , Borislav Petkov , Matthew Garrett , "H. Peter Anvin" , Dave Young , James Bottomley , Vivek Goyal , Toshi Kani , Arjan van de Ven List-Id: linux-efi@vger.kernel.org On Tue, Dec 17, 2013 at 01:51:56PM +0000, Matt Fleming wrote: > Couldn't we do the mapping in efi_setup_page_tables() if we pass > __pa(new_memmap) and 1 << new_memmap_shift as arguments? Yep, not a bad idea. I'll give it a try. Thanks. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. --