From patchwork Tue Nov 29 17:12:35 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Martin X-Patchwork-Id: 5382 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id A807923FFB for ; Tue, 29 Nov 2011 17:12:46 +0000 (UTC) Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.213.180]) by fiordland.canonical.com (Postfix) with ESMTP id 6EB67A1809D for ; Tue, 29 Nov 2011 17:12:46 +0000 (UTC) Received: by yenr8 with SMTP id r8so1004935yen.11 for ; Tue, 29 Nov 2011 09:12:46 -0800 (PST) Received: by 10.152.111.170 with SMTP id ij10mr29020750lab.5.1322586765122; Tue, 29 Nov 2011 09:12:45 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.41.198 with SMTP id h6cs11818lal; Tue, 29 Nov 2011 09:12:44 -0800 (PST) Received: by 10.213.21.28 with SMTP id h28mr1315496ebb.148.1322586762854; Tue, 29 Nov 2011 09:12:42 -0800 (PST) Received: from mail-ey0-f178.google.com (mail-ey0-f178.google.com [209.85.215.178]) by mx.google.com with ESMTPS id p41si8855386eef.50.2011.11.29.09.12.42 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Nov 2011 09:12:42 -0800 (PST) Received-SPF: neutral (google.com: 209.85.215.178 is neither permitted nor denied by best guess record for domain of dave.martin@linaro.org) client-ip=209.85.215.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.215.178 is neither permitted nor denied by best guess record for domain of dave.martin@linaro.org) smtp.mail=dave.martin@linaro.org Received: by eaai1 with SMTP id i1so3835437eaa.37 for ; Tue, 29 Nov 2011 09:12:42 -0800 (PST) Received: by 10.213.29.14 with SMTP id o14mr1397415ebc.74.1322586762406; Tue, 29 Nov 2011 09:12:42 -0800 (PST) Received: from e103592.peterhouse.linaro.org (fw-lnat.cambridge.arm.com. [217.140.96.63]) by mx.google.com with ESMTPS id o4sm107228717eeb.0.2011.11.29.09.12.41 (version=SSLv3 cipher=OTHER); Tue, 29 Nov 2011 09:12:41 -0800 (PST) From: Dave Martin To: linux-arm-kernel@lists.infradead.org Cc: patches@linaro.org, Will Deacon , Catalin Marinas Subject: [PATCH] ARM: errata: Remove SMP dependency for erratum 720789 Date: Tue, 29 Nov 2011 17:12:35 +0000 Message-Id: <1322586755-12740-1-git-send-email-dave.martin@linaro.org> X-Mailer: git-send-email 1.7.4.1 Activation conditions for a workaround should not be encoded in the workaround's direct dependencies if this makes otherwise reasonable configuration choices impossible. The workaround for erratum 720789 only affects a code path which is not active in UP kernels; hence it should be safe to turn on in UP kernels, without penalty. This patch simply removes the extra dependency on SMP from Kconfig. This means that configs for buggy silicon can simply select ARM_ERRATA_720789, without preventing a UP kernel from being built or duplicatiing knowledge about when to activate the workaround. Signed-off-by: Dave Martin Acked-by: Will Deacon --- arch/arm/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 44789ef..31bbad3 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1245,7 +1245,7 @@ config PL310_ERRATA_588369 config ARM_ERRATA_720789 bool "ARM errata: TLBIASIDIS and TLBIMVAIS operations can broadcast a faulty ASID" - depends on CPU_V7 && SMP + depends on CPU_V7 help This option enables the workaround for the 720789 Cortex-A9 (prior to r2p0) erratum. A faulty ASID can be sent to the other CPUs for the