[PATCH] x86/boot: Build the command line parsing code unconditionally (was: Re: [PATCH v16 0/7] Parse ACPI table and limit KASLR to choosing immovable memory)

2019-01-30 Thread Borislav Petkov
On Wed, Jan 30, 2019 at 01:58:47PM +0800, Chao Fan wrote: > I clone your branch and test some cases. Except the build issue of > cmdline_find_option(), PATCHSET works well. > Build in x86_64 and i386. > Tested EFI/BIOS environment in x86_64 and BIOS environment in i386. > Tested the 'acpi_rsdp='

Re: [PATCH v16 0/7] Parse ACPI table and limit KASLR to choosing immovable memory

2019-01-29 Thread Chao Fan
On Mon, Jan 28, 2019 at 06:51:32PM +0100, Borislav Petkov wrote: >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

Re: [PATCH v16 0/7] Parse ACPI table and limit KASLR to choosing immovable memory

2019-01-28 Thread Borislav Petkov
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

[PATCH v16 0/7] Parse ACPI table and limit KASLR to choosing immovable memory

2019-01-23 Thread Chao Fan
***Background: People reported that KASLR may randomly choose some positions which are located in movable memory regions. This will make the movable memory chosen by KASLR can't be removed. ***Solutions: Get the information of memory hot-remove, then KASLR knows the right regions. Information