Re: [PATCH v5 1/3] crash_dump/dm-crypt: Don't print in arch-specific code
From: Coiby Xu
Date: Wed Apr 01 2026 - 21:52:14 EST
On Tue, Mar 31, 2026 at 03:12:04PM +0800, Baoquan He wrote:
On 02/25/26 at 02:03pm, Coiby Xu wrote:
When the vmcore dumping target is not a LUKS-encrypted target, it's
expected that there is no dm-crypt key thus no need to return -ENOENT.
Also print more logs in crash_load_dm_crypt_keys. The benefit is
arch-specific code can be more succinct.
Suggested-by: Will Deacon <will@xxxxxxxxxx>
Signed-off-by: Coiby Xu <coxu@xxxxxxxxxx>
---
arch/x86/kernel/kexec-bzimage64.c | 6 +-----
kernel/crash_dump_dm_crypt.c | 7 +++++--
2 files changed, 6 insertions(+), 7 deletions(-)
Acked-by: Baoquan He <bhe@xxxxxxxxxx>
Thank Baoquan for ack'ing the kexec/kdump part of this patch set!
--
Best regards,
Coiby