Received: by 10.223.185.116 with SMTP id b49csp6319333wrg; Thu, 8 Mar 2018 05:37:42 -0800 (PST) X-Google-Smtp-Source: AG47ELtxe9MkAflETYUvpl+JH0z9mkSds0Z/ZwOFlyK2HLsbdUh2h8qk9271jhWUOASAbGSayzv9 X-Received: by 10.101.75.199 with SMTP id p7mr21832360pgr.0.1520516262293; Thu, 08 Mar 2018 05:37:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520516262; cv=none; d=google.com; s=arc-20160816; b=X/cP0tIKy1YC7rQTTw2LNpUxjpZfbLK5SlvRPLlr5R1wPIRcMIBRjLGNOyp4Fdy+/s K7xDKIAVhYxGrdH/sjhne6UArDDYN+ZGqglsm5Ox4TqcYooA3cGQW2C0p8wX4R8uJXVE 2mk9KATMVrZSsTEoI6QqSM/Vjtdl1IiRROykoOw4acdnF6yz/iozy6yehdZxlgJuhuNY WKD1Jxiw45I91WWzsJ6dz1HJwoaZpp149fJ8v5JarcVDG3xAVeWLTEm7JrDyQVSKaUYr rAWvU7xLebYE+/7lmnzNGTdh873s1lQ4RdFQmHF9cjqQDz3S+gUpyHEmraQYZ01sXLQa bgkw== 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:organization:from:references:cc:to:subject :arc-authentication-results; bh=WK+aYc04UbLM7EOYdKBzUGcAupHe1OIKC2mBmmRnwlM=; b=wO3qoCHLtPy3nXJqnwXI/A+U+Ynt6uhsomV1tdYbQOEdq2EEbfXHsn77QzuRstw4tT IJ3AggbpV//UcRuKj7wY13MLqrmoUPyDCcq78l233kQWZGXfD12k5ia27Kx2xQ+EmPYI 0ibzOORBdqy59+0djwhNKUThoQLqOI4CMoqhqYAj+aHVIE25Q5zgF39Uybc6Hldbilox z4Rfq69PGh3c7xh7l0RAJ7aMG0sH/P0zaStr0JCf2s+nzsMjiHx2MOnhwVC7Y2yof+E7 XZSUj9pnFi1zjIsSXmHKOJOAItSp7QNmBfZzza12U9silsLGNA9vDwPBOVKAmsWOht1D WcVQ== 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 q16si13102720pgc.610.2018.03.08.05.37.27; Thu, 08 Mar 2018 05:37:42 -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 S965991AbeCHNgA (ORCPT + 99 others); Thu, 8 Mar 2018 08:36:00 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:37968 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755256AbeCHNf5 (ORCPT ); Thu, 8 Mar 2018 08:35:57 -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 7683E80D; Thu, 8 Mar 2018 05:35:57 -0800 (PST) Received: from [10.1.207.62] (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DA4483F53D; Thu, 8 Mar 2018 05:35:50 -0800 (PST) Subject: Re: [PATCH 00/45] arm Spectre fix backport review for LTS 4.9 To: =?UTF-8?Q?Pali_Roh=c3=a1r?= , Pavel Machek Cc: Alex Shi , sre@kernel.org, linux-omap@vger.kernel.org, tony@atomide.com, khilman@kernel.org, aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com, patrikbachan@gmail.com, serge@hallyn.com, abcloriens@gmail.com, clayton@craftyguy.net, martijn@brixit.nl, sakari.ailus@linux.intel.com, =?UTF-8?Q?Filip_Matijevi=c4=87?= , 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> <20180308122715.GB21514@amd> <20180308132139.apabmgw4magrp3d7@pali> From: Marc Zyngier Organization: ARM Ltd Message-ID: <07d4709b-df73-0107-ce0f-5af55e34913e@arm.com> Date: Thu, 8 Mar 2018 13:35:49 +0000 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: <20180308132139.apabmgw4magrp3d7@pali> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/03/18 13:21, Pali Rohár wrote: > On Thursday 08 March 2018 13:27:15 Pavel Machek wrote: >> Hi! >> >>> 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 >>> >>> Comments are appreciated! >> >> Not entirely related to this patched, but... I have few older ARM >> boards here, and Nokia N9000 I really care about. >> >> AFAICT Meltdown is arm64 only? > > IIRC ARMv7 is not affected by meltdown. > >> Spectre affects the older boards, too, right? Was there any work done >> on that? cpuinfo says "ARMv7" for N900. > > I remember that I saw some spectre patches for ARMv7 on LKML. > > In general for ARMv7 it is problematic as mitigation needs to change IBE Not quite. IBE is part of ACTLR, which is an implementation defined register, so generalizing this statement to "ARMv7" is plain wrong. Case in point: A9, A12/A17 do not need any bit to be set. A8 needs IBE to allow BPIALL to work, A15 needs it for ICIALLUI to perform a BP invalidation. M. -- Jazz is not dead. It just smells funny...