Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 17D7EC47404 for ; Mon, 7 Oct 2019 09:31:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E032F21655 for ; Mon, 7 Oct 2019 09:31:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570440719; bh=aziSuMkZ3O+rciajbklOCF+NIY2TXZMQPxYo1QTB6/k=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=dZ5hfAUODiEuUPwlqn+aX9+Kvgym6eRzI4jA6SncMc2ktW7RsVmVlEqnFtFa+WIr2 LtYt/DFbOLIaMCddgFjHY3AHGHXXFltOhFwiczJV9Tt8aEYDXrGmIiLuO0RVRRiO0T YrguEoQG/JHdci1GxxY2yyXUmh9VLT5GYTPxE8WY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727412AbfJGJb6 (ORCPT ); Mon, 7 Oct 2019 05:31:58 -0400 Received: from inca-roads.misterjones.org ([213.251.177.50]:56783 "EHLO inca-roads.misterjones.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726010AbfJGJb5 (ORCPT ); Mon, 7 Oct 2019 05:31:57 -0400 Received: from [185.201.63.254] (helo=big-swifty.misterjones.org) by cheepnis.misterjones.org with esmtpsa (TLSv1.2:AES256-GCM-SHA384:256) (Exim 4.80) (envelope-from ) id 1iHPMs-000608-PU; Mon, 07 Oct 2019 11:31:53 +0200 Date: Mon, 07 Oct 2019 10:31:31 +0100 Message-ID: <86tv8kzyto.wl-maz@kernel.org> From: Marc Zyngier To: James Morse Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, Will Deacon , Mark Rutland , Catalin Marinas , Suzuki K Poulose , Julien Thierry Subject: Re: [PATCH 5/5] arm64: Enable and document ARM errata 1319367 and 1319537 In-Reply-To: <6d41efac-3606-328a-0a18-f86ed070932c@arm.com> References: <20190925111941.88103-1-maz@kernel.org> <20190925111941.88103-6-maz@kernel.org> <6d41efac-3606-328a-0a18-f86ed070932c@arm.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 EasyPG/1.0.0 Emacs/26 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.201.63.254 X-SA-Exim-Rcpt-To: james.morse@arm.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, will@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, suzuki.poulose@arm.com, julien.thierry.kdev@gmail.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on cheepnis.misterjones.org); SAEximRunCond expanded to false Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Thu, 03 Oct 2019 12:11:00 +0100, James Morse wrote: > > Hi Marc, > > On 25/09/2019 12:19, Marc Zyngier wrote: > > Now that everything is in place, let's get the ball rolling > > by allowing the corresponding config option to be selected. > > Also add the required information to silicon_arrata.rst. > > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > > index 3adcec05b1f6..c50cd4f83bc4 100644 > > --- a/arch/arm64/Kconfig > > +++ b/arch/arm64/Kconfig > > @@ -523,6 +523,16 @@ config ARM64_ERRATUM_1286807 > > invalidated has been observed by other observers. The > > workaround repeats the TLBI+DSB operation. > > > > +config ARM64_ERRATUM_1319367 > > + bool "Cortex-A57/A72: Speculative AT instruction using out-of-context translation regime could cause subsequent request to generate an incorrect translation" > > + default y > > + help > > + This option adds work arounds for ARM Cortex-A57 erratum 1319537 > > + and A72 erratum 1319367 > > + > > + Cortex-A57 and A72 cores could end-up with corrupted TLBs by > > + speculating an AT instruction during a guest context switch. > > + > > If unsure, say Y. > > > > config ARM64_ERRATUM_1463225 > > > > Nit: You pinched someone elses "If unsure, say Y."! Ah! Well spotted. Thanks, M. -- Jazz is not dead, it just smells funny.