diff mbox series

arm64/defconfig: Enable CONFIG_KEXEC_FILE

Message ID 1586212300-30797-1-git-send-email-bhsharma@redhat.com (mailing list archive)
State Mainlined
Commit 2a379716f3d76aebc5574155de247b547a0214cc
Headers show
Series arm64/defconfig: Enable CONFIG_KEXEC_FILE | expand

Commit Message

Bhupesh Sharma April 6, 2020, 10:31 p.m. UTC
kexec_file_load() syscall interface is now supported for
arm64 architecture as well via commits:
3751e728cef2 ("arm64: kexec_file: add crash dump support") and
3ddd9992a590 ("arm64: enable KEXEC_FILE config")].

This patch enables config KEXEC_FILE by default in the
arm64 defconfig, so that user-space tools like kexec-tools
can use the same as the default interface for kexec/kdump
on arm64.

Cc: AKASHI Takahiro <takahiro.akashi@linaro.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: kexec@lists.infradead.org

Signed-off-by: Bhupesh Sharma <bhsharma@redhat.com>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Mark Rutland April 8, 2020, 10:46 a.m. UTC | #1
On Tue, Apr 07, 2020 at 04:01:40AM +0530, Bhupesh Sharma wrote:
> kexec_file_load() syscall interface is now supported for
> arm64 architecture as well via commits:
> 3751e728cef2 ("arm64: kexec_file: add crash dump support") and
> 3ddd9992a590 ("arm64: enable KEXEC_FILE config")].
> 
> This patch enables config KEXEC_FILE by default in the
> arm64 defconfig, so that user-space tools like kexec-tools
> can use the same as the default interface for kexec/kdump
> on arm64.
> 
> Cc: AKASHI Takahiro <takahiro.akashi@linaro.org>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: James Morse <james.morse@arm.com>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Will Deacon <will@kernel.org>
> Cc: kexec@lists.infradead.org
> 
> Signed-off-by: Bhupesh Sharma <bhsharma@redhat.com>

FWIW:

Acked-by: Mark Rutland <mark.rutland@arm.com>

Mark.

> ---
>  arch/arm64/configs/defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 24e534d85045..fa122f4341a2 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -66,6 +66,7 @@ CONFIG_SCHED_SMT=y
>  CONFIG_NUMA=y
>  CONFIG_SECCOMP=y
>  CONFIG_KEXEC=y
> +CONFIG_KEXEC_FILE=y
>  CONFIG_CRASH_DUMP=y
>  CONFIG_XEN=y
>  CONFIG_COMPAT=y
> -- 
> 2.7.4
>
Bhupesh Sharma April 28, 2020, 8:25 a.m. UTC | #2
On Wed, Apr 8, 2020 at 4:17 PM Mark Rutland <mark.rutland@arm.com> wrote:
>
> On Tue, Apr 07, 2020 at 04:01:40AM +0530, Bhupesh Sharma wrote:
> > kexec_file_load() syscall interface is now supported for
> > arm64 architecture as well via commits:
> > 3751e728cef2 ("arm64: kexec_file: add crash dump support") and
> > 3ddd9992a590 ("arm64: enable KEXEC_FILE config")].
> >
> > This patch enables config KEXEC_FILE by default in the
> > arm64 defconfig, so that user-space tools like kexec-tools
> > can use the same as the default interface for kexec/kdump
> > on arm64.
> >
> > Cc: AKASHI Takahiro <takahiro.akashi@linaro.org>
> > Cc: Catalin Marinas <catalin.marinas@arm.com>
> > Cc: James Morse <james.morse@arm.com>
> > Cc: Mark Rutland <mark.rutland@arm.com>
> > Cc: Will Deacon <will@kernel.org>
> > Cc: kexec@lists.infradead.org
> >
> > Signed-off-by: Bhupesh Sharma <bhsharma@redhat.com>
>
> FWIW:
>
> Acked-by: Mark Rutland <mark.rutland@arm.com>
>
> Mark.
>
> > ---
> >  arch/arm64/configs/defconfig | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> > index 24e534d85045..fa122f4341a2 100644
> > --- a/arch/arm64/configs/defconfig
> > +++ b/arch/arm64/configs/defconfig
> > @@ -66,6 +66,7 @@ CONFIG_SCHED_SMT=y
> >  CONFIG_NUMA=y
> >  CONFIG_SECCOMP=y
> >  CONFIG_KEXEC=y
> > +CONFIG_KEXEC_FILE=y
> >  CONFIG_CRASH_DUMP=y
> >  CONFIG_XEN=y
> >  CONFIG_COMPAT=y
> > --
> > 2.7.4
> >

