From: Jiri Kosina <jikos@kernel.org>
To: Pavel Tatashin <pasha.tatashin@oracle.com>
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
Date: Fri, 12 Jan 2018 11:04:57 +0100 (CET) [thread overview]
Message-ID: <nycvar.YFH.7.76.1801121058490.11852@cbobk.fhfr.pm> (raw)
In-Reply-To: <20180111190746.15426-1-pasha.tatashin@oracle.com>
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
next prev parent reply other threads:[~2018-01-12 10:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-11 19:07 [4.4] broken conversion from efi to kernel page table Pavel Tatashin
2018-01-11 19:07 ` [4.4] x86/pti/efi: " Pavel Tatashin
2018-01-12 10:04 ` Jiri Kosina [this message]
2018-01-12 13:52 ` [4.4] " Pavel Tatashin
2018-01-13 13:18 ` Greg KH
2018-01-13 13:35 ` Pavel Tatashin
2018-01-13 13:53 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=nycvar.YFH.7.76.1801121058490.11852@cbobk.fhfr.pm \
--to=jikos@kernel.org \
--cc=dave.hansen@linux.intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=hpa@zytor.com \
--cc=hughd@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@kernel.org \
--cc=mingo@redhat.com \
--cc=pasha.tatashin@oracle.com \
--cc=steven.sistare@oracle.com \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).