powerpc/kexec_file: Add appropriate regions for memory reserve map
authorHari Bathini <hbathini@linux.ibm.com>
Wed, 29 Jul 2020 11:43:33 +0000 (17:13 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 29 Jul 2020 13:47:54 +0000 (23:47 +1000)
commit6ecd0163d36049b5f2435a8658f1320c9f3f2924
treea89f243de8bbcc6dc33e542770d506052479cfbf
parentcb350c1f1f867db16725f1bb06be033ece19e998
powerpc/kexec_file: Add appropriate regions for memory reserve map

While initrd, elfcorehdr and backup regions are already added to the
reserve map, there are a few missing regions that need to be added to
the memory reserve map. Add them here. And now that all the changes to
load panic kernel are in place, claim likewise.

Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Tested-by: Pingfan Liu <piliu@redhat.com>
Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/159602300473.575379.4218568032039284448.stgit@hbathini
arch/powerpc/kexec/file_load_64.c