linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] crash: Fix crash memory reserve exceed system memory bug
@ 2024-07-22  3:56 Jinjie Ruan
  2024-07-22  3:56 ` [PATCH v4 1/3] x86/kexec: " Jinjie Ruan
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Jinjie Ruan @ 2024-07-22  3:56 UTC (permalink / raw)
  To: linux, paul.walmsley, palmer, aou, tglx, mingo, bp, dave.hansen,
	hpa, arnd, gregkh, deller, javierm, bhe, robh, alexghiti, bjorn,
	akpm, namcao, dawei.li, chenjiahao16, rppt, julian.stecklina,
	rafael.j.wysocki, linux-arm-kernel, linux-riscv, linux-kernel
  Cc: ruanjinjie

On x86_32, arm32 and riscv32, the crash memory reserve may exceed system
memory and display "reserved ok", fix it.

changes in v4:
- Update the warn info to align with parse_crashkernel_mem().
- Rebased on the "ARM: Use generic interface to simplify crashkernel
  reservation" patch.
- Also fix for riscv32.
- Update the commit message.

changes in v3:
- Handle the check in reserve_crashkernel() Baoquan suggested.
- Split x86_32 and arm32.
- Add Suggested-by.
- Drop the wrong fix tag.

changes in v2:
- Also fix for x86_32.
- Update the fix method.
- Peel off the other two patches.
- Update the commit message.

Jinjie Ruan (3):
  x86/kexec: Fix crash memory reserve exceed system memory bug
  ARM: Fix crash memory reserve exceed system memory bug
  riscv: kdump: Fix crash memory reserve exceed system memory bug

 arch/arm/kernel/setup.c | 5 +++++
 arch/riscv/mm/init.c    | 5 +++++
 arch/x86/kernel/setup.c | 5 +++++
 3 files changed, 15 insertions(+)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-07-29 11:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-22  3:56 [PATCH v4 0/3] crash: Fix crash memory reserve exceed system memory bug Jinjie Ruan
2024-07-22  3:56 ` [PATCH v4 1/3] x86/kexec: " Jinjie Ruan
2024-07-22  3:57 ` [PATCH v4 2/3] ARM: " Jinjie Ruan
2024-07-29 11:14   ` Russell King (Oracle)
2024-07-22  3:57 ` [PATCH v4 3/3] riscv: kdump: " Jinjie Ruan
2024-07-22  6:38   ` Mike Rapoport
2024-07-22  7:04     ` Jinjie Ruan
2024-07-22  7:08     ` Jinjie Ruan
2024-07-22  7:23       ` Mike Rapoport
2024-07-22  7:49         ` Jinjie Ruan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).