Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 13 Aug 2018 21:24:10 -0000 Received: from mx3-rdu2.redhat.com ([66.187.233.73] helo=mx1.redhat.com) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fpKJr-0006UT-Vy for speck@linutronix.de; Mon, 13 Aug 2018 23:24:08 +0200 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 85D6840241DC for ; Mon, 13 Aug 2018 21:24:01 +0000 (UTC) Received: from treble (ovpn-124-166.rdu2.redhat.com [10.10.124.166]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 603EE2156712 for ; Mon, 13 Aug 2018 21:24:00 +0000 (UTC) Date: Mon, 13 Aug 2018 16:23:59 -0500 From: Josh Poimboeuf Subject: [MODERATED] Re: Cache load gadgets Message-ID: <20180813212359.ertbf2axk64eog5l@treble> References: <1533736415.3615.64.camel@infradead.org> <20180808145316.GX4238@tassilo.jf.intel.com> <20180808153429.quokqzwwvnripsdj@treble> <20180813151727.GA15539@char.us.oracle.com> <20180813172303.5d3umkf3ciqrkz5b@treble> <20180813185922.GE5606@kroah.com> <20180813195404.es23nco6ydyorlyi@treble> <20180813204859.udixjnld4v33n4q4@treble> MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Mon, Aug 13, 2018 at 01:56:49PM -0700, speck for Linus Torvalds wrote: > > > On Mon, 13 Aug 2018, speck for Josh Poimboeuf wrote: > > > > Well, but we're talking about Spectre v1 here. > > No we're not. We're just talking about loading an arbitrary cacheline, > without any actual data leak. There is no spectre there. > > That *will* continue to happen. Exactly because of what I said: those > things are *everywhere*. And it's not a leak on its own. It just fills the > cacheline. > > The data leak is due to non-spectre-v1 bugs, ie "smt + L1TF". > > That's the one people should fix, or just decide "I don't care". > > Trying to avoid filling the L1 cache is a pointless stupid exercize. Don't > do it. Ok, so I think the two discussions got mixed up a bit and I misunderstood your point. The patch which was posted earlier was a Spectre v1 fix, but I believe it was suggested that it has a higher priority because of L1TF. Taking L1TF out of the equation, it sounds like you have no objections to the Spectre v1 fixes. We will continue doing those... -- Josh