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

Jinjie Ruan ruanjinjie at huawei.com
Fri Jul 19 02:57:32 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 v4:
- Add the missing macro for loongarch.
- Only define the macro for 64bit RISCV.
- Signed-off-by -> Suggested-by as suggested.
- Remove the Tested-by as suggested.
- Update the commit message.
- Add acked-by.

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
  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/loongarch/include/asm/crash_reserve.h |  2 +
 arch/riscv/include/asm/crash_reserve.h     |  4 ++
 arch/x86/include/asm/crash_reserve.h       |  1 +
 kernel/crash_reserve.c                     |  5 +-
 8 files changed, 48 insertions(+), 56 deletions(-)
 create mode 100644 arch/arm/include/asm/crash_reserve.h

-- 
2.34.1




More information about the linux-arm-kernel mailing list