Received: by 10.223.176.5 with SMTP id f5csp2191975wra; Thu, 8 Feb 2018 09:51:59 -0800 (PST) X-Google-Smtp-Source: AH8x227vFv/4tfY1GN2gXFgTvN5QPF2QjYSTHk+HydIpqhPcGtZwyoDGHAkwSvlk2Loz/59UNkqr X-Received: by 10.99.109.70 with SMTP id i67mr1158719pgc.109.1518112319293; Thu, 08 Feb 2018 09:51:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518112319; cv=none; d=google.com; s=arc-20160816; b=StErcwkRM9JcA75xXiPOFBbzdReeJZzqSUm7QYqt8Xzn9+j4nba8icL2CTqH+9/m/p 7OBSMAu4lroLhT9gPGi2+q4kZnW/MvpfAWUR5QdF11LlDpAvu7um0ce95Osv9Ky4/h/L 1MDhbEa/zEl3M/eJ/S0KLznskJDg0tWWBXfWFAF9Gb7nhl0zom2p/e/WR5pcDtCnbcKU lNAeS5wW0URiZev0wSwUUOvuXjHy7sgG6f/cw8WIlWptVxpDai1pJW+08qpBTmtoqMdq 0vtZHw2PPIvGBoxuBlMOAUEv2CziRtAwkVPQdWEBbJkRN1kQpykUZshgIGb68F45ozvs /sZA== 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:reply-to:mime-version:dkim-signature :arc-authentication-results; bh=7qLhHLq7GgsQneXki9z7kk9Fc8dBcC0O7aN4Mba34Qc=; b=JKrHicBXcXrf+wXHb12MO8nFMlyE0pTjUid4au9kt0Il5wZkoaZi2r2lFhEY2bhEaG 6cRawOCTiByjOxav5g+ZTrKWtkLK8M/9HtlK3KSpGEUR9rOkRlsXqJ5cBFmcINWpqY2r Yr+OY4rhh2WFR+Ec0odWCW7zrRUFBvXKlhsPMcTjjHKK3G04PBh4S8vWluOubo569icx 8Ayz3KCqr6P/DL43F4gW1Ia+pQR2rsCNCRFQ4hmDNG7hGuxLYlyDxRq8OMZmN4WLdfB8 esVn6TvkV909kkBt3gv9hApdOkfv+926ptZS3HZE/9s6GtIrYySIBx0RhcIU51srkXaU xIjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ee+CzHey; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w3si229796pgs.103.2018.02.08.09.51.42; Thu, 08 Feb 2018 09:51:59 -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=pass header.i=@gmail.com header.s=20161025 header.b=ee+CzHey; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752205AbeBHRut (ORCPT + 99 others); Thu, 8 Feb 2018 12:50:49 -0500 Received: from mail-it0-f67.google.com ([209.85.214.67]:54912 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750847AbeBHRus (ORCPT ); Thu, 8 Feb 2018 12:50:48 -0500 Received: by mail-it0-f67.google.com with SMTP id k131so7561812ith.4 for ; Thu, 08 Feb 2018 09:50:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc; bh=7qLhHLq7GgsQneXki9z7kk9Fc8dBcC0O7aN4Mba34Qc=; b=ee+CzHey3FXzcLI3u4GpwtjVz2gMOcxEptFieD29Gwin+RXICKcFjH62vb5mDkjWfe uG1SsJTJ/diGClW3viZi9t8YULhNag51Wwjz7NFfBrHJluBivdUQcsRpwnGmRJG0DPbW JjDLc2HYdLd71zk4bUj6uzPcDeXGIwBHQrYiTcUbXu7lCK2PO/NzYRQ/Yo4uOeAqie0u 53fym4mDCd9BDs6TyoYYipqPjU39ySLJzxFVPagdTnVgkFDKKq7ShhuxWPI4dtUO6uNP V5oKtNEv9jVi936gzuztsP9IwRKk38cQEZvKgMRsMdMoC6dyAGNXD6/bGw0sG0AqBTQL AZfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=7qLhHLq7GgsQneXki9z7kk9Fc8dBcC0O7aN4Mba34Qc=; b=DEDPlXdsomEpN0Wwu1ZRsPslUcWLTs2c63Gj96zlyJ5QL1njYongNoW0I5QYU4OtVv s3a4XQeAA4RcKN/cMFxBnu5gac0qQxPFEn4RZDfUJncSc3XE6tusV+l72bZhC9ioAK1t GPWMyO9+XDHwHYRE6GV8fDanOzAIpMD20b2RTHj2AygfqHIPEFqfXd1YuFxlDKTvUBwV hNyUAGxJmvHTxnPdIegGxFFT8fDSfhQADVAGxEYc5smDdNDqFkWYlqOR0nW86Ahc7TZY OB6RrroQYmPf3vQRLY78BXlb4sB8Wflgn79JlO1B5obnVR2wx1m1OurcGa6ZDqTYlhV9 ddJw== X-Gm-Message-State: APf1xPBlG3b8fOFCT6zcN4+oYFHy0Ok57vO76Ew8ZLUI66OArGoi/g09 77ha0PG0yjkEQS4XIveyo9/Ll/d4AdlPojhEjw== X-Received: by 10.36.158.198 with SMTP id p189mr3546itd.128.1518112247461; Thu, 08 Feb 2018 09:50:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.153.2 with HTTP; Thu, 8 Feb 2018 09:50:26 -0800 (PST) Reply-To: whiteheadm@acm.org In-Reply-To: <63ca28c5acb64de5ba33a81b6da5c507@AcuMS.aculab.com> References: <1517950494.3677.30.camel@infradead.org> <201802070918.18978.linux@rainbow-software.org> <20180208134908.4b516794@alans-desktop> <63ca28c5acb64de5ba33a81b6da5c507@AcuMS.aculab.com> From: tedheadster Date: Thu, 8 Feb 2018 12:50:26 -0500 Message-ID: Subject: Re: [BUG] x86 : i486 reporting to be vulnerable to Meltdown/Spectre_V1/Spectre_V2 To: David Laight Cc: Arnd Bergmann , Alan Cox , 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 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 12:02 PM, David Laight wrote: > From: Arnd Bergmann >> Sent: 08 February 2018 15:23 > ... >> The Winchip is what eventually turned into the VIA Nano, which does >> have speculative execution, but I don't think the earlier C3 and C7 did, >> they are much closer to the original Winchip design. > > We had terrible trouble getting (IIRC) the C7 to execute functions > that were called in 16bit mode and returned in 32bit mode and v.v. > (for boot code bios calls). > The problems seemed to imply that it was caching return addresses > and the translation (to uops) of the instructions that followed. > So it would effectively decode the first few bytes in the wrong mode. > So there might be scope for one of these attacks. > > OTOH these devices were so slow that I doubt any are used for anything > serious - and certainly won't get a kernel update even if they are. > > 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. > > Tempting to disable everything. > > David You might think this absolutely crazy, but I would be willing to test such systems if I can get my hands on the needed hardware that I lack. I am already doing sanity testing on Intel i486/i586/i586-MMX/i686-PentiumPro systems, I just don't have the clone cpus (Cyrix, etc). While few people are using the 32bit kernel, I don't think we want to kill it completely just yet. - Matthew