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 20:21:00 -0000 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]) by Galois.linutronix.de with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1fpJKj-0005SF-No for speck@linutronix.de; Mon, 13 Aug 2018 22:20:57 +0200 Received: by mail-pg1-x532.google.com with SMTP id f14-v6so8020152pgv.13 for ; Mon, 13 Aug 2018 13:20:57 -0700 (PDT) Received: from i7.lan (c-73-11-52-149.hsd1.or.comcast.net. [73.11.52.149]) by smtp.gmail.com with ESMTPSA id y128-v6sm17100296pfb.56.2018.08.13.13.20.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Aug 2018 13:20:49 -0700 (PDT) Sender: Linus Torvalds Date: Mon, 13 Aug 2018 13:20:48 -0700 (PDT) From: Linus Torvalds Subject: [MODERATED] Re: Cache load gadgets In-Reply-To: <20180813195404.es23nco6ydyorlyi@treble> Message-ID: 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> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Mon, 13 Aug 2018, speck for Josh Poimboeuf wrote: > > > > I do search for these and not many are making it into the tree. > > Certainly not 300... > > It will take time. Jeremy has been out the last few weeks and I've been > preoccupied with L1TF. > > And BTW, it will be a lot more than 300... I do not believe I want to see these idiotic cache gadgets annotated or "fixed" in the kernel. Definitely not by hand, and I doubt it's even fixable in a compiler. Just give it up. At some point, there is nothing we can do. It's trivial to find code that loads something off a random pointer and populates a cacheline. It's not a "gadget", it's just a fact of life. Linus