Skip to contentSkip to conversation

x86-kexec-fix-the-wrong-ifdeffery-config_kexec.patch removed from -mm tree

merged mm-hotfixes-stable Andrew Morton 1 participant 1 message Dec 13, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: x86, kexec: fix the wrong ifdeffery CONFIG_KEXEC
has been removed from the -mm tree. Its filename was
x86-kexec-fix-the-wrong-ifdeffery-config_kexec.patch

This patch was dropped because it was merged into the mm-hotfixes-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Baoquan He <[email protected]>
Subject: x86, kexec: fix the wrong ifdeffery CONFIG_KEXEC
Date: Fri, 8 Dec 2023 15:30:36 +0800

With the current ifdeffery CONFIG_KEXEC, get_cmdline_acpi_rsdp() is only available when kexec_load interface is taken, while kexec_file_load interface can't make use of it.

Now change it to CONFIG_KEXEC_CORE.

---

 arch/x86/boot/compressed/acpi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/boot/compressed/acpi.c renamed from arch/x86/boot/compressed/acpi.c~x86-kexec-fix-the-wrong-ifdeffery-config_kexec +1 -1
@@ -178,7 +178,7 @@ static unsigned long get_cmdline_acpi_rs
 {
 	unsigned long addr = 0;
 
-#ifdef CONFIG_KEXEC
+#ifdef CONFIG_KEXEC_CORE
 	char val[MAX_ADDR_LEN] = { };
 	int ret;
 

_

Patches currently in -mm which might be from [email protected] are

kexec_file-add-kexec_file-flag-to-control-debug-printing.patch kexec_file-print-out-debugging-message-if-required.patch kexec_file-x86-print-out-debugging-message-if-required.patch kexec_file-arm64-print-out-debugging-message-if-required.patch kexec_file-ricv-print-out-debugging-message-if-required.patch kexec_file-power-print-out-debugging-message-if-required.patch kexec_file-parisc-print-out-debugging-message-if-required.patch riscv-kexec-fix-the-ifdeffery-for-aflags_kexec_relocateo.patch