On Wed, Jan 20, 2016 at 02:38:56PM +0800, Dave Young wrote:
Maybe I did not say it clearly, I prefer kexec syscall/tool to modifiy dtb
or uefi-memmap so that we do not need any extra kernel cmdline.
I am strongly opposed to modifying the FW-provided memroy map
information, for the reasons I expressed in other replies.
What are your concerns with a property under /chosen?
For x86 we would like to drop the memmap= usage in kexec-tools but we can not
do that for a compatibility problem about calgary iommu. So that currently
kexec-tools supports both recreating E820 maps and passing memmap=.
We should think it carefully because it will be hard to remove once we support it.
I agree that we don't want a plethora of solutions that we have to
support forever.
IMO handling it in code is better than using an external interface.
I'm not sure what you mean by this. What is the "external interface",
and which code do you beleive it is better to handle this in?
Thanks,
Mark.