lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260209095931.2813152-1-ruanjinjie@huawei.com>
Date: Mon, 9 Feb 2026 17:59:28 +0800
From: Jinjie Ruan <ruanjinjie@...wei.com>
To: <corbet@....net>, <catalin.marinas@....com>, <will@...nel.org>,
	<chenhuacai@...nel.org>, <kernel@...0n.name>, <maddy@...ux.ibm.com>,
	<mpe@...erman.id.au>, <npiggin@...il.com>, <chleroy@...nel.org>,
	<pjw@...nel.org>, <palmer@...belt.com>, <aou@...s.berkeley.edu>,
	<alex@...ti.fr>, <tglx@...nel.org>, <mingo@...hat.com>, <bp@...en8.de>,
	<dave.hansen@...ux.intel.com>, <hpa@...or.com>, <akpm@...ux-foundation.org>,
	<bhe@...hat.com>, <vgoyal@...hat.com>, <dyoung@...hat.com>,
	<rdunlap@...radead.org>, <pmladek@...e.com>, <feng.tang@...ux.alibaba.com>,
	<pawan.kumar.gupta@...ux.intel.com>, <kees@...nel.org>, <elver@...gle.com>,
	<arnd@...db.de>, <lirongqing@...du.com>, <fvdl@...gle.com>,
	<leitao@...ian.org>, <rppt@...nel.org>, <ardb@...nel.org>, <jbohac@...e.cz>,
	<sourabhjain@...ux.ibm.com>, <osandov@...com>, <ryan.roberts@....com>,
	<cfsworks@...il.com>, <tangyouling@...inos.cn>, <ritesh.list@...il.com>,
	<thuth@...hat.com>, <hbathini@...ux.ibm.com>, <eajames@...ux.ibm.com>,
	<bjorn@...osinc.com>, <songshuaishuai@...ylab.org>, <kevin.brodsky@....com>,
	<samuel.holland@...ive.com>, <vishal.moola@...il.com>,
	<junhui.liu@...moral.tech>, <dwmw@...zon.co.uk>, <pbonzini@...hat.com>,
	<thomas.lendacky@....com>, <kai.huang@...el.com>, <ubizjak@...il.com>,
	<coxu@...hat.com>, <liaoyuanhong@...o.com>, <fuqiang.wang@...ystack.cn>,
	<brgerst@...il.com>, <x86@...nel.org>, <linux-doc@...r.kernel.org>,
	<linux-kernel@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>,
	<loongarch@...ts.linux.dev>, <linuxppc-dev@...ts.ozlabs.org>,
	<linux-riscv@...ts.infradead.org>, <kexec@...ts.infradead.org>
CC: <ruanjinjie@...wei.com>
Subject: [PATCH v4 0/3] arm64/riscv: Add support for crashkernel CMA reservation

Exclude crash kernel memory in crash core to avoid duplication. Also move
the size calculation (and the realloc if needed) into crash core.

And add support for crashkernel CMA reservation for arm64 and riscv.

Changes in v4:
- Move the size calculation (and the realloc if needed) into the
  generic crash.

Changs in v3:
- Exclude crash kernel memory in crash core as Mike suggested.
- Add acked-by.


Jinjie Ruan (3):
  crash: Exclude crash kernel memory in crash core
  arm64: kexec: Add support for crashkernel CMA reservation
  riscv: kexec: Add support for crashkernel CMA reservation

 .../admin-guide/kernel-parameters.txt         |  16 +--
 arch/arm64/kernel/machine_kexec_file.c        |  47 +-------
 arch/arm64/mm/init.c                          |   5 +-
 arch/loongarch/kernel/machine_kexec_file.c    |  45 +------
 arch/powerpc/include/asm/kexec.h              |  13 ++
 arch/powerpc/kexec/crash.c                    |  52 ++++----
 arch/powerpc/kexec/file_load_64.c             |  17 +--
 arch/powerpc/kexec/ranges.c                   |  18 +--
 arch/riscv/include/asm/kexec.h                |  10 ++
 arch/riscv/kernel/machine_kexec_file.c        |  39 +++---
 arch/riscv/mm/init.c                          |   5 +-
 arch/x86/include/asm/kexec.h                  |  10 ++
 arch/x86/kernel/crash.c                       | 104 ++--------------
 include/linux/crash_core.h                    | 114 +++++++++++++++++-
 kernel/crash_core.c                           |  71 +++++++++--
 15 files changed, 290 insertions(+), 276 deletions(-)

-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