Thanks a lot  Mark.

Hi Catalin, Will,

Can you please help pick this patch in the arm tree. We have an
increasing number of user-cases from distro users
who want to use kexec_file_load() as the default interface for
kexec/kdump on arm64.

Regards,
Bhupesh
Catalin Marinas April 28, 2020, 10:07 a.m. UTC | #3
On Tue, Apr 28, 2020 at 01:55:58PM +0530, Bhupesh Sharma wrote:
> On Wed, Apr 8, 2020 at 4:17 PM Mark Rutland <mark.rutland@arm.com> wrote:
> > On Tue, Apr 07, 2020 at 04:01:40AM +0530, Bhupesh Sharma wrote:
> > >  arch/arm64/configs/defconfig | 1 +
> > >  1 file changed, 1 insertion(+)
> > >
> > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> > > index 24e534d85045..fa122f4341a2 100644
> > > --- a/arch/arm64/configs/defconfig
> > > +++ b/arch/arm64/configs/defconfig
> > > @@ -66,6 +66,7 @@ CONFIG_SCHED_SMT=y
> > >  CONFIG_NUMA=y
> > >  CONFIG_SECCOMP=y
> > >  CONFIG_KEXEC=y
> > > +CONFIG_KEXEC_FILE=y
> > >  CONFIG_CRASH_DUMP=y
> > >  CONFIG_XEN=y
> > >  CONFIG_COMPAT=y
> > > --
> > > 2.7.4
> 
> Thanks a lot  Mark.
> 
> Hi Catalin, Will,
> 
> Can you please help pick this patch in the arm tree. We have an
> increasing number of user-cases from distro users
> who want to use kexec_file_load() as the default interface for
> kexec/kdump on arm64.

We could pick it up if it doesn't conflict with the arm-soc tree. They
tend to pick most of the defconfig changes these days (and could as well
pick this one).
Bhupesh Sharma April 30, 2020, 4:35 a.m. UTC | #4
On Tue, Apr 28, 2020 at 3:37 PM Catalin Marinas <catalin.marinas@arm.com> wrote:
>
> On Tue, Apr 28, 2020 at 01:55:58PM +0530, Bhupesh Sharma wrote:
> > On Wed, Apr 8, 2020 at 4:17 PM Mark Rutland <mark.rutland@arm.com> wrote:
> > > On Tue, Apr 07, 2020 at 04:01:40AM +0530, Bhupesh Sharma wrote:
> > > >  arch/arm64/configs/defconfig | 1 +
> > > >  1 file changed, 1 insertion(+)
> > > >
> > > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> > > > index 24e534d85045..fa122f4341a2 100644
> > > > --- a/arch/arm64/configs/defconfig
> > > > +++ b/arch/arm64/configs/defconfig
> > > > @@ -66,6 +66,7 @@ CONFIG_SCHED_SMT=y
> > > >  CONFIG_NUMA=y
> > > >  CONFIG_SECCOMP=y
> > > >  CONFIG_KEXEC=y
> > > > +CONFIG_KEXEC_FILE=y
> > > >  CONFIG_CRASH_DUMP=y
> > > >  CONFIG_XEN=y
> > > >  CONFIG_COMPAT=y
> > > > --
> > > > 2.7.4
> >
> > Thanks a lot  Mark.
> >
> > Hi Catalin, Will,
> >
> > Can you please help pick this patch in the arm tree. We have an
> > increasing number of user-cases from distro users
> > who want to use kexec_file_load() as the default interface for
> > kexec/kdump on arm64.
>
> We could pick it up if it doesn't conflict with the arm-soc tree. They
> tend to pick most of the defconfig changes these days (and could as well
> pick this one).

