mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
Revert "linux (Generic): fix x86/boot regression in 5.3-rc5"
This reverts commit 7a69c020a4ae05e5f69c7cd3c607f7c7231fea71.
This commit is contained in:
parent
3b8c5d1b2d
commit
c8fe9f60c7
@ -1,46 +0,0 @@
|
||||
From 5df5efe16f1e8a1db98bd6a6e447bc02d5b799e1 Mon Sep 17 00:00:00 2001
|
||||
From: John Hubbard <jhubbard@nvidia.com>
|
||||
Date: Wed, 21 Aug 2019 12:25:13 -0700
|
||||
Subject: [PATCH] x86/boot: Fix boot failure regression
|
||||
|
||||
commit a90118c445cc ("x86/boot: Save fields explicitly, zero out
|
||||
everything else") had two errors:
|
||||
|
||||
* It preserved boot_params.acpi_rsdp_addr, and
|
||||
* It failed to preserve boot_params.hdr
|
||||
|
||||
Therefore, zero out acpi_rsdp_addr, and preserve hdr.
|
||||
|
||||
Fixes: a90118c445cc ("x86/boot: Save fields explicitly, zero out everything else")
|
||||
Reported-by: Neil MacLeod <neil@nmacleod.com>
|
||||
Suggested-by: Thomas Gleixner <tglx@linutronix.de>
|
||||
Cc: H. Peter Anvin <hpa@zytor.com>
|
||||
Cc: stable@vger.kernel.org
|
||||
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
|
||||
---
|
||||
arch/x86/include/asm/bootparam_utils.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/arch/x86/include/asm/bootparam_utils.h b/arch/x86/include/asm/bootparam_utils.h
|
||||
index f5e90a8..9e5f3c7 100644
|
||||
--- a/arch/x86/include/asm/bootparam_utils.h
|
||||
+++ b/arch/x86/include/asm/bootparam_utils.h
|
||||
@@ -59,7 +59,6 @@ static void sanitize_boot_params(struct boot_params *boot_params)
|
||||
BOOT_PARAM_PRESERVE(apm_bios_info),
|
||||
BOOT_PARAM_PRESERVE(tboot_addr),
|
||||
BOOT_PARAM_PRESERVE(ist_info),
|
||||
- BOOT_PARAM_PRESERVE(acpi_rsdp_addr),
|
||||
BOOT_PARAM_PRESERVE(hd0_info),
|
||||
BOOT_PARAM_PRESERVE(hd1_info),
|
||||
BOOT_PARAM_PRESERVE(sys_desc_table),
|
||||
@@ -71,6 +70,7 @@ static void sanitize_boot_params(struct boot_params *boot_params)
|
||||
BOOT_PARAM_PRESERVE(eddbuf_entries),
|
||||
BOOT_PARAM_PRESERVE(edd_mbr_sig_buf_entries),
|
||||
BOOT_PARAM_PRESERVE(edd_mbr_sig_buffer),
|
||||
+ BOOT_PARAM_PRESERVE(hdr),
|
||||
BOOT_PARAM_PRESERVE(e820_table),
|
||||
BOOT_PARAM_PRESERVE(eddbuf),
|
||||
};
|
||||
--
|
||||
2.14.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user