Messages in this thread | | | Date | Thu, 21 Dec 2017 18:13:05 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCH v1 3/3] x86/mm: Encrypt the initrd earlier for BSP microcode update |
| |
On Thu, Dec 21, 2017 at 10:48:29AM -0600, Tom Lendacky wrote: > This is very early in the boot and the boot parameters have not been > copied to boot_params yet, so I need the pointer. And since the routines > in arch/x86/kernel/setup.c also use boot_params, those would have to be > modified to accept a pointer rather than automatically using boot_params. > I'm not sure it's worth all that.
I fear that this computation of the ramdisk address and size keeps duplicating around the tree. And you could pass in struct boot_params * to those functions but ok, it is simple enough, so whatever. We can always clean it up later if it grows unwieldy...
-- Regards/Gruss, Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.
| |