From patchwork Mon Nov 19 16:38:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 1766151 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 60FADDF264 for ; Mon, 19 Nov 2012 16:40:19 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TaUMZ-0007nM-5D; Mon, 19 Nov 2012 16:38:23 +0000 Received: from va3ehsobe005.messaging.microsoft.com ([216.32.180.31] helo=va3outboundpool.messaging.microsoft.com) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TaUMU-0007ma-Ui for linux-arm-kernel@lists.infradead.org; Mon, 19 Nov 2012 16:38:19 +0000 Received: from mail206-va3-R.bigfish.com (10.7.14.252) by VA3EHSOBE010.bigfish.com (10.7.40.12) with Microsoft SMTP Server id 14.1.225.23; Mon, 19 Nov 2012 16:38:17 +0000 Received: from mail206-va3 (localhost [127.0.0.1]) by mail206-va3-R.bigfish.com (Postfix) with ESMTP id 27CE6CE01EF; Mon, 19 Nov 2012 16:38:17 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 0 X-BigFish: VS0(zzzz1de0h1202h1d1ah1d2ahzz8275bhz2dh2a8h668h839hd24he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1155h) Received: from mail206-va3 (localhost.localdomain [127.0.0.1]) by mail206-va3 (MessageSwitch) id 1353343094922270_5086; Mon, 19 Nov 2012 16:38:14 +0000 (UTC) Received: from VA3EHSMHS017.bigfish.com (unknown [10.7.14.252]) by mail206-va3.bigfish.com (Postfix) with ESMTP id DE70548004A; Mon, 19 Nov 2012 16:38:14 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by VA3EHSMHS017.bigfish.com (10.7.99.27) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 19 Nov 2012 16:38:13 +0000 Received: from az84smr01.freescale.net (10.64.34.197) by 039-SN1MMR1-003.039d.mgd.msft.net (10.84.1.16) with Microsoft SMTP Server (TLS) id 14.2.318.3; Mon, 19 Nov 2012 16:38:11 +0000 Received: from fabio-Latitude-E6410.am.freescale.net ([10.29.240.140]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id qAJGc89p022602; Mon, 19 Nov 2012 09:38:09 -0700 From: Fabio Estevam To: Subject: [PATCH] ARM: Kconfig: Do not select ARCH_VEXPRESS on ARCH_MULTI_V7 Date: Mon, 19 Nov 2012 14:38:00 -0200 Message-ID: <1353343080-19220-1-git-send-email-fabio.estevam@freescale.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121119_113819_082676_A47082F4 X-CRM114-Status: GOOD ( 13.89 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [216.32.180.31 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Fabio Estevam , linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de 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: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Booting a kernel on a mx53qsb board (built with imx_v6_v7_defconfig) leads to: Unable to handle kernel NULL pointer dereference at virtual address 00000008 pgd = 80004000 [00000008] *pgd=00000000 Internal error: Oops: 805 [#1] SMP ARM Modules linked in: CPU: 0 Not tainted (3.7.0-rc5-next-20121115+ #715) PC is at vexpress_sysreg_init_leds+0x30/0xb8 LR is at do_one_initcall+0x3c/0x190 pc : [<8065e170>] lr : [<800086a0>] psr: 60000153 sp : df855ef0 ip : df855f18 fp : df855f14 r10: 00000000 r9 : 8067eb5c r8 : 8065e140 r7 : 80711cac r6 : 806c2cc0 r5 : 00000000 r4 : 80673850 r3 : 00000000 r2 : 00000000 r1 : df854000 r0 : 8065e140 ... Since commit c5a0d4977 (ARM: imx: enable multi-platform build), imx_v6_v7_defconfig selects CONFIG_ARCH_MULTI_V7=y, which in turn select ARCH_VEXPRESS. Do not select ARCH_VEXPRESS on ARCH_MULTI_V7. Signed-off-by: Fabio Estevam --- arch/arm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 14f8160..d40e9d3 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1000,7 +1000,6 @@ config ARCH_MULTI_V7 bool "ARMv7 based platforms (Cortex-A, PJ4, Krait)" default y select ARCH_MULTI_V6_V7 - select ARCH_VEXPRESS select CPU_V7 config ARCH_MULTI_V6_V7