From patchwork Tue Jan 22 17:42:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory CLEMENT X-Patchwork-Id: 2020061 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 816EE3FCDE for ; Tue, 22 Jan 2013 17:45:59 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TxhsR-0003sM-5f; Tue, 22 Jan 2013 17:43:15 +0000 Received: from mail.free-electrons.com ([94.23.35.102]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TxhsI-0003rl-G9 for linux-arm-kernel@lists.infradead.org; Tue, 22 Jan 2013 17:43:06 +0000 Received: by mail.free-electrons.com (Postfix, from userid 106) id 025B85ED4; Tue, 22 Jan 2013 18:43:03 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.3.2 Received: from localhost (tra42-5-83-152-246-54.fbx.proxad.net [83.152.246.54]) by mail.free-electrons.com (Postfix) with ESMTPSA id 844881263; Tue, 22 Jan 2013 18:43:03 +0100 (CET) From: Gregory CLEMENT To: Russell King , Arnd Bergmann Subject: [PATCH] arm: kconfig: always select TWD with local timer for multiplatform Date: Tue, 22 Jan 2013 18:42:44 +0100 Message-Id: <1358876564-25239-1-git-send-email-gregory.clement@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <50FEBF96.6020001@free-electrons.com> References: <50FEBF96.6020001@free-electrons.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130122_124306_636049_9139F956 X-CRM114-Status: GOOD ( 11.20 ) 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.0 SPF_PASS SPF: sender matches SPF record -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Thomas Petazzoni , Gregory CLEMENT , linux-arm-kernel@lists.infradead.org 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 When we enable multiplatform and local timers we should not disable the build of the TWD driver even if there is support for MSM and/or EXYNOS (those SoCs don't use TWD for their local timers). Indeed most of the other SoCs will need it. If multiplatform is not enable we keep the possibility to not add support for TWD as we only built a kernel for MSM or for EXYNOS. Signed-off-by: Gregory CLEMENT --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 67874b8..482ee23 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1625,6 +1625,7 @@ config LOCAL_TIMERS depends on SMP default y select HAVE_ARM_TWD if (!ARCH_MSM_SCORPIONMP && !EXYNOS4_MCT) + select HAVE_ARM_TWD if ARCH_MULTIPLATFORM help Enable support for local timers on SMP platforms, rather then the legacy IPI broadcast method. Local timers allows the system