2020-07-09 14:57:37

by Steve Wahl

[permalink] [raw]
Subject: [patch v2 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]>
---
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);


2020-07-09 16:03:07

by Andy Lutomirski

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

On Thu, Jul 9, 2020 at 7:55 AM <[email protected]> wrote:
>
> As a part of UV1 platform removal, delete the efi=old_map option,
> which should no longer be needed.

Can you also update kernel_parameters.txt?

--Andy

2020-07-09 18:13:24

by Steve Wahl

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

On Thu, Jul 09, 2020 at 09:02:01AM -0700, Andy Lutomirski wrote:
> On Thu, Jul 9, 2020 at 7:55 AM <[email protected]> wrote:
> >
> > As a part of UV1 platform removal, delete the efi=old_map option,
> > which should no longer be needed.
>
> Can you also update kernel_parameters.txt?
>
> --Andy

I plan to, but (I mentioned in the intro email) kernel-parameters.txt
has pending changes in linux-next that conflict. (The efi= option
values were alphabetized.) So my plan is to issue a separate patch
if/when this gets accepted. If you'd like me to take a different
aproach, let me know.

--> Steve