[PATCH 4.14 081/101] x86/efi: Free efi_pgd with free_pages()

2018-03-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Waiman Long commit 06ace26f4e6fcf747e890a39193be811777a048a upstream. The efi_pgd is allocated as PGD_ALLOCATION_ORDER pages and therefore must also be freed as PGD_ALLOCATION_ORDER pages with

[PATCH 4.15 086/105] x86/efi: Free efi_pgd with free_pages()

2018-03-27 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Waiman Long commit 06ace26f4e6fcf747e890a39193be811777a048a upstream. The efi_pgd is allocated as PGD_ALLOCATION_ORDER pages and therefore must also be freed as PGD_ALLOCATION_ORDER pages with

Re: [RFC] arm64: extra entries in /proc/iomem for kexec

2018-03-27 Thread James Morse
Hi Akashi, On 27/03/18 11:16, AKASHI Takahiro wrote: > On Tue, Mar 20, 2018 at 01:18:34AM +0530, Bhupesh Sharma wrote: >> On 03/14/2018 01:59 PM, AKASHI Takahiro wrote: >>> Currently, there is a inconsistent view between (A) and the mainline's: >>> see (A-1) and (B-1). If this is really a matter,

FW: [PATCH 1/2] drivers: firmware: efi: change sys_table to sys_table_arg

2018-03-27 Thread Pankaj Bansal
Sorry I sent these patches again to mailing list. I meant to send this series to internal members. Please ignore this patch series and don't respond on this thread. > -Original Message- > From: Pankaj Bansal > Sent: Tuesday, March 27, 2018 4:52 PM > To: linux-de...@linux.freescale.net > C

[PATCH 2/2] drivers: firmware: efi: install new fdt in configuration table

2018-03-27 Thread Pankaj Bansal
Bootloader may need to fixup the device tree before OS can use it. e.g. a UEFI/DXE driver that has initialized a controller can add controller's clock frequency in controller node. This way OS need not to call get/set clock for that controller. Therefore, install fdt used by OS in configuration ta

[PATCH 1/2] drivers: firmware: efi: change sys_table to sys_table_arg

2018-03-27 Thread Pankaj Bansal
efi_call_early(f, ...) macro expands to sys_table_arg->boottime->f(__VA_ARGS__). Therefore, change sys_table to sys_table_arg so that efi_call_early macro can be used. Cc: Ard Biesheuvel Cc: linux-efi@vger.kernel.org Signed-off-by: Pankaj Bansal --- drivers/firmware/efi/libstub/fdt.c | 28 +

Re: [PATCH 0/9] KEYS: Blacklisting & UEFI database load

2018-03-27 Thread joeyli
Hi Mimi, On Mon, Mar 19, 2018 at 10:12:03AM -0400, Mimi Zohar wrote: > On Sun, 2018-03-11 at 11:20 +0800, joeyli wrote: > > On Wed, Mar 07, 2018 at 07:28:37AM -0800, James Bottomley wrote: > > > On Wed, 2018-03-07 at 08:18 -0500, Mimi Zohar wrote: > > > > On Tue, 2018-03-06 at 15:05 +0100, Jiri Sl

Re: [RFC] arm64: extra entries in /proc/iomem for kexec

2018-03-27 Thread AKASHI Takahiro
Ard, Bhupesh, Thank you for your comments. On Tue, Mar 20, 2018 at 01:18:34AM +0530, Bhupesh Sharma wrote: > On 03/14/2018 01:59 PM, AKASHI Takahiro wrote: > >In the last couples of months, there were some problems reported [1],[2] > >around arm64 kexec/kdump. Where those phenomenon look differen