[PATCH v3 0/3] crash: Fix x86_32 memory reserve dead loop bug

Jinjie Ruan ruanjinjie at huawei.com
Wed Jul 17 20:54:41 PDT 2024


Fix two bugs for x86_32 crash memory reserve, and prepare to apply generic
crashkernel reservation to 32bit system. Then use generic interface to
simplify crashkernel reservation for ARM32.

changes in v3:
- Fix it as Baoquan suggested.
- Update the commit message.

changes in v2:
- Peel off the other two patches.
- Update the commit message and fix tag.

Jinjie Ruan (3):
  crash: Fix x86_32 crash memory reserve dead loop bug
  crash: Fix x86_32 crash memory reserve dead loop bug at high
  ARM: Use generic interface to simplify crashkernel reservation

 arch/arm/Kconfig                       |  3 ++
 arch/arm/include/asm/crash_reserve.h   | 24 ++++++++++
 arch/arm/kernel/setup.c                | 63 ++++----------------------
 arch/arm64/include/asm/crash_reserve.h |  2 +
 arch/riscv/include/asm/crash_reserve.h |  2 +
 arch/x86/include/asm/crash_reserve.h   |  1 +
 kernel/crash_reserve.c                 |  5 +-
 7 files changed, 44 insertions(+), 56 deletions(-)
 create mode 100644 arch/arm/include/asm/crash_reserve.h

-- 
2.34.1




More information about the kexec mailing list