Thanks Catalin.
(+Cc Arnd)

Hi Arnd,

Can you please help pick this change via the arm-soc tree?

Thanks,
Bhupesh
Bhupesh Sharma May 15, 2020, 9:14 a.m. UTC | #5
Hi Arnd,

On Thu, Apr 30, 2020 at 10:05 AM Bhupesh Sharma <bhsharma@redhat.com> wrote:
>
> On Tue, Apr 28, 2020 at 3:37 PM Catalin Marinas <catalin.marinas@arm.com> wrote:
> >
> > On Tue, Apr 28, 2020 at 01:55:58PM +0530, Bhupesh Sharma wrote:
> > > On Wed, Apr 8, 2020 at 4:17 PM Mark Rutland <mark.rutland@arm.com> wrote:
> > > > On Tue, Apr 07, 2020 at 04:01:40AM +0530, Bhupesh Sharma wrote:
> > > > >  arch/arm64/configs/defconfig | 1 +
> > > > >  1 file changed, 1 insertion(+)
> > > > >
> > > > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> > > > > index 24e534d85045..fa122f4341a2 100644
> > > > > --- a/arch/arm64/configs/defconfig
> > > > > +++ b/arch/arm64/configs/defconfig
> > > > > @@ -66,6 +66,7 @@ CONFIG_SCHED_SMT=y
> > > > >  CONFIG_NUMA=y
> > > > >  CONFIG_SECCOMP=y
> > > > >  CONFIG_KEXEC=y
> > > > > +CONFIG_KEXEC_FILE=y
> > > > >  CONFIG_CRASH_DUMP=y
> > > > >  CONFIG_XEN=y
> > > > >  CONFIG_COMPAT=y
> > > > > --
> > > > > 2.7.4
> > >
> > > Thanks a lot  Mark.
> > >
> > > Hi Catalin, Will,
> > >
> > > Can you please help pick this patch in the arm tree. We have an
> > > increasing number of user-cases from distro users
> > > who want to use kexec_file_load() as the default interface for
> > > kexec/kdump on arm64.
> >
> > We could pick it up if it doesn't conflict with the arm-soc tree. They
> > tend to pick most of the defconfig changes these days (and could as well
> > pick this one).
>
> Thanks Catalin.
> (+Cc Arnd)
>
> Hi Arnd,
>
> Can you please help pick this change via the arm-soc tree?

Ping. Any updates on this defconfig patch.

Thanks,
Bhupesh
Bhupesh Sharma July 2, 2020, 7:25 p.m. UTC | #6
Hi Catalin,

