summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorHari Bathini <hbathini@linux.ibm.com>2019-09-11 17:55:36 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2019-09-13 17:04:44 +0300
commitdda9dbfeeb7a855a75965b8ba7269f4edb35cde7 (patch)
treeb81623246fc3b6caa41e4ac076dc0b126776fff4 /fs
parente4fc48fb4d34f7e7d42eb980a9c130bb93aba3b9 (diff)
downloadlinux-dda9dbfeeb7a855a75965b8ba7269f4edb35cde7.tar.xz
powerpc/fadump: consider reserved ranges while releasing memory
Commit 0962e8004e97 ("powerpc/prom: Scan reserved-ranges node for memory reservations") enabled support to parse 'reserved-ranges' DT node to reserve kernel memory falling in these ranges for firmware purposes. Along with the preserved area memory, ensure memory in reserved ranges is not overlapped with memory released by capture kernel aftering saving vmcore. Also, fix the off-by-one error in fadump_release_reserved_area function while releasing memory. Signed-off-by: Hari Bathini <hbathini@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/156821371358.5656.6061214942558818661.stgit@hbathini.in.ibm.com
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions