Received: by 10.223.185.116 with SMTP id b49csp8481726wrg; Fri, 2 Mar 2018 02:33:52 -0800 (PST) X-Google-Smtp-Source: AG47ELuRiJPwgJ92rxzcrzqjfWto7S/NO9+0NdT+vMGMNM2cmXg8jI0MId95LnbEm/PBUI/fnC3E X-Received: by 10.99.95.201 with SMTP id t192mr4254048pgb.313.1519986832067; Fri, 02 Mar 2018 02:33:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519986832; cv=none; d=google.com; s=arc-20160816; b=uWmfkJl7wQ693fJ6+LFSRNvfdYspWw69poZKUhXDp9jYX2jat0YDkr+jJKflKN2k+x zH4bIVnbm7qyUdcttbcu+MjFRIM9cf2VAFbqA70/p0g2PpTAjbRCvCl3jDVvQqEnjsTL calV8EmOQEWG1giALRX1a3WC1x9oV0uT5t4ELgrHJWhItUoP9Tp+9Yu+pwDbh7NesOMG p2l3fdlCyQwQo/ze5CrKblujYVpUBjevyHcP2gXq85xkc742QCB4wpeQqdgpUAWXMe0A ua5NYq0uIad0+7ttoP8JpFQF+HFnMItoe2xpDunWs8GBblhScEE0kuaelNU9lUxC7eyg HAWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:organization:user-agent :references:in-reply-to:subject:cc:to:from:message-id:date :arc-authentication-results; bh=rtBXQokYiqcCHixnjkpWMUOei+Fz2bPoVpbHczOcFsw=; b=dTOQmcvA6ZhOI9XFZ8md5ZoIEqT8CawC6wYQ9W0F9SuSq7wdtkUnZVHCU7vgOPzOGN 83T599W83FLMaAyqI/+GG5httXcjhNgZEMEnFeTvxVIqXNVqr4VkrW7Hl6lFo7l29md/ JDFKlkBaybGbxOi99O3Vsi34XNbRBn9m6dDvrXgOj4WGJHbRumVUB2IpA4MqSAC5OBF3 F0ebKWF7hM7nGslHGUUCYwHM++mSwJF3oNms79zBeJXBN6j2tXGTfZtiuCq7U3IGEFvn 8Y4HG+7EWjvQkYylKQrR04u6GUW6wwsC1+aoDcRzuGfdHdxZEDDzcvdP7ZMbOlwJbd3Q KpwQ== 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 k12si3855564pgn.502.2018.03.02.02.33.37; Fri, 02 Mar 2018 02:33:52 -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 S1946161AbeCBKaQ (ORCPT + 99 others); Fri, 2 Mar 2018 05:30:16 -0500 Received: from foss.arm.com ([217.140.101.70]:52654 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946112AbeCBKaJ (ORCPT ); Fri, 2 Mar 2018 05:30:09 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2D10D1435; Fri, 2 Mar 2018 02:30:09 -0800 (PST) Received: from big-swifty.misterjones.org (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1279D3F318; Fri, 2 Mar 2018 02:30:04 -0800 (PST) Date: Fri, 02 Mar 2018 10:29:56 +0000 Message-ID: <86r2p23h3v.wl-marc.zyngier@arm.com> From: Marc Zyngier To: Alex Shi Cc: Greg KH , Will Deacon , Ard Biesheuvel , Catalin Marinas , stable@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 00/45] arm Spectre fix backport review for LTS 4.9 In-Reply-To: References: <1519908862-11425-1-git-send-email-alex.shi@linaro.org> <20180301164630.GB23321@kroah.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) Organization: ARM Ltd MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 02 Mar 2018 09:02:32 +0000, Alex Shi wrote: > > > > On 03/02/2018 12:46 AM, Greg KH wrote: > > On Thu, Mar 01, 2018 at 08:53:37PM +0800, Alex Shi wrote: > >> Hi All, > >> > >> Resent without non-upstream patches. > >> > >> This backport patchset fixed the spectre issue, it's original branch: > >> https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/log/?h=kpti > >> A few dependency or fixingpatches are also picked up, if they are necessary > >> and no functional changes. > >> > >> No bug found from kernelci.org and lkft testing. It also could be gotten from: > >> > >> git://git.linaro.org/kernel/linux-linaro-stable.git v4.9-spectre-upstream-only > > > > Also, how did you test, what platforms did you test, and did you test > > that this actually did fix the spectre issue on your platforms? If so, > > what test did you use? > > > > On the kernelci, there are 18 kinds of platoforms with different > configure tested booting, detailed info is here: > https://kernelci.org/boot/all/job/lsk/branch/linux-linaro-lsk-v4.9-test/kernel/lsk-v4.9-17.03-4844-g6f782cff6edb/ > > I also tested the qemu boot on hikey620. and normal boot on Did you try QEMU in conjunction with KVM? Or just in emulation? > hikey620/db410c/junor2. The other testing include the LKFT testing which > is reported by email, same as test for LTS. None of testing show > regressions. > > > As testing the spectre bug fix, that's a good question. I also asked > this question to original patch authors, like Marc. They said they just > figure out these patches could block spectre or meltdown issue. From my > side, I just reproduced the process internal spectre. But all fix on arm > can not resolve the user space internal spectre. It can block from user > to kernel or kernel to user spectre according the code purose. So I > believe these patch could do their job. And arm cpu would drop the > spectre branches if it has 20+ 'nop' instructions... What are you talking about? What's that story about NOPs? There are clear mitigation guidelines for ARM cores, please don't make things up. M. -- Jazz is not dead, it just smell funny.