[lkml]   [2019]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v16 0/7] Parse ACPI table and limit KASLR to choosing immovable memory
On Wed, Jan 23, 2019 at 07:08:43PM +0800, Chao Fan wrote:
> PATCH 1/7 Copy kstrtoull() to boot/string.c to instead of using
> old simple_strtoull()
> PATCH 2/7 Introduce get_acpi_rsdp() to parse RSDP in cmdline from KEXEC
> PATCH 3/6 Introduce efi_get_rsdp_addr() to find RSDP from EFI table when
> booting from EFI.
> PATCH 4/7 Introduce bios_get_rsdp_addr() to search RSDP in memory when
> booting from BIOS
> PATCH 5/7 Parse RSDP and fill in boot_params->acpi_rsdp_addr before
> PATCH 6/7 Compute SRAT from RSDP and walk SRAT to store the immovable
> memory regions and store the immovable memory regions.
> PATCH 7/7 Calculate the intersection between memory regions from e820/efi
> memory table and immovable memory regions. Limit KASLR to
> choosing these regions for randomization.

Ok, I've massaged the whole pile and fixed a couple of things that
sprang at me, see each commit message for details.

Please run it and check whether I haven't broken anything:



Good mailing practices for 400: avoid top-posting and trim the reply.

 \ /
  Last update: 2019-01-28 18:52    [W:0.136 / U:1.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site