From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932284AbeAHTKp (ORCPT + 1 other); Mon, 8 Jan 2018 14:10:45 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:50276 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932157AbeAHTKn (ORCPT ); Mon, 8 Jan 2018 14:10:43 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C158E60115 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=shankerd@codeaurora.org Reply-To: shankerd@codeaurora.org Subject: Re: [PATCH] arm64: Implement branch predictor hardening for Falkor To: Will Deacon Cc: Vikram Sethi , Sean Campbell , Marc Zyngier , Catalin Marinas , linux-kernel , linux-arm-kernel , kvmarm , Christoffer Dall References: <1515184139-23743-1-git-send-email-shankerd@codeaurora.org> <20180108170933.GU25869@arm.com> <20180108184446.GC13175@arm.com> From: Shanker Donthineni Message-ID: <01fe1f41-ac45-0c19-a502-77b915c48fcf@codeaurora.org> Date: Mon, 8 Jan 2018 13:10:39 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20180108184446.GC13175@arm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Hi Will, On 01/08/2018 12:44 PM, Will Deacon wrote: > On Mon, Jan 08, 2018 at 05:09:33PM +0000, Will Deacon wrote: >> On Fri, Jan 05, 2018 at 02:28:59PM -0600, Shanker Donthineni wrote: >>> Falkor is susceptible to branch predictor aliasing and can >>> theoretically be attacked by malicious code. This patch >>> implements a mitigation for these attacks, preventing any >>> malicious entries from affecting other victim contexts. >> >> Thanks, Shanker. I'll pick this up (fixing the typo pointed out by Drew). > > Note that MIDR_FALKOR doesn't exist in mainline, so I had to drop those > changes too. See the kpti branch for details. > The FALKOR MIDR patch is already available in the upstream kernel v4.15-rc7 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm64?h=v4.15-rc7&id=c622cc013cece073722592cff1ac6643a33b1622 If you want I can resend the above patch in v2 series including typo fix. > If you'd like anything else done here, please send additional patches to me > and Catalin that we can apply on top of what we currently have. Note that > I'm in the air tomorrow, so won't be picking up email. > > Cheers, > > Will > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > -- Shanker Donthineni Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.