[PATCH 5/5] kexec: X86: Pass memory ranges via e820 table instead of memmap= boot parameter
trenn at suse.de
Fri Apr 12 08:24:43 EDT 2013
On Thursday, April 11, 2013 07:55:57 AM Yinghai Lu wrote:
> On Thu, Apr 11, 2013 at 5:26 AM, Thomas Renninger <trenn at suse.de> wrote:
> > Currently ranges are passed via kernel boot parameters:
> > memmap=exactmap memmap=X#Y memmap=
> > Pass them via e820 table directly instead.
> how to address "saved_max_pfn" referring in kernel?
Yes, this patch won't work as I miss out the previously usable memory
I have to re-work this one and also pass these ranges as discussed
via a KDUMP_RESERVED or even better a KDUMP_MEMORY e820 type.
KDUMP_RESERVED could get used for reserved memory inside the crash
kernel range at some point of time if it is useful.
Can the other patches get applied already if they are fine?
> kernel need to use saved_max_pfn from old e820 in
> mips and powerpc they are passing that from command line "savemaxmem="
> x86 should use that too?
I could add that.
But things cannot get cleaned up because things have to be
compatible to old kexec tools not passing this param at least for
quite some time.
More information about the kexec