2020-07-13 21:32:21

by Steve Wahl

[permalink] [raw]
Subject: [patch v3 09/13] x86: Remove efi=old_map command line option

As a part of UV1 platform removal, delete the efi=old_map option,
which should no longer be needed.

Signed-off-by: Steve Wahl <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
---
arch/x86/platform/uv/bios_uv.c | 14 --------------
1 file changed, 14 deletions(-)

--- linux.orig/arch/x86/platform/uv/bios_uv.c 2020-07-07 10:49:50.117510557 -0500
+++ linux/arch/x86/platform/uv/bios_uv.c 2020-07-07 10:56:15.025045961 -0500
@@ -356,17 +356,3 @@ void __iomem *__init efi_ioremap(unsigne

return (void __iomem *)__va(phys_addr);
}
-
-static int __init arch_parse_efi_cmdline(char *str)
-{
- if (!str) {
- pr_warn("need at least one option\n");
- return -EINVAL;
- }
-
- if (!efi_is_mixed() && parse_option_str(str, "old_map"))
- set_bit(EFI_UV1_MEMMAP, &efi.flags);
-
- return 0;
-}
-early_param("efi", arch_parse_efi_cmdline);


Subject: [tip: x86/platform] x86/platform/uv: Remove efi=old_map command line option

The following commit has been merged into the x86/platform branch of tip:

Commit-ID: 3dad716240f95c3e6114965b8ea95018ef1b04c9
Gitweb: https://git.kernel.org/tip/3dad716240f95c3e6114965b8ea95018ef1b04c9
Author: [email protected] <[email protected]>
AuthorDate: Mon, 13 Jul 2020 16:30:03 -05:00
Committer: Thomas Gleixner <[email protected]>
CommitterDate: Fri, 17 Jul 2020 16:47:46 +02:00

x86/platform/uv: Remove efi=old_map command line option

As a part of UV1 platform removal, delete the efi=old_map option,
which is not longer needed.

Signed-off-by: Steve Wahl <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]

---
arch/x86/platform/uv/bios_uv.c | 14 --------------
1 file changed, 14 deletions(-)

diff --git a/arch/x86/platform/uv/bios_uv.c b/arch/x86/platform/uv/bios_uv.c
index 4494589..cd2a6e2 100644
--- a/arch/x86/platform/uv/bios_uv.c
+++ b/arch/x86/platform/uv/bios_uv.c
@@ -356,17 +356,3 @@ void __iomem *__init efi_ioremap(unsigned long phys_addr, unsigned long size,

return (void __iomem *)__va(phys_addr);
}
-
-static int __init arch_parse_efi_cmdline(char *str)
-{
- if (!str) {
- pr_warn("need at least one option\n");
- return -EINVAL;
- }
-
- if (!efi_is_mixed() && parse_option_str(str, "old_map"))
- set_bit(EFI_UV1_MEMMAP, &efi.flags);
-
- return 0;
-}
-early_param("efi", arch_parse_efi_cmdline);