lkml.org 
[lkml]   [2018]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [4.4] broken conversion from efi to kernel page table
On Thu, 11 Jan 2018, Pavel Tatashin wrote:

> This fixes boot panics, hangs which I reported in this thread:

Are you using EFI old_memmap?

If so, then

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=x86/pti&id=de53c3786a3ce162a1c815d0c04c766c23ec9c0a

("x86/pti: Unbreak EFI old_memmap") should be the cure.

If not, you might be missing this in in arch/x86/platform/efi/efi_64.c

- efi_pgd = (pgd_t *)__get_free_page(gfp_mask);
+ efi_pgd = (pgd_t *)__get_free_pages(gfp_mask, PGD_ALLOCATION_ORDER);

Could you please let me know if either of this fixes your problem?

Thanks,

--
Jiri Kosina
SUSE Labs

\
 
 \ /
  Last update: 2018-01-14 23:25    [W:0.078 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site