Received: by 10.223.176.46 with SMTP id f43csp2401726wra; Thu, 25 Jan 2018 09:17:17 -0800 (PST) X-Google-Smtp-Source: AH8x227yP+LlK77ReTbTvq2sxV9aR+IgvezHt7dWjk5Xo3L70Bx2lLZeb/BVOfGaYXrgxx2RhB6H X-Received: by 2002:a17:902:9895:: with SMTP id s21-v6mr11790222plp.297.1516900637517; Thu, 25 Jan 2018 09:17:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516900637; cv=none; d=google.com; s=arc-20160816; b=OkcYQBcBHru++kqBfbDbwjSaEWbEVzxgo6aUrC9x5kmrXnmVTzhULubnceEl2vD8HQ NRWwEDHn3E11+8OgLTtHFuEN/rI/2LxwMK9U/QJmZC+EdG5JuIsJ3rCo7fHRhYDRop/v cg3gBSwbfuuXSRD74uxddx+J6AJFgvbM+06vzW00+xzlG8MqS1VcrFfGk3wor6a1Zj5m MJfXBiGNunsVBibwoGWi4DEKJc7+WQWrFCqakyS1rn4yK+wjt7cWWYv+pw4eLjqEcgmf 8u740RNBO/Juv8RAJumyYiCfKstwa+wQ4YgZVwE7/1LLR+cllT0mNvL4mTodI9slIJ56 Fyfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=Oaj9GpxOM7Si5WZofI2uu+4iepqsd98jPRji5P7+KAE=; b=OOOpa4EPA6g8dXp7Y9qefA3Df/xNyMnqTBWILKvgW+qYJ5ps40EkNbyIx7KQHmS0D8 V73RAI8Vi80Q4qjq2OeUO/zCDetfFD0N+mYCVfTuocbBUYmp1/BtL/fxjVbjfnbLt2FX 3d32iFgjeN1UyD0abre7J7rIuq5sree1T95oADqZg5RVspi9pt4Kkkx0Ym5D5bvkLqpH 7auH0xOELRN1duegHqtujku43NcT7o+3Q7Pg9Z9Ot9JhwiYcIPb9jf430P7jIqpmv5+u ya/w8Jwj8Ps58hMSqpGgBpocnmyyglhd8qhmywMdcVQlwi5AsWiZ8yXeNs6kraVHi5K7 PeMQ== 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 k190si1779822pgk.395.2018.01.25.09.17.02; Thu, 25 Jan 2018 09:17:17 -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 S1751247AbeAYRQX (ORCPT + 99 others); Thu, 25 Jan 2018 12:16:23 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:48632 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750994AbeAYRQV (ORCPT ); Thu, 25 Jan 2018 12:16:21 -0500 Received: from localhost (unknown [37.171.117.151]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id D4550E18; Thu, 25 Jan 2018 17:16:19 +0000 (UTC) Date: Thu, 25 Jan 2018 18:16:16 +0100 From: Greg Kroah-Hartman To: Mason Cc: Linux ARM , 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 , "H . Peter Anvin" , Ingo Molnar , Janakarajan Natarajan , Joerg Roedel , Jun Nakajima , Laura Abbott , LKML Subject: Re: [RFC 09/10] x86/enter: Create macros to restrict/unrestrict Indirect Branch Speculation Message-ID: <20180125171616.GA25130@kroah.com> References: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 25, 2018 at 05:19:04PM +0100, Mason wrote: > 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? Yes, I think they are currently burried in one of the arm64 trees, and they have been posted to the mailing list a few times in the past. thanks, greg k-h