Re: + kexec-consolidate-kexec-and-crash-options-into-kernel-kconfigkexec-fix.patch added to mm-nonmm-unstable branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx>
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@xxxxxxxxxxxxxxxx
Signed-off-by: "Arnd Bergmann" <arnd@xxxxxxxx>
Cc: Eric DeVolder <eric.devolder@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

  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@xxxxxxxx are

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




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux