From: Marc Zyngier Subject: Re: [PATCH v5 06/15] ARM: spectre-v2: harden branch predictor on context switches Date: Tue, 29 May 2018 17:52:27 +0100 Message-ID: <86tvqq9zg4.wl-marc.zyngier@arm.com> References: <20180529145320.GJ17671@n2100.armlinux.org.uk> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Russell King Cc: Florian Fainelli , Christoffer Dall , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu List-Id: kvmarm@lists.cs.columbia.edu On Tue, 29 May 2018 15:54:39 +0100, Russell King wrote: > > Harden the branch predictor against Spectre v2 attacks on context > switches for ARMv7 and later CPUs. We do this by: > > Cortex A9, A12, A17, A73, A75: invalidating the BTB. > Cortex A15, Brahma B15: invalidating the instruction cache. > > Cortex A57 and Cortex A72 are not addressed in this patch. > > Cortex R7 and Cortex R8 are also not addressed as we do not enforce > memory protection on these cores. > > Signed-off-by: Russell King > Boot-tested-by: Tony Lindgren > Reviewed-by: Tony Lindgren Acked-by: Marc Zyngier M. -- Jazz is not dead, it just smell funny.