[PATCH] kexec-tools: mips: Fix the increased mem parameter size
Simon Horman
horms at verge.net.au
Fri Apr 2 10:55:40 BST 2021
On Wed, Mar 17, 2021 at 11:45:14AM +0800, Youling Tang wrote:
> The added "mem=size at start" parameter actually corresponds to
> "crashkernel=YM at XM", but 1 byte is missing when calculating
> the size, so 1 byte should be added.
>
> For example, when using crashkernel=108M at 64M (110592K at 65536K):
> Without this patch:
> the mem parameter added is: mem=110591K at 65536K
>
> With this patch:
> the mem parameter added is: mem=110592K at 65536K
>
> Fixes: 0eac64052636 ("kexec: mips: Fix mem parameters")
>
> Signed-off-by: Youling Tang <tangyouling at loongson.cn>
Thanks, applied.
More information about the kexec
mailing list