From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754031Ab3LQO24 (ORCPT ); Tue, 17 Dec 2013 09:28:56 -0500 Received: from mail.skyhub.de ([78.46.96.112]:38425 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753255Ab3LQO2y (ORCPT ); Tue, 17 Dec 2013 09:28:54 -0500 Date: Tue, 17 Dec 2013 15:28:49 +0100 From: Borislav Petkov 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 Subject: Re: [PATCH 3/3] efi: Make efi virtual runtime map passing more robust 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 Content-Disposition: inline In-Reply-To: <20131217135156.GC3145@console-pimps.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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. --