]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit08107638af210fd242e690a9a7f5ed8fdfff01b7
treea89f243de8bbcc6dc33e542770d506052479cfbf
parent0450d32d5b49184ddd6d2572cae1c8440ba8d269
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