Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp810146ybv; Wed, 5 Feb 2020 15:08:18 -0800 (PST) X-Google-Smtp-Source: APXvYqyjB8TrDAAxwYVDKAvANWpCmnd1nIbjqnvRO3Xm2xp9ZJG9xmMw+KBGFH3AJkhBsui4LLOr X-Received: by 2002:aca:5248:: with SMTP id g69mr4691829oib.106.1580944098382; Wed, 05 Feb 2020 15:08:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580944098; cv=none; d=google.com; s=arc-20160816; b=rGJBtECziEGCt7HmWcoLY61S3sDMOW3j4ejKkW1NevBmw7tS7Fa0YG9G6brBsbLt5C rTC1ekwPbVmDRQcIGudp3Tdjll3hX5ePkWAPSwy5jlAXTFD6n1ZD3eryguC5r7FyqPAO Elaey7TmyTvs9TFHECbGBPtjjXdqIRH22CokFpKjwelWOguiCdSd3rE2GGxw1/iSMDCl /NZYHDxaGHt7/dAJ7wmorsgkyHSYX+P8z1i+sHc6DJv9SqxyPwMr0JwXokt0bOBSFfwz zIBwWSVUwab054T+prNmcnW3qoMiWJ5qbuVmO0v6aF9SHuCkMmz6ByIKWUBPTLlY6i7c UCPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=IMLaqe+3/cNGrP9F0fpJ/nD3jwSko8goV2jkxITs1to=; b=o7GbhUWpadW0DdcXIb8cROb8li+b5pEVlq8by17XybMnodCAg0fvYFOJ02oKXKRIAs 7seYm+qpGYWLpds7DZV9FUybPT441eGUVUDuJs1LfG4/hEnDAZIYz9cvWkEGQIZOGK8M INBw4PzrI7LYZ2GuEkOffTelslxWQ02S59yalndfqiXsnMasNQacsiAekNsi+vRvYHVb v+qFgM3fS/fyqFAeUzQXMgHImbFWTNFGZ/K4ZWGdKHxQm1v///nlapQxvgamJ1eUvqdB Yy9ge59MLFpC+ulcxhJVtKNHryu9bIvrilE4kqyc3LIyxHDX4Z2Sh/5SLaI6kIQ+FdG6 3veg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=H6Qv++Gh; 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 f81si995815oig.110.2020.02.05.15.08.06; Wed, 05 Feb 2020 15:08:18 -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; dkim=pass header.i=@agner.ch header.s=dkim header.b=H6Qv++Gh; 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 S1727587AbgBEWmU (ORCPT + 99 others); Wed, 5 Feb 2020 17:42:20 -0500 Received: from mail.kmu-office.ch ([178.209.48.109]:57700 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727456AbgBEWmU (ORCPT ); Wed, 5 Feb 2020 17:42:20 -0500 Received: from trochilidae.toradex.int (unknown [IPv6:2a02:169:3df5::edf]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 44ED15C406B; Wed, 5 Feb 2020 23:42:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1580942538; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=IMLaqe+3/cNGrP9F0fpJ/nD3jwSko8goV2jkxITs1to=; b=H6Qv++Ghmk/dESi8x9UO2WFr4rza3Yso7vUCNFheHj5STpl/S0T2OYVoRfQZS+fc4fv98A 7aG59rxGn3PZflJrTH4raYUSMHTRsi51ozcDlnXqb5htaCD3NkJ2iGEGnVX8piA1+4N7qR xEOIrnn56ZR/z/NfC86Nsx83QnTdtjs= From: Stefan Agner To: shawnguo@kernel.org, s.hauer@pengutronix.de Cc: stefan@agner.ch, linux@armlinux.org.uk, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, arnd@arndb.de, Anson.Huang@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stefan Agner , Oleksandr Suvorov Subject: [PATCH v2] ARM: imx: limit errata selection to Cortex-A9 based designs Date: Wed, 5 Feb 2020 23:42:14 +0100 Message-Id: <20200205224214.253098-1-stefan@agner.ch> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Stefan Agner The two erratas 754322 and 775420 are Cortex-A9 specific. The i.MX 6UL SoCs include a Cortex-A7 CPU and hence do not need this erratas enabeld. This patch moves the errata selection from the family Kconfig symbol to the SoC specifc Kconfig symbols where a Cortex-A9 is used. Signed-off-by: Stefan Agner Reviewed-by: Oleksandr Suvorov Reviewed-by: Fabio Estevam --- arch/arm/mach-imx/Kconfig | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index 95584ee02b55..e7d7b90e2cf8 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -471,8 +471,6 @@ config SOC_IMX53 config SOC_IMX6 bool select ARM_CPU_SUSPEND if (PM || CPU_IDLE) - select ARM_ERRATA_754322 - select ARM_ERRATA_775420 select ARM_GIC select HAVE_IMX_ANATOP select HAVE_IMX_GPC @@ -484,6 +482,8 @@ config SOC_IMX6 config SOC_IMX6Q bool "i.MX6 Quad/DualLite support" select ARM_ERRATA_764369 if SMP + select ARM_ERRATA_754322 + select ARM_ERRATA_775420 select HAVE_ARM_SCU if SMP select HAVE_ARM_TWD select PINCTRL_IMX6Q @@ -494,6 +494,8 @@ config SOC_IMX6Q config SOC_IMX6SL bool "i.MX6 SoloLite support" + select ARM_ERRATA_754322 + select ARM_ERRATA_775420 select PINCTRL_IMX6SL select SOC_IMX6 @@ -502,6 +504,8 @@ config SOC_IMX6SL config SOC_IMX6SLL bool "i.MX6 SoloLiteLite support" + select ARM_ERRATA_754322 + select ARM_ERRATA_775420 select PINCTRL_IMX6SLL select SOC_IMX6 @@ -510,6 +514,8 @@ config SOC_IMX6SLL config SOC_IMX6SX bool "i.MX6 SoloX support" + select ARM_ERRATA_754322 + select ARM_ERRATA_775420 select PINCTRL_IMX6SX select SOC_IMX6 -- 2.25.0