[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 11 Nov 2018 08:45:57 -0500
From: Masayoshi Mizuma <msys.mizuma@...il.com>
To: Borislav Petkov <bp@...en8.de>
Cc: "H. Peter Anvin" <hpa@...or.com>, Baoquan He <bhe@...hat.com>,
Ingo Molnar <mingo@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Chao Fan <fanc.fnst@...fujitsu.com>,
linux-kernel@...r.kernel.org, x86@...nel.org,
linux-efi@...r.kernel.org, linux-acpi@...r.kernel.org,
mingo@...hat.com, keescook@...omium.org, rjw@...ysocki.net,
lenb@...nel.org, ard.biesheuvel@...aro.org,
indou.takao@...fujitsu.com, caoj.fnst@...fujitsu.com
Subject: Re: [PATCH v8 0/3] x86/boot/KASLR: Parse ACPI table and limit kaslr
in immovable memory
On Sat, Nov 10, 2018 at 11:54:22AM +0100, Borislav Petkov wrote:
> On Thu, Nov 08, 2018 at 11:51:29AM +0100, Borislav Petkov wrote:
> > A global definition which doesn't need allocation?
> >
> > Maybe hpa would have another, better idea...
>
> ...and he has: just put that address in a new field in struct
> boot_params by converting one of the padding arrays there.
>
> Don't forget to document it in Documentation/x86/zero-page.txt
>
> This way you don't need any of the allocation fun or to use setup_data
> at all.
Thanks!
I have the prototype patch to use boot_params [1].
I will try to brush up it.
[1] https://lore.kernel.org/lkml/20181016151353.punyk7exekut2543@gabell
Thanks,
Masa
Powered by blists - more mailing lists