From: Baoquan He <bhe@redhat.com>
To: Huacai Chen <chenhuacai@kernel.org>
Cc: kexec@lists.infradead.org, akpm@linux-foundation.org,
geert@linux-m68k.org, WANG Xuerui <kernel@xen0n.name>,
loongarch@lists.linux.dev
Subject: Re: [PATCH 1/2] arch/loongarch: clean up the left code and Kconfig item related to CRASH_CORE
Date: Sat, 30 Mar 2024 22:23:47 +0800 [thread overview]
Message-ID: <ZgggcyeJ1bnkfGOp@MiWiFi-R3L-srv> (raw)
In-Reply-To: <CAAhV-H76-FOvcTXB_rW1B1wFthYK6txVtC+brfzk6nwOhar8iQ@mail.gmail.com>
On 03/30/24 at 09:59pm, Huacai Chen wrote:
> Queued, thanks.
Thanks, Huacai. While I noticed Andrew has queued this patchset in his
mm-unstable branch.
>
> Huacai
>
> On Fri, Mar 29, 2024 at 9:28 PM Baoquan He <bhe@redhat.com> wrote:
> >
> > In commit 85fcde402db1 ("kexec: split crashkernel reservation code
> > out from crash_core.c"), crashkernel reservation code is split out from
> > crash_core.c, and add CRASH_RESERVE to control it. And also rename each
> > ARCH's <asm/crash_core.h> to <asm/crash_reserve.h> accordingly.
> >
> > But the relevant part in loongarch is missed. Do it now.
> >
> > Signed-off-by: Baoquan He <bhe@redhat.com>
> > Cc: Huacai Chen <chenhuacai@kernel.org>
> > Cc: WANG Xuerui <kernel@xen0n.name>
> > Cc: loongarch@lists.linux.dev
> > ---
> > arch/loongarch/Kconfig | 2 +-
> > arch/loongarch/include/asm/{crash_core.h => crash_reserve.h} | 4 ++--
> > 2 files changed, 3 insertions(+), 3 deletions(-)
> > rename arch/loongarch/include/asm/{crash_core.h => crash_reserve.h} (75%)
> >
> > diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig
> > index a5f300ec6f28..54ad04dacdee 100644
> > --- a/arch/loongarch/Kconfig
> > +++ b/arch/loongarch/Kconfig
> > @@ -595,7 +595,7 @@ config ARCH_SELECTS_CRASH_DUMP
> > select RELOCATABLE
> >
> > config ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION
> > - def_bool CRASH_CORE
> > + def_bool CRASH_RESERVE
> >
> > config RELOCATABLE
> > bool "Relocatable kernel"
> > diff --git a/arch/loongarch/include/asm/crash_core.h b/arch/loongarch/include/asm/crash_reserve.h
> > similarity index 75%
> > rename from arch/loongarch/include/asm/crash_core.h
> > rename to arch/loongarch/include/asm/crash_reserve.h
> > index 218bdbfa527b..a1d9b84b1c7d 100644
> > --- a/arch/loongarch/include/asm/crash_core.h
> > +++ b/arch/loongarch/include/asm/crash_reserve.h
> > @@ -1,6 +1,6 @@
> > /* SPDX-License-Identifier: GPL-2.0-only */
> > -#ifndef _LOONGARCH_CRASH_CORE_H
> > -#define _LOONGARCH_CRASH_CORE_H
> > +#ifndef _LOONGARCH_CRASH_RESERVE_H
> > +#define _LOONGARCH_CRASH_RESERVE_H
> >
> > #define CRASH_ALIGN SZ_2M
> >
> > --
> > 2.41.0
> >
>
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
next prev parent reply other threads:[~2024-03-30 14:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-29 13:28 [PATCH 0/2] crash: clean up outdated codes and doc related to CRASH_CORE Baoquan He
2024-03-29 13:28 ` [PATCH 1/2] arch/loongarch: clean up the left code and Kconfig item " Baoquan He
2024-03-30 13:59 ` Huacai Chen
2024-03-30 14:23 ` Baoquan He [this message]
2024-04-17 3:14 ` Huacai Chen
2024-04-17 7:32 ` Geert Uytterhoeven
2024-03-29 13:28 ` [PATCH 2/2] Documentation: kdump: clean up the outdated description Baoquan He
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZgggcyeJ1bnkfGOp@MiWiFi-R3L-srv \
--to=bhe@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=chenhuacai@kernel.org \
--cc=geert@linux-m68k.org \
--cc=kernel@xen0n.name \
--cc=kexec@lists.infradead.org \
--cc=loongarch@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox