Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp229633imj; Wed, 13 Feb 2019 07:24:34 -0800 (PST) X-Google-Smtp-Source: AHgI3IZF6A71pXlxMoC8bXl8LkOpdlfa+Wj3xvyWhfsEfJxduCqoN9kIFluWV7LmzlAn41sqs+qJ X-Received: by 2002:a62:ed0f:: with SMTP id u15mr1009222pfh.188.1550071474601; Wed, 13 Feb 2019 07:24:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550071474; cv=none; d=google.com; s=arc-20160816; b=mNiEFfY0iqSSHoW5UDq20eMTtSdtKh2+BX7esW5rgzL5tc9u42aTdRuqB1e1uUnPCk VTX0PDVcDoxGenIcdhx9b9wcgK8IB1GxpdH/7iOxXUnvGzRM6BEeHDvdUXezZ/lVGYRV tw8Ee5al4SRJN8/sJSfsmkbsccAgDLXC4Yx4qa16+seG5/JO4qzWICd4KCXmlu45ecfB MyQEdt4ihlcbnqZz0992HCq8RpiqbAz/QowEsWtObKz+lvoavUpDgmlDRcT8+mBzHivg u8d4kD/XWgfYaufccqZcG1sdkOFPLL/+4GuriPwbKtEPhjRupxsSTT+rcTEhA3pqHF5k DULA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=d9KSjIK52ErBRfHNEMox6sTC1sXaTyTQwnEhhuFMq8g=; b=Xd85kOcZyuyipkvzuvgw2c8PtddfGS11M67fDBSOluoZiYhIk20ryyIPOkA2cH3bYd Umgfza81rB0yLGIWTmvBNkTda8FNWdVtW7RwSWJTxB/eTkadOephjdYRFDA4Bem08OJQ GLG5Rs4fTFafb/KIpY2IGHu4jFi5kjh7GQfhGEshPrsyf03px8DkYWirKWt7li+p5vxo NNfbbtpzl6OALNhzFplA+3Wobn7HwiElq1JXr+xZaIqFplWvkY15cgwTE4AaL7TG2hFZ JjV+NfzcWk4aElVa0uZmy1E9qka6a8dK9VtXF3uBnFYFNT/uSf4/MbsOmLVzTswUfD04 6uLQ== 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 t194si7153490pgc.588.2019.02.13.07.24.18; Wed, 13 Feb 2019 07:24:34 -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 S2403831AbfBMOwj (ORCPT + 99 others); Wed, 13 Feb 2019 09:52:39 -0500 Received: from mail-qt1-f194.google.com ([209.85.160.194]:42823 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726056AbfBMOwj (ORCPT ); Wed, 13 Feb 2019 09:52:39 -0500 Received: by mail-qt1-f194.google.com with SMTP id b8so2798204qtr.9 for ; Wed, 13 Feb 2019 06:52:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=d9KSjIK52ErBRfHNEMox6sTC1sXaTyTQwnEhhuFMq8g=; b=N+n+y7CnQN0ipOhuBDB21B6a+RxzL575m8WCxXcaSJ9UJ0mDSvHdcw3ZJtjJZqLGr2 AN8clDiQdBN/TyTMGcvGdZYFpnPtQMMZSDqD8r2E4iDsz3Fv+lf0vr6xTfDVEIzrl+0I 7rr1F/pC7YaAqWXwYFLR9j2lm9kT+LIk+7AFiajy+VrmzSJzlPCGJmXG7EIDc3m0LRPS +hBEJvREGEmReqzF+VcAZYk6TGd3aAvquycRQm++amNiN0kVc3SpiwMuFwhy4yfOqTI2 +usctiG4GZUD9CYrXCgal7jDJKc87K6Ndefzy0aRll1rwf5uJBV422HvF1n8xuTzKbfY snZg== X-Gm-Message-State: AHQUAuYVIjhMB5i1mJReiPtwngjzmvhUhjQJ4sCQUe3UVf224OCHwQf1 angldZ+3wM6noBZalrDnrCuhendA8W8NwMs2AOp6ow== X-Received: by 2002:ac8:1d12:: with SMTP id d18mr692562qtl.343.1550069558029; Wed, 13 Feb 2019 06:52:38 -0800 (PST) MIME-Version: 1.0 References: <20190213095613.31045-1-benjamin.gaignard@linaro.org> In-Reply-To: <20190213095613.31045-1-benjamin.gaignard@linaro.org> From: Arnd Bergmann Date: Wed, 13 Feb 2019 15:52:21 +0100 Message-ID: Subject: Re: [PATCH 0/2] ARM errata 814220 To: Benjamin Gaignard Cc: Russell King - ARM Linux , Alexandre Torgue , Linux ARM , Linux Kernel Mailing List , linux-stm32@st-md-mailman.stormreply.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 13, 2019 at 10:56 AM Benjamin Gaignard wrote: > > Implement ARM errata 814220 for Cortex A7. > > This patch has been wroten by Jason Liu years ago but never send upstream. > I have tried to contact the author on multiple email addresses but I haven't > found any valid one... > I have keep Jason's sign-off and just rebase the patch on to v5-rc6. > > Benjamin Gaignard (2): > ARM: errata 814220-B-Cache maintenance by set/way operations can > execute out of order. > ARM: stm32: select ARM errata 814220 > > arch/arm/Kconfig | 10 ++++++++++ > arch/arm/mach-stm32/Kconfig | 1 + > arch/arm/mm/cache-v7.S | 3 +++ > 3 files changed, 14 insertions(+) Looks good to me, Acked-by: Arnd Bergmann It probably makes most sense to keep them as a series, either through the soc tree or Russell's patch tracker, so feel free to add it there, and have them both in the stm32 soc branch for arm-soc if Russell prefers. As we have a number of Cortex-A7 based platforms with all kinds of revisions, I wonder if we should also select the workaround for the others. I can probably figure out which SoC platforms are based on Cortex-A7, but I have no idea about the revisions, so that might mean we'd have to do it for all of them. According to the latest TRM I found, only revisions r0p0 through r0p5 exist, and the erraturm text lists r0p2 through r0p5, which may mean all products ever shipped in practice (the oldest public TRM from 2012 already describe r0p3). Arnd