Received: by 10.223.185.116 with SMTP id b49csp23365wrg; Tue, 13 Feb 2018 15:48:57 -0800 (PST) X-Google-Smtp-Source: AH8x227CoVxdwTJbmKF3zry+SxhP+Et0FKSvV9SKFWMVy1YiStxQihVjsTqXT3o/n/xa+7QKmulP X-Received: by 10.98.7.79 with SMTP id b76mr2800688pfd.39.1518565737192; Tue, 13 Feb 2018 15:48:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518565737; cv=none; d=google.com; s=arc-20160816; b=RfbbdN8Wmzl748NrjPAulOv2TjTr39WDE68NpDEoSJCoWBmI2Ja2Zb5q3a7oHN+GyK QnpWX5jx7Pr/1oA9c17dmGH0zSv9DvhIJtjLExhXnxdK/nlkN/MLerXALkj6mC6Efmlc hevyo+RGulVXh9PKN/kYYHeEjg626j20MNgyqv2ffiSoWvaULh32NZUKNbc4f1yTkitl uLFX+GjVqjFe02X3Sj633cROiGVU6XXSqgZe8h0aAI40/XSdKQjDFTS6Gjo5Y988Tfv7 qmIS+19WNDySuMdRQP7qcrcyzQhE3S7z+oposcWblwdp0+Xo6EqIkTfPrqeEzR3DVyyG zAfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=pMR65YC0uHDarB8D9G7i/vxqX9fHd5EFBD5v84VHsaA=; b=dCC6EjDTK/IbNr/lTJijBE2q9FEia7FwII9X36KU+SMLQbseSFReiHU+YL1ke1EAFe i7uCyy3x5yDVd1k7XTlQ+0hD6IvWUFo2bPLrcxsV9hylqfl+O5+paRU7T8xbIvSmqnMW UwAPlRq+Jzhk4sXDGy17nfpSveEMR3P3XQaTqRXhLrfYfbJPMgsI2RjnJ+qJPsUBGcoz 6LqG2451nP6qSINaQD0vIeZCYngSxOnE71ZEVweNmH5CzJXqh71/7zAwvXNOUWtRHitO XfuYqsyR69JpI8zD67Y9KSC1Ay8iH37V1zoFHX+xKCFOOUt6RkOsb9Qa9qhVZj4h3p0N KRuw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m7si1793330pgt.207.2018.02.13.15.48.42; Tue, 13 Feb 2018 15:48:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966167AbeBMXrc (ORCPT + 99 others); Tue, 13 Feb 2018 18:47:32 -0500 Received: from www.llwyncelyn.cymru ([82.70.14.225]:33896 "EHLO fuzix.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966064AbeBMXrb (ORCPT ); Tue, 13 Feb 2018 18:47:31 -0500 Received: from alans-desktop (82-70-14-226.dsl.in-addr.zen.co.uk [82.70.14.226]) by fuzix.org (8.15.2/8.15.2) with ESMTP id w1DNjXvh004157; Tue, 13 Feb 2018 23:45:33 GMT Date: Tue, 13 Feb 2018 23:45:33 +0000 From: Alan Cox To: Pavel Machek Cc: tedheadster , whiteheadm@acm.org, David Laight , Arnd Bergmann , Ondrej Zary , David Woodhouse , Guenter Roeck , Greg Kroah-Hartman , Hugh Dickins , Dave Hansen , Jiri Kosina , Borislav Petkov , Kees Cook , Jamie Iles , Eduardo Valentin , Laura Abbott , Rik van Riel , Thomas Gleixner , Linux Kernel Mailing List Subject: Re: [BUG] x86 : i486 reporting to be vulnerable to Meltdown/Spectre_V1/Spectre_V2 Message-ID: <20180213234533.368ce82b@alans-desktop> In-Reply-To: <20180213210448.GB6569@amd> References: <1517950494.3677.30.camel@infradead.org> <201802070918.18978.linux@rainbow-software.org> <20180208134908.4b516794@alans-desktop> <63ca28c5acb64de5ba33a81b6da5c507@AcuMS.aculab.com> <20180208205240.0c53631f@alans-desktop> <20180213210448.GB6569@amd> Organization: Intel Corporation X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 13 Feb 2018 22:04:48 +0100 Pavel Machek wrote: > On Thu 2018-02-08 20:52:40, Alan Cox wrote: > > > > Also worth nothing that the difference between the cpu and memory > > > > speeds is much lower - so far fewer instructions could be speculatively > > > > executed while waiting a cache miss. > > > > But they also have more instructions that take a lot of clocks and are > > easier to stall - eg by doing things like opening and mmapping > > a framebuffer and then doing a floating point double store to it > > misaligned. > > > > Meltdown we can at least reasonably test but spectre is hard. > > Do you have pointer for simple meltdown test? It's CPU dependent but for the older processors you probably want one of the small ones as you've got much less cache and speculation to play with. And then you also need the test data to be in L1 D cache Alan