commit | a8de94e5f033afc1424dc37933c9d1ecb3dc1b9f | [log] [tgz] |
---|---|---|
author | Youling Tang <tangyouling@loongson.cn> | Sat Mar 04 11:09:11 2023 +0800 |
committer | Simon Horman <horms@kernel.org> | Wed Mar 08 11:49:45 2023 +0100 |
tree | ad9f1134e6e9dc5f042fddbccc542eb3e0c2a7e5 | |
parent | 4203eaccfa925dd11019163560297a5353b01638 [diff] |
LoongArch: kdump: Set up kernel image segment On LoongArch, we can use the same kernel image as 1st kernel when 3f89765d622 ("LoongArch: kdump: Add single kernel image implementation") is merged, but we have to modify the entry point as well as segments addresses in the kernel elf header (or PE format vmlinux.efi) in order to load them into correct places. Signed-off-by: Youling Tang <tangyouling@loongson.cn> Signed-off-by: Simon Horman <horms@kernel.org>