Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 10 Aug 2018 22:04:17 -0000 Received: from mga03.intel.com ([134.134.136.65]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1foFW3-0006bP-OP for speck@linutronix.de; Sat, 11 Aug 2018 00:04:16 +0200 Date: Fri, 10 Aug 2018 15:04:10 -0700 From: Andi Kleen Subject: [MODERATED] Re: Change conditional to always? Message-ID: <20180810220410.GK4238@tassilo.jf.intel.com> References: <20180810202831.GF530@char.us.oracle.com> MIME-Version: 1.0 In-Reply-To: <20180810202831.GF530@char.us.oracle.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Fri, Aug 10, 2018 at 04:28:31PM -0400, speck for Konrad Rzeszutek Wilk wrote: > Hi, > > With the combination of spectrev1 to bring various host and guest date > in the L1 and then L1TF slurping is the choice of using conditional > good? > > That is I could see the guest trapping in the emulation code - and > the condional would stay at false - which means we don't do IA32_PRED_CMD > flush and end up providing a nice way for the guest to slurp up data. > > Thoughts? I would wait for exploits for this. Combinations of such fragile exploits tends to be very hard and it may very well not be practical. There are ongoing efforts to reduce the gadgets too. Far too early to change any defaults I think. -Andi