Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758162Ab3JKNnF (ORCPT ); Fri, 11 Oct 2013 09:43:05 -0400 Received: from mx3-phx2.redhat.com ([209.132.183.24]:43592 "EHLO mx3-phx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756819Ab3JKNnD (ORCPT ); Fri, 11 Oct 2013 09:43:03 -0400 Date: Fri, 11 Oct 2013 09:42:34 -0400 (EDT) From: Dave Young To: Matt Fleming Cc: Borislav Petkov , X86 ML , LKML , Borislav Petkov , Matthew Garrett , "H. Peter Anvin" , James Bottomley , Vivek Goyal , linux-efi@vger.kernel.org, fwts-devel@lists.ubuntu.com Message-ID: <643121905.4545046.1381498954428.JavaMail.root@redhat.com> In-Reply-To: <20131011102706.GE12321@console-pimps.org> References: <1379602494-26684-1-git-send-email-bp@alien8.de> <20131008164831.GD16793@pd.tnic> <20131010080635.GA3692@dhcp-16-126.nay.redhat.com> <20131010081434.GB3692@dhcp-16-126.nay.redhat.com> <20131010085827.GA9929@pd.tnic> <20131010123453.GA12321@console-pimps.org> <20131011062437.GA14115@dhcp-16-126.nay.redhat.com> <20131011102706.GE12321@console-pimps.org> Subject: Re: [PATCH 12/12] EFI: Runtime services virtual mapping MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.5.82.12] X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - FF12 (Linux)/8.0.3_GA_5664) Thread-Topic: Runtime services virtual mapping Thread-Index: zOqUf+Ea2geoF8UNe9ASIVfs2qMwgA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2001 Lines: 42 Matt, The kernel I referring is the boot kernel aka the 1st kernel, the boot loader is grub2 from Fedora 19. [sorry for top reply because of using webmail] ----- Original Message ----- From: "Matt Fleming" To: "Dave Young" Cc: "Borislav Petkov" , "X86 ML" , "LKML" , "Borislav Petkov" , "Matthew Garrett" , "H. Peter Anvin" , "James Bottomley" , "Vivek Goyal" , linux-efi@vger.kernel.org, fwts-devel@lists.ubuntu.com Sent: Friday, October 11, 2013 6:27:06 PM Subject: Re: [PATCH 12/12] EFI: Runtime services virtual mapping On Fri, 11 Oct, at 02:24:37PM, Dave Young wrote: > For the boot efi_reserve_boot_services code, it's mainly for the > SetVirtualAddressMap callback use, so boot regions should not be reused > before SetVirtualAddressMap, but the overlapping happens before the > efi_reserve_boot_services, isn't it a problem? Hang on, which kernel are you referring to here? The boot kernel or the kexec'd kernel? I thought you were saying you noticed the overlap when running in the second (kexec'd) kernel? The only reason that you would see this overlap in the first (boot) kernel is if the bootloader messed up and allocated the kernel text as EfiBootServicesCode/Data. I'd like to believe no bootloaders are still doing that. -- Matt Fleming, Intel Open Source Technology Center -- 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/ -- 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/