Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754934Ab3HEVyW (ORCPT ); Mon, 5 Aug 2013 17:54:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:7722 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754578Ab3HEVyU (ORCPT ); Mon, 5 Aug 2013 17:54:20 -0400 Message-ID: <52001F6B.4000800@redhat.com> Date: Mon, 05 Aug 2013 23:55:55 +0200 From: Laszlo Ersek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130621 Thunderbird/17.0.7 MIME-Version: 1.0 To: Borislav Petkov CC: "H. Peter Anvin" , Andrew Fish , edk2-devel@lists.sourceforge.net, linux-efi@vger.kernel.org, Gleb Natapov , lkml , David Woodhouse Subject: Re: [edk2] Corrupted EFI region References: <20130801164927.GA7445@pd.tnic> <51FF8C14.2070405@redhat.com> <20130805130258.GB31845@pd.tnic> <51FFAB13.4090603@redhat.com> <20130805140306.GD31845@pd.tnic> <51FFB660.4060400@redhat.com> <20130805144010.GE31845@pd.tnic> <2DBE3EA4-E321-4A7B-B9AF-EDE55BC2E358@apple.com> <20130805181225.GH31845@pd.tnic> <52001B04.2050806@zytor.com> <20130805214140.GB14067@pd.tnic> In-Reply-To: <20130805214140.GB14067@pd.tnic> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1014 Lines: 23 On 08/05/13 23:41, Borislav Petkov wrote: > On Mon, Aug 05, 2013 at 02:37:08PM -0700, H. Peter Anvin wrote: >> All of this would be a non-problem if there weren't buggy >> implementations which can't run *without* SetVirtualAddressMap(). > > Oh, you mean, if we were to call the runtime services through their > physical addresses? I heard that there was a (U)EFI firmware implementation that didn't even implement SetVirtualAddressMap(). It was okay because the main OS for that platform didn't want to call it, it thunked to physical mode for each runtime service call. (This is not hearsay; I'm omitting the specifics because I'm not sure if I'm allowed to give any. I've heard about this stuff from a direct colleague who used to work on these systems.) Laszlo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/