summaryrefslogtreecommitdiff
path: root/arch/powerpc/configs
diff options
context:
space:
mode:
authorSourabh Jain <sourabhjain@linux.ibm.com>2023-07-04 08:07:15 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2023-08-18 10:03:15 +0300
commitd1eb75e0dfed80d2d85b664e28a39f65b290ab55 (patch)
tree472c0a82423b51d2cacea83a26bff09b795fd37c /arch/powerpc/configs
parent7dac7cf1b407605c15d85ae885377ba0560ca4cd (diff)
downloadlinux-d1eb75e0dfed80d2d85b664e28a39f65b290ab55.tar.xz
powerpc/fadump: reset dump area size if fadump memory reserve fails
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. Fixes: 8255da95e545 ("powerpc/fadump: release all the memory above boot memory size") Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com> Acked-by: Mahesh Salgaonkar <mahesh@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20230704050715.203581-1-sourabhjain@linux.ibm.com
Diffstat (limited to 'arch/powerpc/configs')
0 files changed, 0 insertions, 0 deletions