On Fri, May 15, 2020 at 2:44 PM Bhupesh Sharma <bhsharma@redhat.com> wrote:
>
> Hi Arnd,
>
> On Thu, Apr 30, 2020 at 10:05 AM Bhupesh Sharma <bhsharma@redhat.com> wrote:
> >
> > On Tue, Apr 28, 2020 at 3:37 PM Catalin Marinas <catalin.marinas@arm.com> wrote:
> > >
> > > On Tue, Apr 28, 2020 at 01:55:58PM +0530, Bhupesh Sharma wrote:
> > > > On Wed, Apr 8, 2020 at 4:17 PM Mark Rutland <mark.rutland@arm.com> wrote:
> > > > > On Tue, Apr 07, 2020 at 04:01:40AM +0530, Bhupesh Sharma wrote:
> > > > > >  arch/arm64/configs/defconfig | 1 +
> > > > > >  1 file changed, 1 insertion(+)
> > > > > >
> > > > > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> > > > > > index 24e534d85045..fa122f4341a2 100644
> > > > > > --- a/arch/arm64/configs/defconfig
> > > > > > +++ b/arch/arm64/configs/defconfig
> > > > > > @@ -66,6 +66,7 @@ CONFIG_SCHED_SMT=y
> > > > > >  CONFIG_NUMA=y
> > > > > >  CONFIG_SECCOMP=y
> > > > > >  CONFIG_KEXEC=y
> > > > > > +CONFIG_KEXEC_FILE=y
> > > > > >  CONFIG_CRASH_DUMP=y
> > > > > >  CONFIG_XEN=y
> > > > > >  CONFIG_COMPAT=y
> > > > > > --
> > > > > > 2.7.4
> > > >
> > > > Thanks a lot  Mark.
> > > >
> > > > Hi Catalin, Will,
> > > >
> > > > Can you please help pick this patch in the arm tree. We have an
> > > > increasing number of user-cases from distro users
> > > > who want to use kexec_file_load() as the default interface for
> > > > kexec/kdump on arm64.
> > >
> > > We could pick it up if it doesn't conflict with the arm-soc tree. They
> > > tend to pick most of the defconfig changes these days (and could as well
> > > pick this one).
> >
> > Thanks Catalin.
> > (+Cc Arnd)
> >
> > Hi Arnd,
> >
> > Can you please help pick this change via the arm-soc tree?
>
> Ping. Any updates on this defconfig patch.

Ping. Seems there is no reply from Arnd on this patch.
Can you please help pull in this one as well. It has been pending for
quite some time now.

Thanks,
Bhupesh
Catalin Marinas July 3, 2020, 4:39 p.m. UTC | #7
On Fri, Jul 03, 2020 at 12:55:03AM +0530, Bhupesh Sharma wrote:
> On Fri, May 15, 2020 at 2:44 PM Bhupesh Sharma <bhsharma@redhat.com> wrote:
> > On Thu, Apr 30, 2020 at 10:05 AM Bhupesh Sharma <bhsharma@redhat.com> wrote:
> > > On Tue, Apr 28, 2020 at 3:37 PM Catalin Marinas <catalin.marinas@arm.com> wrote:
> > > >
> > > > On Tue, Apr 28, 2020 at 01:55:58PM +0530, Bhupesh Sharma wrote:
> > > > > On Wed, Apr 8, 2020 at 4:17 PM Mark Rutland <mark.rutland@arm.com> wrote:
> > > > > > On Tue, Apr 07, 2020 at 04:01:40AM +0530, Bhupesh Sharma wrote:
> > > > > > >  arch/arm64/configs/defconfig | 1 +
> > > > > > >  1 file changed, 1 insertion(+)
> > > > > > >
> > > > > > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> > > > > > > index 24e534d85045..fa122f4341a2 100644
> > > > > > > --- a/arch/arm64/configs/defconfig
> > > > > > > +++ b/arch/arm64/configs/defconfig
> > > > > > > @@ -66,6 +66,7 @@ CONFIG_SCHED_SMT=y
> > > > > > >  CONFIG_NUMA=y
> > > > > > >  CONFIG_SECCOMP=y
> > > > > > >  CONFIG_KEXEC=y
> > > > > > > +CONFIG_KEXEC_FILE=y
> > > > > > >  CONFIG_CRASH_DUMP=y
> > > > > > >  CONFIG_XEN=y
> > > > > > >  CONFIG_COMPAT=y
> > > > > > > --
> > > > > > > 2.7.4
> > > > >
> > > > > Thanks a lot  Mark.
> > > > >
> > > > > Hi Catalin, Will,
> > > > >
> > > > > Can you please help pick this patch in the arm tree. We have an
> > > > > increasing number of user-cases from distro users
> > > > > who want to use kexec_file_load() as the default interface for
> > > > > kexec/kdump on arm64.
> > > >
> > > > We could pick it up if it doesn't conflict with the arm-soc tree. They
> > > > tend to pick most of the defconfig changes these days (and could as well
> > > > pick this one).
> > >
> > > Thanks Catalin.
> > > (+Cc Arnd)
> > >
> > > Hi Arnd,
> > >
> > > Can you please help pick this change via the arm-soc tree?
> >
> > Ping. Any updates on this defconfig patch.
> 
> Ping. Seems there is no reply from Arnd on this patch.
> Can you please help pull in this one as well. It has been pending for
> quite some time now.

