Received: by 10.223.185.116 with SMTP id b49csp8439110wrg; Fri, 2 Mar 2018 01:38:07 -0800 (PST) X-Google-Smtp-Source: AG47ELvbd7NX8h5+rddllPOyfOSsX+E4y98N5X0KcwePhzrNcPl8GobWZ7m2nEE9uk0Ga3q8VqdC X-Received: by 10.98.192.74 with SMTP id x71mr5012851pff.21.1519983487713; Fri, 02 Mar 2018 01:38:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519983487; cv=none; d=google.com; s=arc-20160816; b=G84CVOZqg5iQQGAK5uUaeeLils9Pkgc9bctleApnhmfOzJPD7DxgrmO/RItYvRXpNf PLqKY3I31tgT9dwApHUKQW798OeuaLPfny3GAWhivXCNk/ejZEk9JpVptVcxLKB+Cvw6 wDnOsHqLM2ZipOj4/Pui3hwm9DJ0sTQS5EWMVrUoM2y+rN6Vh2M/5uWlwM6j9naIE1p3 2NEKCKvvGnzPHZTES8H8B36l4RZYrofjnllyPFDfn1mPp84NUAnhybKBE6mDucg2D/+2 SdhvC0PkiAjSxwRtO+Cd4YNravlctyIi8QAhRGHLxG32CI/5oKyBoXYoJnCSTlkND9lm JV2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=I8ByxBMYlrqEAOs5uTto7JJaSh+AuRjQD/L0ohkFig4=; b=if+7u8iOWcyXk8QXahek29w5ZiGulfoWFGOqD01mkvT/VPfo34LmLL52u2lV2k4c0w 0DpK75DvP3GYKbbTsorRXQoG9Sp2TXiE+tnaTDj6ddFG2NVKc+6HNykbo0jkVQG5bjm4 U/sZRwEzgibbyJFbPNMQ+q4z22hgkSjUArA9/Bk9daOdLCCEN9wkbKER1M0G77m+C8iu fTG6KKjxT6kW8EQ5JsZUNLR3PukelqvuhFukFOwu1XMmKOTA7FpJqG/ayKHfLh87NGmP EtzUhSblV0USCoWyN32VOn2QutiapUb8erpjXSSO+ldrYUWnG9shUxBvRGhLpMtRP1Fe rv2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h9Cb00r+; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 91-v6si4583823ple.541.2018.03.02.01.37.53; Fri, 02 Mar 2018 01:38:07 -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=@linaro.org header.s=google header.b=h9Cb00r+; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1424914AbeCBJCv (ORCPT + 99 others); Fri, 2 Mar 2018 04:02:51 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:34957 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1424900AbeCBJCp (ORCPT ); Fri, 2 Mar 2018 04:02:45 -0500 Received: by mail-pg0-f66.google.com with SMTP id l131so3531064pga.2 for ; Fri, 02 Mar 2018 01:02:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=I8ByxBMYlrqEAOs5uTto7JJaSh+AuRjQD/L0ohkFig4=; b=h9Cb00r+GKMUgjDb7PAQ35tEsrp2SlZpcefD2dXwkzkpsWBsEkU4rOnnXjeVl0MCsx QRb5O3jlpuQmFDKiLH07L9aoZghrWmCAZHQ1ReNj+pIDxuiDmdyIvoYbOCWLDAV9VMgz RO6j4SNwjeqGVjHANiHA2XNJh3hOjYmZhLWtk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=I8ByxBMYlrqEAOs5uTto7JJaSh+AuRjQD/L0ohkFig4=; b=ayHe6uL+WNXSSGs8u7VU8y7HmMPr/+K+DQm+gdZdHYaa0qaM4Yk+i+xJd1f6tNXhCn ff1rKCvuXW+xvYT7SWhGUWAylqL3krLp1kRk7k9eMaujkeT1/yI7zVaQD9Bph/7jm+qE CiIeFEmgfVPS4aKtXsERM0b2C7rKibZRUpQQJkPXLaWyhk2Wxb1byXNrIRPAHcUx2qn3 Q3V1eXzqfZIsw8mbLWGUvcxelgJAVxOhAkC3OdquTQJ0yLDJshQzTQv0Kao7j3gjNXoI sHIW/N1WzpHHQf58KtO0jACHyVjCnVJRV+i2lMEx+QXQqtDx29ehLgqRRxdmZcJuuDeH HYnQ== X-Gm-Message-State: APf1xPBleyeHCwehNhWvXauL9bEJyHW8ijt9U5IKWbrz4TMyRkADMf2R AMiZSSpEb8Ayj/YAKlIpbdOzTgY4uTY= X-Received: by 10.99.151.26 with SMTP id n26mr4024158pge.370.1519981364976; Fri, 02 Mar 2018 01:02:44 -0800 (PST) Received: from [192.168.1.225] (176.122.172.82.16clouds.com. [176.122.172.82]) by smtp.gmail.com with ESMTPSA id a67sm9641413pgc.6.2018.03.02.01.02.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Mar 2018 01:02:44 -0800 (PST) Subject: Re: [PATCH 00/45] arm Spectre fix backport review for LTS 4.9 To: Greg KH Cc: Marc Zyngier , Will Deacon , Ard Biesheuvel , Catalin Marinas , stable@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <1519908862-11425-1-git-send-email-alex.shi@linaro.org> <20180301164630.GB23321@kroah.com> From: Alex Shi Message-ID: Date: Fri, 2 Mar 2018 17:02:32 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180301164630.GB23321@kroah.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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... Regards Alex