From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753913Ab3FFUHh (ORCPT ); Thu, 6 Jun 2013 16:07:37 -0400 Received: from mail.skyhub.de ([78.46.96.112]:50000 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752101Ab3FFUHW (ORCPT ); Thu, 6 Jun 2013 16:07:22 -0400 Date: Thu, 6 Jun 2013 22:07:05 +0200 From: Borislav Petkov To: Matthew Garrett Cc: Matt Fleming , Linux EFI , Jiri Kosina , X86-ML , LKML , Borislav Petkov Subject: Re: [PATCH 3/4] x86, efi: Add an efi= kernel command line parameter Message-ID: <20130606200705.GO20972@pd.tnic> References: <1370177770-26661-1-git-send-email-bp@alien8.de> <1370177770-26661-4-git-send-email-bp@alien8.de> <20130606104224.GH30420@console-pimps.org> <20130606132603.GD20972@pd.tnic> <20130606175052.GA1285@srcf.ucam.org> <20130606185140.GK20972@pd.tnic> <20130606193548.GA2946@srcf.ucam.org> <20130606194134.GN20972@pd.tnic> <20130606195450.GA3252@srcf.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20130606195450.GA3252@srcf.ucam.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 Thu, Jun 06, 2013 at 08:54:50PM +0100, Matthew Garrett wrote: > We want both to be available when we're making the call, but I think > we should probably enter via the high addresses. The only reason we're > doing this at all is that some systems don't update all of their > pointers from physical mode, and we'd prefer them to work rather than > fault... Actually, we do the 1:1 thing so that EFI runtime works in a kexec kernel too. Which won't work if we use the high addresses. However, if we can use the 1:1 map *after* SetVirtualAddressMap() has been called with the high mappings, then my issue is solved - we drop to using 1:1 in the kexec kernel only. But I don't think that is the case... -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. --