From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mga05.intel.com ([192.55.52.43]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fDev4-00082R-7V for speck@linutronix.de; Wed, 02 May 2018 01:42:50 +0200 Date: Tue, 1 May 2018 16:42:47 -0700 From: Andi Kleen Subject: [MODERATED] Updated L1TF native OS patch Message-ID: <20180501234247.GA41910@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: [no threaded cover letter because I haven't figured out how to do that with the speck tools] Here's a v2 of the L1TF native OS patch kit. I reworked it based on Linus suggestions. Instead of explicit masks it now uses inversion for swap entries and the PFN part of PROT_NONE entries. The swap entry patch is Linus' with only minor comment changes and some testing. It drops supports for mitigation high MMIO. After some discussion we decided that is too unlikely to happen, and with inversion it is somewhat painful. -Andi