From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754707AbeALKFD (ORCPT + 1 other); Fri, 12 Jan 2018 05:05:03 -0500 Received: from mx2.suse.de ([195.135.220.15]:60671 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754515AbeALKFB (ORCPT ); Fri, 12 Jan 2018 05:05:01 -0500 Date: Fri, 12 Jan 2018 11:04:57 +0100 (CET) From: Jiri Kosina To: Pavel Tatashin cc: steven.sistare@oracle.com, linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, gregkh@linuxfoundation.org, hughd@google.com, dave.hansen@linux.intel.com, luto@kernel.org, torvalds@linux-foundation.org Subject: Re: [4.4] broken conversion from efi to kernel page table In-Reply-To: <20180111190746.15426-1-pasha.tatashin@oracle.com> Message-ID: References: <20180111190746.15426-1-pasha.tatashin@oracle.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 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