Return-path: Received: from mx2.suse.de ([195.135.220.15]) by Galois.linutronix.de with esmtps (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1fDqeQ-0001gh-7C for speck@linutronix.de; Wed, 02 May 2018 14:14:28 +0200 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id A0953AD2E for ; Wed, 2 May 2018 12:14:20 +0000 (UTC) Date: Wed, 2 May 2018 14:14:20 +0200 From: Michal Hocko Subject: [MODERATED] Re: Updated L1TF native OS patch Message-ID: <20180502121420.GB31258@dhcp22.suse.cz> References: <20180501234247.GA41910@tassilo.jf.intel.com> <20180502000512.GO75137@tassilo.jf.intel.com> <20180502012112.GQ75137@tassilo.jf.intel.com> MIME-Version: 1.0 In-Reply-To: <20180502012112.GQ75137@tassilo.jf.intel.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Tue 01-05-18 18:21:12, speck for Andi Kleen wrote: > On Tue, May 01, 2018 at 05:05:12PM -0700, speck for Andi Kleen wrote: > > On Tue, May 01, 2018 at 04:59:53PM -0700, speck for Linus Torvalds wrote: > > > > > > > > > On Tue, 1 May 2018, speck for Andi Kleen wrote: > > > > > > > > Here's a v2 of the L1TF native OS patch kit. > > > > > > Hmm. I got 1/6 three times, but not any of the others.. > > > > Sorry I had some troubles with the gpg scripting. I sent > > them manually now. Hopefully this works. > > Also attaching the unencrypted mbox for easier applying etc. I didn't get the series so I am replying here. You can add Acked-by: Michal Hocko for the first patch "x86, l1tf: Protect swap entries against L1TF". I have to confess that I do not understand the thread model for PROT_NONE patch though. The mitigation _has_ to be done on the VM layer otherwise we are screwed. So why should we even bother and make the code even more kludgy? Patch 3 seems reasonable but I do not feel confident enough to give my ack because I simply have no idea whether some obscure HW depends on the zero page. Finaly patch 6 should at least report it truncates the swap file. Other than that, looks good to me and you can add Acked-by: Michal Hocko Thanks! -- Michal Hocko SUSE Labs