Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756120AbbBLO7r (ORCPT ); Thu, 12 Feb 2015 09:59:47 -0500 Received: from mail-wg0-f50.google.com ([74.125.82.50]:37702 "EHLO mail-wg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755543AbbBLO7p (ORCPT ); Thu, 12 Feb 2015 09:59:45 -0500 Date: Thu, 12 Feb 2015 14:59:42 +0000 From: Matt Fleming To: Peter Jones Cc: Yinghai Lu , 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 Subject: Re: [PATCH] x86, boot: Allow 64bit EFI kernel to be loaded above 4G Message-ID: <20150212145942.GE4665@codeblueprint.co.uk> References: <1423015400-12629-1-git-send-email-yinghai@kernel.org> <20150209182742.GQ6461@codeblueprint.co.uk> <20150211155524.GC4665@codeblueprint.co.uk> <20150211162958.GA18062@fenchurch.internal.datastacks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150211162958.GA18062@fenchurch.internal.datastacks.com> 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: 901 Lines: 20 On Wed, 11 Feb, at 11:29:58AM, Peter Jones wrote: > > From grub's point of view I'm not sure why we'd care - the pages kernel > and initramfs land in are both from the Boot Services allocator, so if the > machine doesn't support high addresses, they won't be there. It's not that some implementations don't "support" higher addresses, it's that the EFI_FILE_PROTOCOL is buggy and it corrupts the memory when reading into it; you can allocate it just fine. At least, that's what I remember from the limited investigation I performed. But since grub doesn't use EFI_FILE_PROTOCOL, we should be cool. -- 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/