From patchwork Fri Jan 4 22:27:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 1935091 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 481883FF0F for ; Fri, 4 Jan 2013 22:30:38 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TrFjs-0003o4-1q; Fri, 04 Jan 2013 22:27:44 +0000 Received: from mail-gh0-f178.google.com ([209.85.160.178]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TrFjo-0003ne-FY for linux-arm-kernel@lists.infradead.org; Fri, 04 Jan 2013 22:27:41 +0000 Received: by mail-gh0-f178.google.com with SMTP id g24so2084970ghb.9 for ; Fri, 04 Jan 2013 14:27:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=Wo1J6ZZ3dcv3KevMxSidd5GNyY1NfqdWf1Br00w/yxw=; b=l7XZ5EouDEE+i30yDQY+9Xbv53b8wqtUiG1SSaKlEagLsWVZN9woOkO94A1hhpq9ER WHXLXuACZgps/GsLne4lnkqXaL+PcNOC5sPfXR8RrezxzJlswbwmqXZ2GbPDnA4qd4xs SP45NaOCewDPA+bJmuf2UNvc1J8j7AO5sJnwhO4MU59AZ0MVjuQtuAI4TatVPk3elrJM zfKc6hEAFTE36xaP5vZY+rWomRFxj8WG5kHpZShcNFQt571rmVClMf6GPcejzDbatB3m kyz9+wAXKfMHn5XtGQ9CMA9TUSgv62XtybBw7o1teALvoEwmDgbCy1SqeOGZftw8lFW7 JPAg== X-Received: by 10.236.84.77 with SMTP id r53mr47516276yhe.36.1357338458972; Fri, 04 Jan 2013 14:27:38 -0800 (PST) Received: from fabio-Latitude-E6410.cps.virtua.com.br ([189.61.223.46]) by mx.google.com with ESMTPS id t2sm49132674anj.3.2013.01.04.14.27.36 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Jan 2013 14:27:38 -0800 (PST) From: Fabio Estevam To: kernel@pengutronix.de Subject: [PATCH] ARM: imx: Do not select some errata that depends on !ARCH_MULTIPLATFORM Date: Fri, 4 Jan 2013 20:27:27 -0200 Message-Id: <1357338447-6798-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.9.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130104_172740_655469_6A89A138 X-CRM114-Status: GOOD ( 10.02 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.178 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Fabio Estevam , shawn.guo@linaro.org, linux-arm-kernel@lists.infradead.org, rob.herring@calxeda.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Fabio Estevam Since commit 62e4d357a (ARM: 7609/1: disable errata work-arounds which access secure registers) ARM_ERRATA_743622/751472 depends on !ARCH_MULTIPLATFORM. Since imx has been converted to multiplatform, the following warning happens: $ make imx_v6_v7_defconfig warning: (SOC_IMX6Q && ARCH_TEGRA_2x_SOC && ARCH_TEGRA_3x_SOC) selects ARM_ERRATA_751472 which has unmet direct dependencies (CPU_V7 && !ARCH_MULTIPLATFORM) warning: (SOC_IMX6Q && ARCH_TEGRA_3x_SOC) selects ARM_ERRATA_743622 which has unmet direct dependencies (CPU_V7 && !ARCH_MULTIPLATFORM) warning: (SOC_IMX6Q && ARCH_TEGRA_3x_SOC) selects ARM_ERRATA_743622 which has unmet direct dependencies (CPU_V7 && !ARCH_MULTIPLATFORM) warning: (SOC_IMX6Q && ARCH_TEGRA_2x_SOC && ARCH_TEGRA_3x_SOC) selects ARM_ERRATA_751472 which has unmet direct dependencies (CPU_V7 && !ARCH_MULTIPLATFORM) Recommended approach is to remove ARM_ERRATA_743622/751472 from being selected by SOC_IMX6Q and apply such workarounds into the bootloader. Signed-off-by: Fabio Estevam Acked-by: Rob Herring --- arch/arm/mach-imx/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index 1ad0d76..3e628fd 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -841,8 +841,6 @@ config SOC_IMX6Q select ARCH_HAS_CPUFREQ select ARCH_HAS_OPP select ARM_CPU_SUSPEND if PM - select ARM_ERRATA_743622 - select ARM_ERRATA_751472 select ARM_ERRATA_754322 select ARM_ERRATA_764369 if SMP select ARM_ERRATA_775420