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 ; 15 Jun 2018 21:50:08 -0000 Received: from mga12.intel.com ([192.55.52.136]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fTwbf-00071D-3m for speck@linutronix.de; Fri, 15 Jun 2018 23:50:07 +0200 Date: Fri, 15 Jun 2018 14:50:04 -0700 From: Andi Kleen Subject: [MODERATED] Re: L1TFv8 Message-ID: <20180615215004.GL30690@tassilo.jf.intel.com> References: <20180613224850.464286110D@crypto-ml.lab.linutronix.de> <20180615194823.bjo72okfkohrxnf2@treble> MIME-Version: 1.0 In-Reply-To: <20180615194823.bjo72okfkohrxnf2@treble> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Fri, Jun 15, 2018 at 02:48:23PM -0500, 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. > > Has anyone tested these patches on a multi-node system with NUMA > balancing enabled? We've see some panics on RHEL because _PAGE_NUMA == > _PAGE_PROTNONE. Not sure if this problem also exists upstream. > > Andrea is looking into it (and I think he'll be joining this list > shortly). I did some testing and autonuma seems to work. Shouldn't really anything special about numa hinting ptes. They get inverted of course, but the access macros all handle it. -Andi