From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 20 Jun 2018 16:04:20 -0000 Received: from userp2130.oracle.com ([156.151.31.86]) by Galois.linutronix.de with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fVfak-00088t-77 for speck@linutronix.de; Wed, 20 Jun 2018 18:04:19 +0200 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5KG3b9J171725 for ; Wed, 20 Jun 2018 16:04:11 GMT Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2130.oracle.com with ESMTP id 2jmt01n7xk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 20 Jun 2018 16:04:11 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w5KG4AMV026538 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 20 Jun 2018 16:04:10 GMT Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w5KG4ALq024960 for ; Wed, 20 Jun 2018 16:04:10 GMT Date: Wed, 20 Jun 2018 12:04:09 -0400 From: Konrad Rzeszutek Wilk Subject: [MODERATED] Re: L1TFv8 Message-ID: <20180620160409.GA13051@char.US.ORACLE.com> References: <20180613224850.464286110D@crypto-ml.lab.linutronix.de> <20180615194823.bjo72okfkohrxnf2@treble> <20180619145456.GG13685@dhcp22.suse.cz> MIME-Version: 1.0 In-Reply-To: <20180619145456.GG13685@dhcp22.suse.cz> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Tue, Jun 19, 2018 at 04:54:56PM +0200, speck for Michal Hocko wrote: > On Fri 15-06-18 14:48:23, speck for Josh Poimboeuf wrote: > > On Fri, Jun 15, 2018 at 04:50:38PM +0200, speck for Thomas Gleixner wrote: > > > On Wed, 13 Jun 2018, speck for Andi Kleen wrote: > > > > > > > This is v8 of the native OS patchkit to mitigate the L1TF side channel. > > > > It does not cover KVM. > > > > > > > > This version addresses the latest review feedbacks. The mitigation > > > > setup has been moved into check_bugs, and the memory size checking > > > > patch is now integrated into the standard setup. The swap mitigation > > > > has been split into two patches. Various other changes. > > > > For more details see the individual changelogs. > > > > > > I've picked up the whole set with a few edits and applied it to the master > > > branch of the speck git repository and backported it to the linux-4.17.y, > > > linux-4.16.y and linux-4.14.y branches. > > > > > > Git bundle against Linus tree is attached. Hi Thomas, I see you pushed that in the tree but I think you need to rebase, mainly: commit 43d5c223374710cc41617ca6e33284eb1f646277 (speck/master, l1tf) Author: speck for Andi Kleen <== 'speck for' Date: Wed Jun 13 15:48:28 2018 -0700 x86/speculation/l1tf: Limit swap file size to MAX_PA/2 is on them.