Received: by 10.223.176.5 with SMTP id f5csp2425033wra; Thu, 8 Feb 2018 13:59:14 -0800 (PST) X-Google-Smtp-Source: AH8x225X3r8L7s87iyB2Q7z6P0T7TlbqEgpQQVNNHfDNW/29/5U7X7cb1X8wG1MIwtKdurvAMWKU X-Received: by 10.98.171.12 with SMTP id p12mr465412pff.71.1518127154192; Thu, 08 Feb 2018 13:59:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518127154; cv=none; d=google.com; s=arc-20160816; b=oUQqWdA7hw5QnF7ikZGX6trrSCtMTimdHND/RGa5CE5jCTdN85Y46q9RcoArhzA1Zb L6/wwT9Se3rI8jec5V+gLDJgH/mxzwbo5+RAjkybCZxNQPv6E9Z7qXPVvD8wdHF7dGI2 C5+Ut0v9+sjgOv5Gd5EcLE4wF2oUxZ0I0a+eWkRWrrkT+XxzHV91UKvvIWklQzR7Hr0J oeRvs4ySgu2rJ/AYuMS1GOiPaD825zLfMEbOfSiH9iDE1PLE2maaZALxhL904fhRCwH7 ed7Vi4yAj89k1oxRWKuD8DZ4wvRq3B8FAIgdiuNDDDWuuqXOruLXrnH23HS4rEvfKB5E 0rOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=agqr2PdpATpoq0eDxInIrZwVtyTqWOT4Lj9wrUd3wx8=; b=kJ0SY8m/ock1lSuPa77UQqI1UXosMdDjbYI341H9pRAI0Nrc653765bgrIOjkQdRWC 9nP4G3N2IZpgpEECBr0xvPEJpTFnrMECs+KwMeBafdtaLrbbSiH09POt9FfZKyaVy1zc Y1oI3IyvOhzWTG/EJkNC6Sv+XkNV9HjwyrGEdO5NXPLck+wmVR391lDk/ixpwieRjfSH 9zQefjMA+sGpaDEQBYVrLx3NoHJu8RniHsKFquGf8DYNq+TUPqMESU399sqjVOcyvfEU bLCEIAqtTeiFXOe34Kb3+z7wcF4W9aVp4uBrGEyTZzV5QjPrF5/AR/cnQecRhEANNE7Q YNmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=eFTx0QP/; 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 b31-v6si552480plb.24.2018.02.08.13.58.59; Thu, 08 Feb 2018 13:59:14 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=eFTx0QP/; 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 S1752537AbeBHV5k (ORCPT + 99 others); Thu, 8 Feb 2018 16:57:40 -0500 Received: from mail-ot0-f193.google.com ([74.125.82.193]:32792 "EHLO mail-ot0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752046AbeBHV5h (ORCPT ); Thu, 8 Feb 2018 16:57:37 -0500 Received: by mail-ot0-f193.google.com with SMTP id q9so5814267oti.0 for ; Thu, 08 Feb 2018 13:57:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=agqr2PdpATpoq0eDxInIrZwVtyTqWOT4Lj9wrUd3wx8=; b=eFTx0QP/CSOXz8bmTwrOGuOGtW2yzUr49W9WCIWSBTOeSl0ynQouHBMVyjBZb1jUwn O8zzwgV8ay90GccrAqddceYZbwc833Xsx/bhXak1/UC9lfX2knTkH5PbsAuTgAMMAGBA y7bJj0Ecz2UyN6QIO3nk2E8n5fGcGhoxZOf4aRDqJALBl+datVfXwoPMPzDv/tGKWRLe i9c4sYjAb7iC0uhX3OAv554v9dEmayzF15gVxpMyrWQyBVQYEHn+Hy0OUtnlHbsHJT5V 7KhKDUjWnaDbCLEH0C86oUGLtDY+WHhslVDCZ31+TFpGooHM5guNhpDPcEFlkaOkJmiv 4yng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=agqr2PdpATpoq0eDxInIrZwVtyTqWOT4Lj9wrUd3wx8=; b=OD1kJWMSno2WfUCWDQs1PnMvTX+e4Pvb5rymXYBr8uFAx0d5adQ4GVag/1zBCGcFDp 1r8ygKyI1J9QQe88koADA4G9htO6zlMPIHKggeEg4sdJJOlxzmway4UPAAapMZiUDi/s GXmHnkSftBn1R4UQF1vQ6O5WyUsHelz/g5gkCnwaa8bPRiV1Fpzq5mUvzHDxcOBHbtdr LjwG9gc3HcI9T8WoA6fe3DgR9JPIXHKVIPjgrDZriXCyxQaiRT3S4tBt4ohTrwd+MM8O ZwwwqIZ1uuTE8uFWA9ayRiAjSOBjTuQzPjNpVAiKa/IIs+DRS2L2fG0gBYRLp/wjblZ6 vUvA== X-Gm-Message-State: APf1xPDW4KU6pwu/vpq9hX4Dcvxqpb49/IvvpGWBMN1Ve4/LTZmFILq8 mo5faHk8Oe8KJaE/ReFKdSwQpHIwFevbtZ2t/Rw= X-Received: by 10.157.24.103 with SMTP id t36mr540588ott.281.1518127056932; Thu, 08 Feb 2018 13:57:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.168.66.10 with HTTP; Thu, 8 Feb 2018 13:57:36 -0800 (PST) In-Reply-To: <20180208211636.28d82edd@alans-desktop> References: <1517950494.3677.30.camel@infradead.org> <201802070918.18978.linux@rainbow-software.org> <20180208134908.4b516794@alans-desktop> <20180208211636.28d82edd@alans-desktop> From: Arnd Bergmann Date: Thu, 8 Feb 2018 22:57:36 +0100 X-Google-Sender-Auth: FRjoQ5OA10tvxy9tkXQ1t8L3vwI Message-ID: Subject: Re: [BUG] x86 : i486 reporting to be vulnerable to Meltdown/Spectre_V1/Spectre_V2 To: Alan Cox Cc: Ondrej Zary , whiteheadm@acm.org, 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 8, 2018 at 10:16 PM, Alan Cox wrote: > On Thu, 8 Feb 2018 16:22:40 +0100 > Arnd Bergmann wrote: > >> On Thu, Feb 8, 2018 at 2:49 PM, Alan Cox wrote: >> >> What about Pentium II and 3? I'm using 5 such machines (and also a Pentium >> >> MMX). I've tried a spectre test before and it wasn't reading anything useful. >> >> Don't know about meltdown. Is there a complete test program? (The web is so >> >> full of crap that even google can't find anything useful.) >> > >> > For x86 speculation came in (as far as I can tell) in >> > >> > AMD Am5x86 >> > Cyrix 5x86, but branch predictors are disabled by default according to >> > the docs >> > Cyrix 6x86, branch prediction on by default >> > Pentium Pro >> > >> > There are later processors that don't have speculation: Quark series, Nat >> > Semi/Cyrix Geode, earliest AMD geode (I think), some Intel Atom >> > processors. >> >> Wasn't Am5x86 just a 486 clone? AFAICT, speculation only came with the >> K6 (Am6x86 aka NexGen Nx6x86) > > The AMD 486 was a 486, just like UMC. The Am5x86 was a sort of super 486. > But you are correct I'm muddling that with the K5 - which does speculate > or at least some of them do. The K5 branch predictor is software > controllable via the HWCR MSR but who has one today to test or cares 8) Right, I completely forgot about the K5. >> All the Geode are apparently derived from Cyrix 5x86 (I always thought > > Not quite all. The older ones are Cyrix 5x86 related which indeed means > they don't have branch prediction on by default until the LX. Just to > confuse the AMD Geode NX is basically an Athlon mobile. This one I knew, I was just not using precise enough language. Arnd