Re: [PATCH v7 1/3] x86/boot: Add acpitb.c to parse acpi tables

2018-09-24 Thread Chao Fan
On Sat, Sep 22, 2018 at 08:45:12AM -0700, Kees Cook wrote: >On Thu, Sep 13, 2018 at 3:46 AM, Chao Fan wrote: >> There is a bug that kaslr may randomly chooses some positions >> which are located in movable memory regions. This will break memory >> hotplug feature and make the movable memory chosen

Re: [PATCH v7 3/3] x86/boot/KASLR: Limit kaslr to choosing the immovable memory

2018-09-24 Thread Chao Fan
On Sat, Sep 22, 2018 at 08:48:53AM -0700, Kees Cook wrote: >On Thu, Sep 13, 2018 at 3:46 AM, Chao Fan wrote: >> +#ifdef CONFIG_MEMORY_HOTREMOVE >> + /* >> +* If immovable memory found, filter the intersection between >> +* immovable memory and region to slots_count. >> +

[PATCH 4.9 079/111] efi/esrt: Only call efi_mem_reserve() for boot services memory

2018-09-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel [ Upstream commit 61f0d55569463a1af897117ff47d202b0ccb2e24 ] The following commit: 7e1550b8f208 ("efi: Drop type and attribute checks in efi_mem_desc_lookup()") refactored th

[PATCH 4.18 167/235] efi/esrt: Only call efi_mem_reserve() for boot services memory

2018-09-24 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel [ Upstream commit 61f0d55569463a1af897117ff47d202b0ccb2e24 ] The following commit: 7e1550b8f208 ("efi: Drop type and attribute checks in efi_mem_desc_lookup()") refactored t

[PATCH 4.14 122/173] efi/esrt: Only call efi_mem_reserve() for boot services memory

2018-09-24 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel [ Upstream commit 61f0d55569463a1af897117ff47d202b0ccb2e24 ] The following commit: 7e1550b8f208 ("efi: Drop type and attribute checks in efi_mem_desc_lookup()") refactored t

Re: [PATCH v3 3/6] ima: refactor ima_init_policy()

2018-09-24 Thread Nayna Jain
On 09/21/2018 02:04 PM, Dan Carpenter wrote: Hi Nayna, Thank you for the patch! Perhaps something to improve: url: https://github.com/0day-ci/linux/commits/Nayna-Jain/Add-support-for-architecture-specific-IMA-policies/20180920-035110 smatch warnings: security/integrity/ima/ima_policy.c: