[PATCH v2] powerpc/fadump: reset dump area size if fadump memory reserve fails
Michael Ellerman
patch-notifications at ellerman.id.au
Wed Aug 23 21:55:55 AEST 2023
On Tue, 04 Jul 2023 10:37:15 +0530, Sourabh Jain wrote:
> In case fadump_reserve_mem() fails to reserve memory, the
> reserve_dump_area_size variable will retain the reserve area size. This
> will lead to /sys/kernel/fadump/mem_reserved node displaying an incorrect
> memory reserved by fadump.
>
> To fix this problem, reserve dump area size variable is set to 0 if fadump
> failed to reserve memory.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/fadump: reset dump area size if fadump memory reserve fails
https://git.kernel.org/powerpc/c/d1eb75e0dfed80d2d85b664e28a39f65b290ab55
cheers
More information about the Linuxppc-dev
mailing list