[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240722035701.696874-1-ruanjinjie@huawei.com>
Date: Mon, 22 Jul 2024 11:56:58 +0800
From: Jinjie Ruan <ruanjinjie@...wei.com>
To: <linux@...linux.org.uk>, <paul.walmsley@...ive.com>, <palmer@...belt.com>,
<aou@...s.berkeley.edu>, <tglx@...utronix.de>, <mingo@...hat.com>,
<bp@...en8.de>, <dave.hansen@...ux.intel.com>, <hpa@...or.com>,
<arnd@...db.de>, <gregkh@...uxfoundation.org>, <deller@....de>,
<javierm@...hat.com>, <bhe@...hat.com>, <robh@...nel.org>,
<alexghiti@...osinc.com>, <bjorn@...osinc.com>, <akpm@...ux-foundation.org>,
<namcao@...utronix.de>, <dawei.li@...ngroup.cn>, <chenjiahao16@...wei.com>,
<rppt@...nel.org>, <julian.stecklina@...erus-technology.de>,
<rafael.j.wysocki@...el.com>, <linux-arm-kernel@...ts.infradead.org>,
<linux-riscv@...ts.infradead.org>, <linux-kernel@...r.kernel.org>
CC: <ruanjinjie@...wei.com>
Subject: [PATCH v4 0/3] crash: Fix crash memory reserve exceed system memory bug
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
Powered by blists - more mailing lists