Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753219AbbBKPza (ORCPT ); Wed, 11 Feb 2015 10:55:30 -0500 Received: from mail-wg0-f44.google.com ([74.125.82.44]:55853 "EHLO mail-wg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753033AbbBKPz1 (ORCPT ); Wed, 11 Feb 2015 10:55:27 -0500 Date: Wed, 11 Feb 2015 15:55:24 +0000 From: Matt Fleming To: Yinghai Lu Cc: Thomas Gleixner , "H. Peter Anvin" , Ingo Molnar , Jonathan Corbet , Kees Cook , Junjie Mao , "linux-doc@vger.kernel.org" , "linux-efi@vger.kernel.org" , Linux Kernel Mailing List , Matthew Garrett , Peter Jones Subject: Re: [PATCH] x86, boot: Allow 64bit EFI kernel to be loaded above 4G Message-ID: <20150211155524.GC4665@codeblueprint.co.uk> References: <1423015400-12629-1-git-send-email-yinghai@kernel.org> <20150209182742.GQ6461@codeblueprint.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Content-Length: 1575 Lines: 40 On Mon, 09 Feb, at 12:23:15PM, Yinghai Lu wrote: > On Mon, Feb 9, 2015 at 10:27 AM, Matt Fleming wrote: > > On Tue, 03 Feb, at 06:03:20PM, Yinghai Lu wrote: > > > > The first thing that comes to mind is the issues we experienced last > > year when adding support for loading initrds above 4GB to the EFI boot > > stub, c.f. commit 47226ad4f4cf ("x86/efi: Only load initrd above 4g on > > second try"). > > > > Are things going to work correctly this time? > > That should be addressed the grub2. I vaguely remember thinking that the issue was only experienced when using the EFI_FILE protocol, which grub2 doesn't use. So the grub developers may be OK, but we should at least give them a heads up. > I was thinking that we may need to add mem_limit command together with > linuxefi and initrdefi. > or add linuxefi64/initrdefi64? No, we definitely do not want to add any more grub commands. > BTW, I tested loading kernel above grub2 on > virutalbox, qemu/kvm/OVMF, and real servers (ami ...) all work without problem. > > wonder if we need have one black list for 64bit UEFI that does not > support access > memory above 4G. We have been successful, so far, in not introducing these kind of blacklists. It would be a shame to start now. -- 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/