[PATCH] kexec: loongarch: fix load command line segment error

Simon Horman horms at kernel.org
Mon Jun 3 11:06:00 PDT 2024


On Mon, May 20, 2024 at 09:45:53AM +0800, Ming Wang wrote:
> When kernel cmdline reserved multiple crash kernel segments, like:
> "crashkernel=4G,high crashkernel=256M,low".
> Cmdline segment may be loaded in locations larger than 4G of memory.
> So the parameter 'buf_max' of add_buffer function should be
> 'hole_max'.
> 
> Signed-off-by: Hongchen Zhang <zhanghongchen at loongson.cn>
> Signed-off-by: Ming Wang <wangming01 at loongson.cn>

Thanks, applied.



More information about the kexec mailing list