From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from terminus.zytor.com ([2001:1868:205::10] helo=mail.zytor.com) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1URpUT-0004a4-8H for kexec@lists.infradead.org; Mon, 15 Apr 2013 19:55:02 +0000 Message-ID: <516C5B07.4010306@zytor.com> Date: Mon, 15 Apr 2013 12:54:47 -0700 From: "H. Peter Anvin" MIME-Version: 1.0 Subject: Re: [PATCH 5/5] kexec: X86: Pass memory ranges via e820 table instead of memmap= boot parameter References: <1365683207-42425-1-git-send-email-trenn@suse.de> <2471280.iW0sCiTc3x@skinner.arch.suse.de> <2503756.Y82nn6164B@hammer82.arch.suse.de> In-Reply-To: <2503756.Y82nn6164B@hammer82.arch.suse.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=twosheds.infradead.org@lists.infradead.org To: Thomas Renninger Cc: kexec@lists.infradead.org, horms@verge.net.au, Zhang Yanfei , "Eric W. Biederman" , yinghai@kernel.org, cpw@sgi.com, vgoyal@redhat.com On 04/15/2013 12:48 PM, Thomas Renninger wrote: > On Monday, April 15, 2013 05:20:24 AM H. Peter Anvin wrote: >> Except that is wrong. The kernel can receive more than 128 e820 entries, >> they just have to be passed via a different mechanism. > > Would it make sense to pass the tables via efi_map by moving up > efi_map parsing to the beginning of efi init in arch/x86/platform/efi/efi.c? > > And in kexec pass the efi signature, efi map pointers, add add_efi_memmap > param (and possibly some more?)? > Then there would be no limit at all anymore. > There is no limit... that's what I'm telling you. kexec should certainly pass the EFI information, otherwise the second kernel can't invoke EFI runtime calls at all. Therein lies a whole bit of pain. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec