From patchwork Tue Jul 14 18:12:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 6788361 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 14FB9C05AC for ; Tue, 14 Jul 2015 18:16:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 19A6320712 for ; Tue, 14 Jul 2015 18:16:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 45D642066F for ; Tue, 14 Jul 2015 18:16:48 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZF4j0-000120-A2; Tue, 14 Jul 2015 18:14:38 +0000 Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZF4iy-000107-D5 for linux-arm-kernel@lists.infradead.org; Tue, 14 Jul 2015 18:14:36 +0000 Received: by pactm7 with SMTP id tm7so9492916pac.2 for ; Tue, 14 Jul 2015 11:14:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=6+wtECNnpGlYi+2PYc5ppLWRrZdXvBoM0iug29Gum/k=; b=SalGvHOPU9AZErkzUC8cLrSEjFj8lRBJwEd71FOP6sfcSzd1FisRA0zVkCjPX5gMKm MrsqMQBSkefkoYgA9/B/GdLhvN1HyzpROD0qN28vdjbk5og4a5dIGAKWDxMSPNXFIMEH wAF7C+p2IMjHmcWvTCjC9Prh+jTZVMwqn+g9PkVR7g3XgYmKlgduv1pzGnIXA6IrNYzY qyHJEWjdacYaV9hXZQuiRojBcOLMsfIWyOlK7T2NZTKukH3V/nhRurN7FNM5V9UZ9kSu 2cYugN1EppXvtEfqpC2+5SekofEQF4E2ZcPD/3UQG6kSfZpV+EeSuw00mEQlY5d83Mdl F6Wg== X-Received: by 10.70.98.170 with SMTP id ej10mr45442924pdb.12.1436897655183; Tue, 14 Jul 2015 11:14:15 -0700 (PDT) Received: from fainelli-desktop.broadcom.com (5520-maca-inet1-outside.broadcom.com. [216.31.211.11]) by smtp.gmail.com with ESMTPSA id sh2sm2040761pbc.62.2015.07.14.11.14.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Jul 2015 11:14:14 -0700 (PDT) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: BCM: Restrict Broadcom BCM470X / BCM5301X to non-LPAE Date: Tue, 14 Jul 2015 11:12:15 -0700 Message-Id: <1436897535-3782-1-git-send-email-f.fainelli@gmail.com> X-Mailer: git-send-email 2.1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150714_111436_469867_EDB61415 X-CRM114-Status: GOOD ( 11.51 ) X-Spam-Score: -2.0 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: hauke@hauke-m.de, Florian Fainelli , bcm-kernel-feedback-list@broadcom.com, zajec5@gmail.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Cortex-A9 on at least BCM4708 SoCs are not LPAE capable, booting such a kernel will result in the following: Error: Kernel with LPAE support, but CPU does not support LPAE. Restrict such SoCs to be built in a configuration that does not enable ARM_LPAE. Signed-off-by: Florian Fainelli --- arch/arm/mach-bcm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig index 0ac9e4b3b265..153a660da004 100644 --- a/arch/arm/mach-bcm/Kconfig +++ b/arch/arm/mach-bcm/Kconfig @@ -38,6 +38,7 @@ config ARCH_BCM_CYGNUS config ARCH_BCM_5301X bool "Broadcom BCM470X / BCM5301X ARM SoC" if ARCH_MULTI_V7 select ARCH_BCM_IPROC + depends on !ARM_LPAE help Support for Broadcom BCM470X and BCM5301X SoCs with ARM CPU cores.