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 1US4YG-00048e-8R for kexec@lists.infradead.org; Tue, 16 Apr 2013 11:59:57 +0000 In-Reply-To: <8993037.v16xiECWWu@skinner.arch.suse.de> References: <1365683207-42425-1-git-send-email-trenn@suse.de> <2503756.Y82nn6164B@hammer82.arch.suse.de> <516C5B07.4010306@zytor.com> <8993037.v16xiECWWu@skinner.arch.suse.de> MIME-Version: 1.0 Subject: Re: [PATCH 5/5] kexec: X86: Pass memory ranges via e820 table instead of memmap= boot parameter From: "H. Peter Anvin" Date: Tue, 16 Apr 2013 04:59:35 -0700 Message-ID: <30e118dc-ee58-4eb3-8126-39173cd49905@email.android.com> 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 It is not. Read the boot spec. Thomas Renninger wrote: >On Monday, April 15, 2013 12:54:47 PM H. Peter Anvin wrote: >> 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. > >But you do not name/describe it. >Is it the "efi map mechanism" you are talking about or is there >something else? > > Thomas > >> > 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 -- Sent from my mobile phone. Please excuse brevity and lack of formatting. _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec