29 Commits

Author SHA1 Message Date
huangwenhua
8de77cea60 Add loongarch iomem.h 2024-05-13 16:17:55 +08:00
Mingzheng Xing
a364008bff kdump: Add riscv64 support
This patch provides support for enabling the kdump service on riscv. After
starting the kdump service, the kdump kernel can be successfully loaded,
and after triggering a kernel crash, the kdump kernel can be started
normally and the vmcore can be captured.

Due to some issues with initrd in kexec-tools, avoid it first to provide
basic riscv architecture kdump support. Tested in openeuler riscv qemu,
and can also pass Mugen testing.

Signed-off-by: Mingzheng Xing <xingmingzheng@iscas.ac.cn>
(cherry picked from commit 7033d5da29de3ac009d36a9e5e516aaa6d58712d)
2024-05-07 11:41:09 +08:00
chenhaixiang
0b92a67d38 update makedumpfile to makedumpfile-1.7.3
Signed-off-by: chenhaixiang <chenhaixiang3@huawei.com>
2024-02-19 19:53:16 +08:00
peng.zou
978b7af187 Add ppc64le support 2024-01-02 14:56:53 +08:00
chenhaixiang
435f41ae0b Update to kexec-tools-2.0.26
Signed-off-by: chenhaixiang <chenhaixiang3@huawei.com>
2023-01-30 20:46:57 +08:00
chenhaixiang
28f8f09808 fix shellcheck error in dracut module setup
Signed-off-by: chenhaixiang3@huawei.com
(cherry picked from commit 60550bf4e0804db6d592cd77ffea534bdd937da2)
2023-01-04 09:40:19 +08:00
zhixin.zhang
4a18882e44 Add sw patch
(cherry picked from commit 49c64e37ae5ab9226839e2b0c2d2d3b9eedae412)
2022-12-30 10:01:07 +08:00
doupengda
e96510680d add loongarch64 support 2022-11-17 09:38:40 +08:00
chenhaixiang
a2343183b4 arm64: fix PAGE_OFFSET calc for flipped mm
Signed-off-by: chenhaixiang <chenhaixiang3@huawei.com>
2022-08-24 15:15:55 +08:00
chenhaixiang
0576537474 kdumpctl:ignore deprecated and invaild kdump config option
Signed-off-by: chenhaixiang <chenhaixiang3@huawei.com>
2022-08-24 09:28:32 +08:00
chenhaixiang
d83d66e0ad fix CVE-2021-20269
Signed-off-by: chenhaixiang <chenhaixiang3@huawei.com>
2022-08-03 12:08:33 +08:00
Bin Wang
c80837050f packing 98-kexec.rules instead of 98-kexec.rules.ppc64
Signed-off-by: Bin Wang <wangbin224@huawei.com>
2022-03-11 09:47:20 +08:00
Bin Wang
ebf91773b2 arm64/crashdump: deduce paddr of _text based on kernel code size
vmcore-dmesg shows bug:
No program header covering vaddr 0x45524f44300000001found kexec bug?
And kdump cannot dump vmcore-dmesg.txt correctly. Add patch to fix this.

Signed-off-by: Bin Wang <wangbin224@huawei.com>
2022-02-23 16:32:56 +08:00
snoweay
878120c450
quick kexec: Fix conflicts with xen load live update
Add KEXEC_FLAGS_MAX to avoid conflicting with KEXEC_LIVE_UPDATE.

Signed-off-by: snoweay <sangyan@163.com>
2022-02-23 06:54:50 +00:00
zhouwenpei
efca053045 modify the patch header 2021-12-30 09:59:51 +08:00
zhouwenpei
6db177884b update to version 2.0.23 2021-12-25 19:54:22 +08:00
zhouwenpei
41174919ba fix build fail caused by file format not recognized 2021-07-27 14:18:35 +08:00
yang_zhuang_zhuang
98f6e4b451 Fix bug: Filed to generate the vmcore file in the ARM architecture
Fix bug: Filed to generate the vmcore-dmesg.txt file in the ARM architecture

Signed-off-by: yang_zhuang_zhuang <1162011203@qq.com>
2021-03-27 14:21:44 +08:00
yang_zhuang_zhuang
7de03dd07f support more than one crash kernel regions
Signed-off-by: yang_zhuang_zhuang <1162011203@qq.com>
2021-03-22 17:07:04 +08:00
zhangruifang2020
5ee0c18b7d Sychronize git patches to enhance quality 2020-09-14 19:11:14 +08:00
zhangruifang2020
0dda2041cd Thu Sep 10 2020 zhangruifang2020 <xdzhangruifang@163.com> - 2.0.20-3
Type:bugfix
ID:NA
SUG:NA
DESC:fix issue about iomem file that contains too many contens.As a result,the kdump service failed.
2020-09-10 15:36:49 +08:00
snoweay
3f45321276 kexec: Add support for quick kexec and implement for arm64
Signed-off-by: snoweay <snoweay@163.com>
2020-08-13 23:44:17 +08:00
snoweay
c71d486b2f spec: Fix wrong data in changelog of 2019.9.21
Signed-off-by: snoweay <snoweay@163.com>
2020-08-13 22:45:31 +08:00
snoweay
d9aee8afb4 spec: Delete unused buildrequires of zlib and zlib-static
Signed-off-by: snoweay <snoweay@163.com>
2020-08-13 22:43:44 +08:00
yixiangzhike
b55da0592f update to 2.0.20 2020-07-23 20:15:54 +08:00
Yangyang Shen
f50c7f192a fix kdump stuck 2020-05-14 09:48:25 +08:00
openeuler-basic
8cdff9f44c modify patch 2020-01-01 00:39:11 +08:00
chengquan
2159512247 fix bug in kdump service 2019-12-31 18:05:17 +08:00
chengquan
58e33e2011 package init 2019-12-26 15:15:03 +08:00