Return-Path: Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:53392 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754649AbeAGXfU (ORCPT ); Sun, 7 Jan 2018 18:35:20 -0500 Message-ID: <1515368108.13978.37.camel@decadent.org.uk> Subject: KPTI backport to 3.16 From: Ben Hutchings To: stable Date: Sun, 07 Jan 2018 23:35:08 +0000 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-j54ESZQC3+58F9ZfU04z" Mime-Version: 1.0 Sender: stable-owner@vger.kernel.org List-ID: --=-j54ESZQC3+58F9ZfU04z Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I have a backport of KPTI/KAISER to 3.16, based on Hugh Dickins's work for 3.18, some upstream changes between 3.16 and 3.18, and other patches that went into 4.4.75. 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. Using the 'nopcid' kernel parameter gets it to boot but it's somewhat unstable even after that - once I start another kernel build I see programs segfaulting. So I'm guessing I've screwed up some of the TLB stuff. I'm going to continue investigating this myself before making a release, but would really appreciate any time people can spare to review this patch series. (I haven't found any such regression in 3.2.98.) Ben. --=20 Ben Hutchings friends: People who know you well, but like you anyway. --=-j54ESZQC3+58F9ZfU04z Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAlpSrqwACgkQ57/I7JWG EQmwiA/6A/jpy24268UbYyVjjvoKDASX5TbQ+FmCrL+yp7hSCI/l1rkuVTbDi+ME 2jmda8KvyQS+fPXfdp7/6AxEaguB8FYYMdakK2eRkyiIYnzHDHKoQdDe0pO+27Cr Y4p83d/HxJ6NHKlP8wuY3kt1fkharW6pQTIsCheuq5IBEYgP8Y66d+wfIbHhOpO4 528RnvbfCN6bD6AfdFoOFe1c5oVCCqrJrlsR+CZX/6JwHEqL1vgdhWKCj6nokdvy uwTmoCLze21xB/iJ2ReZIEprGYWh8nDtYJJAbQ8Jr3mYXKcnwoaVm15Vdb+SUpE/ b+w1vl7SzPgLgA9R6U2Ng6ypiBMnQVuuKJWdr66dYvfEVu9QVVLkSu7OHiz0qSgf H3Lj40yS2bltMaJDiGP2r8fDjToXI6WZkxzsdf1QXwOdKrh5JudG31K9cfplqCBv 4yKc7IL3FjcEg01us9yRm4KzuZT5zGLOqd6/2jXWHakIjjE/JqRFuh8l/CUu6hQs tiZUZEsiiC5KNHH2aAu0oBt04nSlK6ps3ajbZinZiwtlX+E8HdfdPBepcwctiBTk k95pHBCEjqhWirb7GzChlgaWVYGRrq38uQR5CjJ7s3ldwONcnPn5t9E0LK8to/gL s0ep+b54gznpSJ9Jk5sUSS2uPcYRjxmK1PfDxcTikWcuAH/tsdE= =aRFg -----END PGP SIGNATURE----- --=-j54ESZQC3+58F9ZfU04z--