Received: by 10.223.176.5 with SMTP id f5csp2168412wra; Thu, 8 Feb 2018 09:28:41 -0800 (PST) X-Google-Smtp-Source: AH8x226sYJahTo+G3WfRhmuYl/PtExCCbUP6puMjvlWbDwEdrkw5bRy84whRiIDD9xZFqrvUngqc X-Received: by 10.99.109.203 with SMTP id i194mr433360pgc.419.1518110921608; Thu, 08 Feb 2018 09:28:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518110921; cv=none; d=google.com; s=arc-20160816; b=HOE5FWRWzGtSxnQFnKXTisjxNa5IA4lTFKU3a0wlyB6jdHwLRTFr0vxBVJFYb9FOG6 01dLdoFk/0YWiv2K/vmjSE6ymG01Qs8ZkWNRH/WVhWO6GkhZHSAqcUhRRdtJhT/khok/ tGZ16e6VkK6DW11+HPmsiioX0wz85U9DGNGXc1JvEvWy5u01E1t0pfZQMDIs7fUf2xEm HdCRLpJLH5RcfsafJd0E8GBuv5ZVjZQWej+SLVdfrp38xB40ZrQpm4tcYiDMngj/GaVT 7smM0oAsQcp4ajQnlys1pXqdrjoNzQPx8We42a4iH213dFkSouTiyntZ11D5YJOANCRQ IuCw== 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=h9usFd8uAZhYATC2LY7Iod8nNIjdk+4e9e8MStHL/BlMv+bLLEz7XUL3wFgE1MPR+p dMjBxEUvB9excW9DczPZzyQvth3zXQXGUJuhALAoB5RROyismZgLtGDjhZsmG/v/r49O /YkUgYsoOv3hceiClfH4LuwVqayEwC468tP1OU8HpO+OWTLfhbf56mXxLXiYWtqQZ8Q2 x1B7NhE2EwEsidfieNbhaALYq/nOH8DgjR/ZGNYTU9nHELHK8M9r6PLqohebCeAzmJcx EzotIiJ5hK9EDspDVSS1D6xxkgmC2rD2s4dS7MzusS3f59VF8epHHjBd0gVcTiZwHhsn CuWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sSYC56jh; 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 e188si260784pfc.75.2018.02.08.09.28.25; Thu, 08 Feb 2018 09:28:41 -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=sSYC56jh; 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 S1752449AbeBHR1c (ORCPT + 99 others); Thu, 8 Feb 2018 12:27:32 -0500 Received: from mail-it0-f66.google.com ([209.85.214.66]:33207 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752293AbeBHR13 (ORCPT ); Thu, 8 Feb 2018 12:27:29 -0500 Received: by mail-it0-f66.google.com with SMTP id u12so263477ite.0 for ; Thu, 08 Feb 2018 09:27:29 -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=sSYC56jhEIl37ipe+ku5uRvp9l+ltST5I9PoTPv1oLOwtrhm1HEyNOymS7krBrXQyc OCGezGVMoixvVOq238cNxvsWtAfCQ+OA9VoMLlQEaTWquCkCX9UYXbj8klyqMZRWdlnc 4X6JUdpFWTyNf0nRcXCwOnj1rDt5Ff/PHlBeu3qs4lG//nYsRqzO3AxwLZWtxoCcFB8X sU5esra/n/w74z+CB80IP8NbJEUTu5qjfb4rinlHSHeVSiRPvIC4elVnDHiXLDUVVKmL bqdtYomo0JkTJlXkV1vStL4c6FVXP2g7g/47dPQOcrylq629LqnogmW9/8hLUqTugvfT aAkQ== 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=RDRPsXJIUHFy6rbTIBz4cSYjwsdYKn7fGapC+r9UnEahuRxFRyBQUMTBVO+jjQqvQ6 uPk0yNg7wccNKDcptlNaCJtbvyLEqGxnwUtdlS3T4r4i97v0saBPf1HhIWjVNIbmqVHK ofKPDepyh1CGfi8G6UZ8YWRiwp5oEcGlGE4954v0FaEPVIMhZZEJEJxeWohuMoNrnxpx WZMDRGKzQX4D6WIMZvyXrZcJj8T2l3OV+fRBywg1vgDMIQLNm9AVbO+R6ZRLGb/01bcv 5lxKZNNsps/faPrSZY8hHVJ9PV/5sZdTuE2T33zjh2GIvhfdNl8Fbe74NADUXKT3q6R5 ECDA== X-Gm-Message-State: APf1xPAuE3S7EVZaA8t23fstOd0+avKSOHkle4JOiH2ZRNmw7cO52mUa Rj2JcwbSlYaVChGPn5iXoQtgxKFw7m71nafadA== X-Received: by 10.36.17.143 with SMTP id 137mr75258itf.2.1518110848979; Thu, 08 Feb 2018 09:27:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.153.2 with HTTP; Thu, 8 Feb 2018 09:27:08 -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:27:08 -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