Return-Path: Received: from mga05.intel.com ([192.55.52.43]:34339 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934187AbeAHPxb (ORCPT ); Mon, 8 Jan 2018 10:53:31 -0500 Subject: Re: [kaiser-discuss] KPTI backport to 3.16 To: Yves-Alexis Perez , Ben Hutchings , stable , Juerg Haefliger References: <1515368108.13978.37.camel@decadent.org.uk> <1515381945.13978.43.camel@decadent.org.uk> <1515402343.3305.50.camel@debian.org> <1515424778.13978.45.camel@decadent.org.uk> <1515425321.3305.57.camel@debian.org> From: Dave Hansen Message-ID: <1c4b8681-5f2a-1a9f-e835-699aa911bec2@intel.com> Date: Mon, 8 Jan 2018 07:53:29 -0800 MIME-Version: 1.0 In-Reply-To: <1515425321.3305.57.camel@debian.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: On 01/08/2018 07:28 AM, Yves-Alexis Perez wrote: > On Mon, 2018-01-08 at 15:19 +0000, Ben Hutchings wrote: >>> I tried this on a ThinkPad X230 (Ivy Bridge CPU, i7 3520M, so pcid but not >>> invpcid) on full UEFI mode and it doesn't boot at all. grub-efi loads the >>> kernel and initrd, but I don't have any message after “Loading initial >>> ramdisk” (even with debug earlyprintk=vga). >> If you boot with EFI you need to use earlyprintk=efi. > Thanks! With that, I can see the last few log lines before it hangs: > > Kernel/User page tables isolation: enabled > […] > bootconsole [earlyefi0] disabled Does "earlyprintk=efi,keep" help get more out to the console? > Also I must have done something wrong earlier today, because when booting with > 'nopcid' it does work (which is consistent with other people tests, afaict). If I had to guess, I'd say we're probably putting a PCID value into the low bits of CR3 before we've _enabled_ PCID support in the CPU.