Return-Path: Received: from mga09.intel.com ([134.134.136.24]:4754 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755348AbeAHDD2 (ORCPT ); Sun, 7 Jan 2018 22:03:28 -0500 Subject: Re: [kaiser-discuss] KPTI backport to 3.16 To: Ben Hutchings , stable References: <1515368108.13978.37.camel@decadent.org.uk> From: Dave Hansen Message-ID: Date: Sun, 7 Jan 2018 19:03:25 -0800 MIME-Version: 1.0 In-Reply-To: <1515368108.13978.37.camel@decadent.org.uk> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: On 01/07/2018 03:35 PM, Ben Hutchings wrote: > I sent this out for review on the stable list after quite minimal > testing, but have done more since then. On bare metal (Sandy Bridge, > with pcid but not invpcid) it crashes at boot. In fact it > reboots without any panic message, suggesting a triple fault, as soon > as I apply the patch that turns on CR4.PCIDE, i.e. without KPTI itself. My first guess would be something around this stuff: > commit c7ad5ad297e644601747d6dbee978bf85e14f7bc > Author: Andy Lutomirski > Date: Sun Sep 10 17:48:27 2017 -0700 > > x86/mm/64: Initialize CR4.PCIDE early But, if you also want to toss a set of binaries up somewhere that I can test I can give them a quick run in the simulator or with a hardware debugger attached. It's been very useful in getting these things debugged, especially when normal debugging techniques fail.