Skip to contentSkip to conversation

x86: zimage: Remove acpi_rsdp_addr propagation to kernel boot parameters

PATCH New Bin Meng 3 participants 4 messages Aug 24, 2018 – Aug 30, 2018 x86

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/1 x86: zimage: Remove acpi_rsdp_addr propagation to kernel boot parameters

As of today, the proposal of adding "acpi_rsdp_addr" to the kernel boot protocol does not make its way to the kernel mainline. This creates some confusion if we leave it in the U-Boot code base. Remove it for now until we have a clear picture with kernel upstream.

Note this eventually does a partial revert to commit 3469bf427454 ("x86: zImage: Propagate acpi_rsdp_addr to kernel via boot parameters")

---

 arch/x86/include/asm/bootparam.h | 1 -
 arch/x86/lib/zimage.c            | 5 -----
 2 files changed, 6 deletions(-)
arch/x86/include/asm/bootparam.h +0 -1
index 0386cbe..dfbd4b4 100644
@@ -69,7 +69,6 @@ struct setup_header {
 	__u64	pref_address;
 	__u32	init_size;
 	__u32	handover_offset;
-	__u64   acpi_rsdp_addr;
 } __attribute__((packed));
 
 struct sys_desc_table {
arch/x86/lib/zimage.c +0 -5
index 0442fda..230b38e 100644
@@ -287,11 +287,6 @@ int setup_zimage(struct boot_params *setup_base, char *cmd_line, int auto_boot,
 		hdr->hardware_subarch = X86_SUBARCH_INTEL_MID;
 #endif
 
-#ifdef CONFIG_GENERATE_ACPI_TABLE
-	if (bootproto >= 0x020e)
-		hdr->acpi_rsdp_addr = acpi_get_rsdp_addr();
-#endif
-
 	setup_device_tree(hdr, (const void *)env_get_hex("fdtaddr", 0));
 	setup_video(&setup_base->screen_info);
 
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 x86: zimage: Remove acpi_rsdp_addr propagation to kernel boot parameters

Quoted 9 lines · Bin Meng

As of today, the proposal of adding "acpi_rsdp_addr" to the kernel boot protocol does not make its way to the kernel mainline. This creates some confusion if we leave it in the U-Boot code base. Remove it for now until we have a clear picture with kernel upstream.

Note this eventually does a partial revert to commit 3469bf427454 ("x86: zImage: Propagate acpi_rsdp_addr to kernel via boot parameters")

Quoted 37 lines

---

 arch/x86/include/asm/bootparam.h | 1 -
 arch/x86/lib/zimage.c            | 5 -----
 2 files changed, 6 deletions(-)
arch/x86/include/asm/bootparam.h +0 -1
index 0386cbe..dfbd4b4 100644
@@ -69,7 +69,6 @@ struct setup_header {
 	__u64	pref_address;
 	__u32	init_size;
 	__u32	handover_offset;
-	__u64   acpi_rsdp_addr;
 } __attribute__((packed));
 
 struct sys_desc_table {
arch/x86/lib/zimage.c +0 -5
index 0442fda..230b38e 100644
@@ -287,11 +287,6 @@ int setup_zimage(struct boot_params *setup_base,
 char *cmd_line, int auto_boot,
 		hdr->hardware_subarch = X86_SUBARCH_INTEL_MID;
 #endif
 
-#ifdef CONFIG_GENERATE_ACPI_TABLE
-	if (bootproto >= 0x020e)
-		hdr->acpi_rsdp_addr = acpi_get_rsdp_addr();
-#endif
-
 	setup_device_tree(hdr, (const void *)env_get_hex("fdtaddr", 0));
 	setup_video(&setup_base->screen_info);
Signature · 2 lines
Andy Shevchenko <[email protected]>
Intel Finland Oy
#2 lore raw

PATCH 1/1 x86: zimage: Remove acpi_rsdp_addr propagation to kernel boot parameters

Quoted 6 lines · Andy Shevchenko
Quoted 5 lines · Bin Meng

As of today, the proposal of adding "acpi_rsdp_addr" to the kernel boot protocol does not make its way to the kernel mainline. This creates some confusion if we leave it in the U-Boot code base. Remove it for now until we have a clear picture with kernel upstream.

Quoted 14 lines
Quoted 4 lines

Note this eventually does a partial revert to commit 3469bf427454 ("x86: zImage: Propagate acpi_rsdp_addr to kernel via boot parameters")

Quoted 7 lines

---

 arch/x86/include/asm/bootparam.h | 1 -
 arch/x86/lib/zimage.c            | 5 -----
 2 files changed, 6 deletions(-)
author
#3 lore raw

PATCH 1/1 x86: zimage: Remove acpi_rsdp_addr propagation to kernel boot parameters

Quoted 19 lines · Simon Glass
Quoted 16 lines · Andy Shevchenko
Quoted 9 lines · Bin Meng

As of today, the proposal of adding "acpi_rsdp_addr" to the kernel boot protocol does not make its way to the kernel mainline. This creates some confusion if we leave it in the U-Boot code base. Remove it for now until we have a clear picture with kernel upstream.

Note this eventually does a partial revert to commit 3469bf427454 ("x86: zImage: Propagate acpi_rsdp_addr to kernel via boot parameters")

Quoted 3 lines

---

Quoted 6 lines
Quoted 4 lines
Quoted 4 lines
 arch/x86/include/asm/bootparam.h | 1 -
 arch/x86/lib/zimage.c            | 5 -----
 2 files changed, 6 deletions(-)

applied to u-boot-x86, thanks!