All of lore.kernel.org
 help / color / mirror / Atom feed
* + kexec-consolidate-kexec-and-crash-options-into-kernel-kconfigkexec-fix.patch added to mm-nonmm-unstable branch
@ 2023-07-06 16:41 Andrew Morton
  2023-07-07 15:26 ` Eric DeVolder
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Morton @ 2023-07-06 16:41 UTC (permalink / raw)
  To: mm-commits, eric.devolder, arnd, akpm


The patch titled
     Subject: kexec-consolidate-kexec-and-crash-options-into-kernel-kconfigkexec-fix
has been added to the -mm mm-nonmm-unstable branch.  Its filename is
     kexec-consolidate-kexec-and-crash-options-into-kernel-kconfigkexec-fix.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/kexec-consolidate-kexec-and-crash-options-into-kernel-kconfigkexec-fix.patch

This patch will later appear in the mm-nonmm-unstable branch at
    git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days

------------------------------------------------------
From: "Arnd Bergmann" <arnd@arndb.de>
Subject: kexec-consolidate-kexec-and-crash-options-into-kernel-kconfigkexec-fix
Date: Thu, 06 Jul 2023 14:18:36 +0200

Today's linux-next now runs into a warning on arm64 and
presumably others, with the same problem as on arm earlier:

WARNING: unmet direct dependencies detected for KEXEC
  Depends on [n]: ARCH_SUPPORTS_KEXEC [=n]
  Selected by [y]:
  - CRASH_DUMP [=y] && ARCH_SUPPORTS_CRASH_DUMP [=y]

I think the easiest way to make this reliable would be
this fixup.

Link: https://lkml.kernel.org/r/c057ba7a-3cc2-44ac-a961-fa062b909876@app.fastmail.com
Signed-off-by: "Arnd Bergmann" <arnd@arndb.de>
Cc: Eric DeVolder <eric.devolder@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 kernel/Kconfig.kexec |    1 +
 1 file changed, 1 insertion(+)

--- a/kernel/Kconfig.kexec~kexec-consolidate-kexec-and-crash-options-into-kernel-kconfigkexec-fix
+++ a/kernel/Kconfig.kexec
@@ -91,6 +91,7 @@ config KEXEC_JUMP
 config CRASH_DUMP
 	bool "kernel crash dumps"
 	depends on ARCH_SUPPORTS_CRASH_DUMP
+	depends on ARCH_SUPPORTS_KEXEC
 	select CRASH_CORE
 	select KEXEC
 	help
_

Patches currently in -mm which might be from arnd@arndb.de are

kexec-consolidate-kexec-and-crash-options-into-kernel-kconfigkexec-fix.patch


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: + kexec-consolidate-kexec-and-crash-options-into-kernel-kconfigkexec-fix.patch added to mm-nonmm-unstable branch
  2023-07-06 16:41 + kexec-consolidate-kexec-and-crash-options-into-kernel-kconfigkexec-fix.patch added to mm-nonmm-unstable branch Andrew Morton
@ 2023-07-07 15:26 ` Eric DeVolder
  0 siblings, 0 replies; 2+ messages in thread
From: Eric DeVolder @ 2023-07-07 15:26 UTC (permalink / raw)
  To: Andrew Morton, mm-commits, arnd

FYI I posted v5 last night. It includes the effect of this patch as well.
Eric


On 7/6/23 11:41, Andrew Morton wrote:
> 
> The patch titled
>       Subject: kexec-consolidate-kexec-and-crash-options-into-kernel-kconfigkexec-fix
> has been added to the -mm mm-nonmm-unstable branch.  Its filename is
>       kexec-consolidate-kexec-and-crash-options-into-kernel-kconfigkexec-fix.patch
> 
> This patch will shortly appear at
>       https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/kexec-consolidate-kexec-and-crash-options-into-kernel-kconfigkexec-fix.patch
> 
> This patch will later appear in the mm-nonmm-unstable branch at
>      git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
> 
> Before you just go and hit "reply", please:
>     a) Consider who else should be cc'ed
>     b) Prefer to cc a suitable mailing list as well
>     c) Ideally: find the original patch on the mailing list and do a
>        reply-to-all to that, adding suitable additional cc's
> 
> *** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
> 
> The -mm tree is included into linux-next via the mm-everything
> branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
> and is updated there every 2-3 working days
> 
> ------------------------------------------------------
> From: "Arnd Bergmann" <arnd@arndb.de>
> Subject: kexec-consolidate-kexec-and-crash-options-into-kernel-kconfigkexec-fix
> Date: Thu, 06 Jul 2023 14:18:36 +0200
> 
> Today's linux-next now runs into a warning on arm64 and
> presumably others, with the same problem as on arm earlier:
> 
> WARNING: unmet direct dependencies detected for KEXEC
>    Depends on [n]: ARCH_SUPPORTS_KEXEC [=n]
>    Selected by [y]:
>    - CRASH_DUMP [=y] && ARCH_SUPPORTS_CRASH_DUMP [=y]
> 
> I think the easiest way to make this reliable would be
> this fixup.
> 
> Link: https://lkml.kernel.org/r/c057ba7a-3cc2-44ac-a961-fa062b909876@app.fastmail.com
> Signed-off-by: "Arnd Bergmann" <arnd@arndb.de>
> Cc: Eric DeVolder <eric.devolder@oracle.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
> 
>   kernel/Kconfig.kexec |    1 +
>   1 file changed, 1 insertion(+)
> 
> --- a/kernel/Kconfig.kexec~kexec-consolidate-kexec-and-crash-options-into-kernel-kconfigkexec-fix
> +++ a/kernel/Kconfig.kexec
> @@ -91,6 +91,7 @@ config KEXEC_JUMP
>   config CRASH_DUMP
>   	bool "kernel crash dumps"
>   	depends on ARCH_SUPPORTS_CRASH_DUMP
> +	depends on ARCH_SUPPORTS_KEXEC
>   	select CRASH_CORE
>   	select KEXEC
>   	help
> _
> 
> Patches currently in -mm which might be from arnd@arndb.de are
> 
> kexec-consolidate-kexec-and-crash-options-into-kernel-kconfigkexec-fix.patch
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-07 15:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-06 16:41 + kexec-consolidate-kexec-and-crash-options-into-kernel-kconfigkexec-fix.patch added to mm-nonmm-unstable branch Andrew Morton
2023-07-07 15:26 ` Eric DeVolder

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.