From mboxrd@z Thu Jan 1 00:00:00 1970 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.0 required=3.0 tests=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 296D2ECE58D for ; Mon, 7 Oct 2019 09:32:00 +0000 (UTC) Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by mail.kernel.org (Postfix) with ESMTP id B227021655 for ; Mon, 7 Oct 2019 09:31:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B227021655 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvmarm-bounces@lists.cs.columbia.edu Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 0B9054A88B; Mon, 7 Oct 2019 05:31:59 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6qKtbLIoaaPP; Mon, 7 Oct 2019 05:31:58 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id F264B4A863; Mon, 7 Oct 2019 05:31:57 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 013BC4A85F for ; Mon, 7 Oct 2019 05:31:57 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c1dj1W2a3oGU for ; Mon, 7 Oct 2019 05:31:55 -0400 (EDT) Received: from inca-roads.misterjones.org (inca-roads.misterjones.org [213.251.177.50]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id B71914A80E for ; Mon, 7 Oct 2019 05:31:55 -0400 (EDT) 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 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") 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 Cc: kvm@vger.kernel.org, Catalin Marinas , Will Deacon , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu 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. _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm