2020-07-01 14:19:00

by Steve Wahl

[permalink] [raw]
Subject: [patch 09/13] 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]>
---
Documentation/admin-guide/kernel-parameters.txt | 4 +---
arch/x86/platform/uv/bios_uv.c | 14 --------------
2 files changed, 1 insertion(+), 17 deletions(-)

--- linux.orig/arch/x86/platform/uv/bios_uv.c 2020-06-18 16:26:33.963087219 -0500
+++ linux/arch/x86/platform/uv/bios_uv.c 2020-06-25 09:53:43.013835162 -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);


2020-07-01 15:25:13

by Ard Biesheuvel

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

On Wed, 1 Jul 2020 at 16:18, <[email protected]> wrote:
>
> 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]>

Noting that the diffstat does not reflect the patch, but this is
explained in the cover letter.

Acked-by: Ard Biesheuvel <[email protected]>

> ---
> Documentation/admin-guide/kernel-parameters.txt | 4 +---
> arch/x86/platform/uv/bios_uv.c | 14 --------------
> 2 files changed, 1 insertion(+), 17 deletions(-)
>
> --- linux.orig/arch/x86/platform/uv/bios_uv.c 2020-06-18 16:26:33.963087219 -0500
> +++ linux/arch/x86/platform/uv/bios_uv.c 2020-06-25 09:53:43.013835162 -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);
>