I can queue it for 5.9.
Bhupesh Sharma July 4, 2020, 8:15 p.m. UTC | #8
On Fri, Jul 3, 2020 at 10:09 PM Catalin Marinas <catalin.marinas@arm.com> wrote:
>
> On Fri, Jul 03, 2020 at 12:55:03AM +0530, Bhupesh Sharma wrote:
> > On Fri, May 15, 2020 at 2:44 PM Bhupesh Sharma <bhsharma@redhat.com> wrote:
> > > On Thu, Apr 30, 2020 at 10:05 AM Bhupesh Sharma <bhsharma@redhat.com> wrote:
> > > > On Tue, Apr 28, 2020 at 3:37 PM Catalin Marinas <catalin.marinas@arm.com> wrote:
> > > > >
> > > > > On Tue, Apr 28, 2020 at 01:55:58PM +0530, Bhupesh Sharma wrote:
> > > > > > On Wed, Apr 8, 2020 at 4:17 PM Mark Rutland <mark.rutland@arm.com> wrote:
> > > > > > > On Tue, Apr 07, 2020 at 04:01:40AM +0530, Bhupesh Sharma wrote:
> > > > > > > >  arch/arm64/configs/defconfig | 1 +
> > > > > > > >  1 file changed, 1 insertion(+)
> > > > > > > >
> > > > > > > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> > > > > > > > index 24e534d85045..fa122f4341a2 100644
> > > > > > > > --- a/arch/arm64/configs/defconfig
> > > > > > > > +++ b/arch/arm64/configs/defconfig
> > > > > > > > @@ -66,6 +66,7 @@ CONFIG_SCHED_SMT=y
> > > > > > > >  CONFIG_NUMA=y
> > > > > > > >  CONFIG_SECCOMP=y
> > > > > > > >  CONFIG_KEXEC=y
> > > > > > > > +CONFIG_KEXEC_FILE=y
> > > > > > > >  CONFIG_CRASH_DUMP=y
> > > > > > > >  CONFIG_XEN=y
> > > > > > > >  CONFIG_COMPAT=y
> > > > > > > > --
> > > > > > > > 2.7.4
> > > > > >
> > > > > > Thanks a lot  Mark.
> > > > > >
> > > > > > Hi Catalin, Will,
> > > > > >
> > > > > > Can you please help pick this patch in the arm tree. We have an
> > > > > > increasing number of user-cases from distro users
> > > > > > who want to use kexec_file_load() as the default interface for
> > > > > > kexec/kdump on arm64.
> > > > >
> > > > > We could pick it up if it doesn't conflict with the arm-soc tree. They
> > > > > tend to pick most of the defconfig changes these days (and could as well
> > > > > pick this one).
> > > >
> > > > Thanks Catalin.
> > > > (+Cc Arnd)
> > > >
> > > > Hi Arnd,
> > > >
> > > > Can you please help pick this change via the arm-soc tree?
> > >
> > > Ping. Any updates on this defconfig patch.
> >
> > Ping. Seems there is no reply from Arnd on this patch.
> > Can you please help pull in this one as well. It has been pending for
> > quite some time now.
>
> I can queue it for 5.9.

Many thanks, Catalin.

Regards,
Bhupesh
diff mbox series

Patch

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 24e534d85045..fa122f4341a2 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -66,6 +66,7 @@  CONFIG_SCHED_SMT=y
 CONFIG_NUMA=y
 CONFIG_SECCOMP=y
 CONFIG_KEXEC=y
+CONFIG_KEXEC_FILE=y
 CONFIG_CRASH_DUMP=y
 CONFIG_XEN=y
 CONFIG_COMPAT=y