Received: by 10.223.176.5 with SMTP id f5csp1106088wra; Tue, 6 Feb 2018 12:47:05 -0800 (PST) X-Google-Smtp-Source: AH8x227Z0MT/5J9FpFcBsR3tjkl9rA9paGcm2ML9IRsmhTiTCtLB3HeEpgi9WPRxtMcDSMwMOW43 X-Received: by 2002:a17:902:6ac7:: with SMTP id i7-v6mr3518431plt.368.1517950025206; Tue, 06 Feb 2018 12:47:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517950025; cv=none; d=google.com; s=arc-20160816; b=ASYGCCey8lWoFcPi88hG3c+4ZtHHmdbnG1fXH8qnlQC0enBa128KdGVCIVYHe8NiWJ ARIJuBuZg/jUTrsSkwxBM/5tdIMDeT/18WhlSejm+GQMumlHnPQQX51FxkSYuZssOd6Y uXBMMaobBH56gzWfAtry1LTYzGmllvBDjEVIEJWAN7J5XfY7nwSHJtjlb/EhoLetmsTz idjXhpGLrWN6W2/yHs0F4wipP4I6BqBnDFQhAf4YKmoquzN4CxLGl1KbJRnp2KN/rXCe qPRRTGhG0xMzhaTALlI+XdXr1suXHmWShTclAf3QBxv1MuQvVZBHkQaDSfk9jcLzIeLG 69zQ== 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=emg1mfnO7LKR1IRVUUlTQ/gh5d1rwxrZstUJoLfsqlY=; b=SPf7TolB90cd3TSLAKr1TFhOFaddhZAD+Sdn92BoWV4n6DpCH3BzmkbsxCeh3jeI8/ 3A2KxLahWAyh3RT/+d8Mm0AEcHbW3yF9dAYeO5OeeNytMWqZfF2v+LcYynQUIgA6HPJ5 ++bNMeVGguWhXnPsFrc7plNUZzA3EfQieqT69InVrKddJ/Ko+RfAc7EBZ36/sTWYa8sR NKS9ksDNKV4OT03pPbXbE6unBTCBPQC8pLh1sW/3crFrZ8l3YhiL+PG1i4c7gHSaDi1y DNZasnJLbh6IX/v0w0l1+yVeXLWZY55prQYuIYuk++94RCdKbAXj6tlkXZdyYx3ddzu0 aOxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UawN1Nbj; 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=NONE 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 68si2073737pff.141.2018.02.06.12.46.50; Tue, 06 Feb 2018 12:47:05 -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=UawN1Nbj; 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=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753502AbeBFUp6 (ORCPT + 99 others); Tue, 6 Feb 2018 15:45:58 -0500 Received: from mail-it0-f68.google.com ([209.85.214.68]:39421 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752720AbeBFUp5 (ORCPT ); Tue, 6 Feb 2018 15:45:57 -0500 Received: by mail-it0-f68.google.com with SMTP id c80so4007283itb.4 for ; Tue, 06 Feb 2018 12:45:56 -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=emg1mfnO7LKR1IRVUUlTQ/gh5d1rwxrZstUJoLfsqlY=; b=UawN1NbjstfhwZgKupMX2mlZ1UkhAGJ3ZvNIIlcmxXsnZ/RgZqr5/BZogdrrn6aTjs ykFDmnqn8806YXoHEmbWdv3RYxe5kCiIO9yvK+38VGQWFpl40SewXrNG+JsAzFUeAlmO kaIZu9zHJqZy8fc+CWC8NR9GhpaziOzMoQDRK19JoDxS6FkwpzBRirpcMKHzsnyXgMab qSFI0H0JpKIOjdOUSe+08HtrEmdKu2hfMmQavELQNpdx0T4Ktlq5C0tbXYLzEEse4m3p c2+BkD7cp+e6ftXZfo/iPJF3oziP47HpkgTqCT3A3ftzXiO+8c/cidu1gk7UGeKxxXKh Np4A== 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=emg1mfnO7LKR1IRVUUlTQ/gh5d1rwxrZstUJoLfsqlY=; b=L+2HiS1CNjHFve2UAPGZYEasG0Vi6gXwBTNpJi9hV/wTAX+uuT5Y3xugo6dO5pWaWL Ga5PlG9Jtlq/mtxnD+JLOltcTJ/avI+67TAYBGDe5oSlw5Sr6FIEd5fWe8jlVfNaI/gL Rfs59TVluJ9UOu5bfyYuP2f7Qaw6DJo7zlEuu4PjCAb4upO/kMPQP3nyggYdX4Si99B8 vM+CvaS1ZPWKjFxlG7MLptgA5ih0nUTrwAtAairJ0ss71nk03iFkFQA0+LCsB8JcuGBJ YkS/+tkkhM3DfKNtr53ThaA09oKA7xmhoZq4PBOfGZSTYJM4PEYiW9yf7zTq9UNyIvPM M3RQ== X-Gm-Message-State: APf1xPA8cCavtah/KOdMeMnL//J7gqdxNXqk5iBWpqUVXWjwapZHJCK+ 4j/rXBnkNVlV6HlsOHtu/C+1iALUM+xGejdnhQ== X-Received: by 10.36.158.198 with SMTP id p189mr4941266itd.128.1517949956216; Tue, 06 Feb 2018 12:45:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.153.2 with HTTP; Tue, 6 Feb 2018 12:45:35 -0800 (PST) Reply-To: whiteheadm@acm.org In-Reply-To: References: <1517643438.31953.108.camel@infradead.org> <20180206190233.GA10476@kroah.com> <1517944227.3677.15.camel@infradead.org> <20180206191355.GA7424@roeck-us.net> <1517944648.3677.18.camel@infradead.org> From: tedheadster Date: Tue, 6 Feb 2018 15:45:35 -0500 Message-ID: Subject: Re: [BUG] x86 : i486 reporting to be vulnerable to Meltdown/Spectre_V1/Spectre_V2 To: David Woodhouse , Guenter Roeck Cc: Greg Kroah-Hartman , Hugh Dickins , dave.hansen@linux.intel.com, jikos@kernel.org, Borislav Petkov , Kees Cook , Jamie Iles , eduval@amazon.com, labbott@redhat.com, Rik van Riel , Thomas Gleixner , linux-kernel@vger.kernel.org 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 Tue, Feb 6, 2018 at 2:24 PM, tedheadster wrote: > On Tue, Feb 6, 2018 at 2:17 PM, David Woodhouse wrote: >> On Tue, 2018-02-06 at 11:13 -0800, Guenter Roeck wrote: >>> On Tue, Feb 06, 2018 at 07:10:27PM +0000, David Woodhouse wrote: >>> > >>> > >>> > >>> > On Tue, 2018-02-06 at 11:02 -0800, Greg Kroah-Hartman wrote: >>> > > >>> > > . >>> > > > >>> > > > >>> > > > David >>> > > > I believe I got the patch(es) you mention in in the stable 4.15.1 kernel: >>> > > > >>> > > > Pull x86/pti updates from Thomas Gleixner: "Another set of melted >>> > > > spectrum related changes" >>> > > > (commit 6304672b7f0a5c010002e63a075160856dc4f88d). >>> > > > >>> > > > Unfortunately, the symptoms I reported remain on at least the i486 and i686. >>> > > Can you try 4.15.2-rc1? Or how about Linus's kernel tree now? There >>> > > was a lot of spectrum patches merged just this week that were not in >>> > > 4.15.1. >>> > No, for the 486 it *should* have worked. The interesting commit >>> > is fec9434a12 ("x86/pti: Do not enable PTI on CPUs which are not >>> > vulnerable to Meltdown") which is indeed pulled in with the merge >>> > commit that Matthew mentions. >>> > >>> I disagree. >>> >>> $ git describe >>> v4.15.1-61-g7ab5513e4cbc >>> $ git log --oneline v4.15.1.. | grep Melt >>> 3472b3689bab x86/pti: Do not enable PTI on CPUs which are not vulnerable to Meltdown >> >> Ah right, for 4.15.1 perhaps yes. I was looking at Matthew's 'commit >> 6304672b7f0a5c010002e63a075160856dc4f88d' which isn't in 4.15.1 at all; >> that's the commit in Linus' tree where he pulled in the fix. So *that* >> one should have had it. > Okay, I did a 'git pull' from Linus' tree and rebuilt. I _believe_ I have the correct patches from this information: localhost /usr/src/linux # git log | grep "Do not enable PTI on CPUs which are not vulnerable to Meltdown" Fixes: fec9434a12f3 ("x86/pti: Do not enable PTI on CPUs which are not vulnerable to Meltdown") x86/pti: Do not enable PTI on CPUs which are not vulnerable to Meltdown x86/pti: Do not enable PTI on CPUs which are not vulnerable to Meltdown localhost /usr/src/linux # git log | grep -A8 6304672b7f0a5c010002e63a075160856dc4f88d commit 6304672b7f0a5c010002e63a075160856dc4f88d Merge: 942633523cde 64e16720ea08 Author: Linus Torvalds Date: Mon Jan 29 19:08:02 2018 -0800 Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip Pull x86/pti updates from Thomas Gleixner: "Another set of melted spectrum related changes: If that is correct (and I might be wrong), then I am up to date and I am still getting the following in /proc/cpuinfo on my Pentium 4M i686: bugs : cpu_meltdown spectre_v1 spectre_v2 - Matthew