Received: by 10.223.176.46 with SMTP id f43csp2336141wra; Thu, 25 Jan 2018 08:20:42 -0800 (PST) X-Google-Smtp-Source: AH8x227/F6Sv6tNvIcJJB35Qs0U6I88XgtuU5BVqPqjkcv5mH7ojVfIAYFGekIP0WanV9G+tUt64 X-Received: by 2002:a17:902:34f:: with SMTP id 73-v6mr11748658pld.122.1516897242430; Thu, 25 Jan 2018 08:20:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516897242; cv=none; d=google.com; s=arc-20160816; b=rh1US/d5m4Al6kAdtCnvtB2EoQAZx9Le4vmo6779TlqqWKDpPi+OQZRyv3u79Dvw/0 0Tp8xLcaCkeRu5BwGiCYfMv66bNQ5/T6sJLrKmIEcx81MJ80VjmyP8JWZlCks0ocrllR FcrZv7ZQWLnfqUh7OQ3oygZaGVmd5TyEQT61FAbeW4VFtsMj6bDx4uXoQavfTtm7tXZf +k8LFXeFtZG04JrHFpelyntCSnVJqaPdETtkGeumyDGHieA0Wd+u2+a6oA2Jdq1JYhC+ zAA4uHT21NBIYct+KcLCBtSBrNn0aDjCxcZg4ELBOhZ5uJmq0bWAH045rFPTGc9SV3Un CeKg== 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:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject:arc-authentication-results; bh=KjQI2Svkcwzt7CV+0fO+uXEtU8XZ8zAjwO+83wFDCio=; b=IFY7TbNV/LpFgNNdOd15+OF8WJt5d5YP0PziIblv4ZAq7yJYtXslrXdDYKU/QRE/kB Lz6j3cLqvQmndDBCwpX3yMyxKfHR8gQzYbsWTKA7MwAUOI5G5fwNQ7uFSShJG8a0Sdji ++DD1tfqI94WmKYkqaAuADnKfiGvM3V/WxXeR0yOUBg6ciJWCftdnXL1MI18ESK8WrgS r/ZXnl/TpyR1J0GyprBy2Y/6PrT8UvzZ2sRJ8ezEmQE2PtqW4vy2vcvZfvZwrgb5oxfh pEH0IrOA7RqWQWLAFIihF6BeHRW8TsLQKRCvzS49q13wwnEz72A49DcyzGBm8sxtaq3P gBmQ== 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 j13si1732368pgs.510.2018.01.25.08.20.27; Thu, 25 Jan 2018 08:20: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 S1751176AbeAYQUF (ORCPT + 99 others); Thu, 25 Jan 2018 11:20:05 -0500 Received: from smtp5-g21.free.fr ([212.27.42.5]:59602 "EHLO smtp5-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750980AbeAYQUE (ORCPT ); Thu, 25 Jan 2018 11:20:04 -0500 Received: from [172.27.0.114] (unknown [92.154.11.170]) (Authenticated sender: slash.tmp) by smtp5-g21.free.fr (Postfix) with ESMTPSA id A3E085FEF7; Thu, 25 Jan 2018 17:19:14 +0100 (CET) Subject: Re: [RFC 09/10] x86/enter: Create macros to restrict/unrestrict Indirect Branch Speculation To: Linux ARM Cc: David Woodhouse , Ingo Molnar , Linus Torvalds , KarimAllah Ahmed , Andi Kleen , Andrea Arcangeli , Andy Lutomirski , Arjan van de Ven , Ashok Raj , Asit Mallick , Borislav Petkov , Dan Williams , Dave Hansen , Greg Kroah-Hartman , "H . Peter Anvin" , Ingo Molnar , Janakarajan Natarajan , Joerg Roedel , Jun Nakajima , Laura Abbott , LKML References: <1516476182-5153-1-git-send-email-karahmed@amazon.de> <1516476182-5153-10-git-send-email-karahmed@amazon.de> <1516566497.9814.78.camel@infradead.org> <1516572013.9814.109.camel@infradead.org> <1516638426.9521.20.camel@infradead.org> <20180123072930.soz25cyky3u4hpgv@gmail.com> <20180123075358.nztpyxympwfkyi2a@gmail.com> <1516699832.9521.123.camel@infradead.org> From: Mason Message-ID: Date: Thu, 25 Jan 2018 17:19:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.1 MIME-Version: 1.0 In-Reply-To: <1516699832.9521.123.camel@infradead.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23/01/2018 10:30, David Woodhouse wrote: > Skylake takes predictions from the generic branch target buffer when > the RSB underflows. Adding LAKML. AFAIU, some ARM Cortex cores have the same optimization. (A9 maybe, A17 probably, some recent 64-bit cores) Are there software work-arounds for Spectre planned for arm32 and arm64? Regards.