From patchwork Wed Nov 27 01:04:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Soren Brinkmann X-Patchwork-Id: 3244801 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6FE5E9F3AE for ; Wed, 27 Nov 2013 01:44:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A30642054E for ; Wed, 27 Nov 2013 01:44:18 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C711620544 for ; Wed, 27 Nov 2013 01:44:17 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VlTcQ-0004nE-3H; Wed, 27 Nov 2013 01:08:45 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VlTbV-00048l-HK; Wed, 27 Nov 2013 01:07:45 +0000 Received: from mail-pd0-x22f.google.com ([2607:f8b0:400e:c02::22f]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VlTZg-0003vy-F8 for linux-arm-kernel@lists.infradead.org; Wed, 27 Nov 2013 01:05:53 +0000 Received: by mail-pd0-f175.google.com with SMTP id w10so8771254pde.20 for ; Tue, 26 Nov 2013 17:05:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=e0TGi1n4qfpyMiRuON0OfkMFwqvkNQQKGOVHL32XSQI=; b=DFgC7PR9pEykcvzOp9VDZdGGZ+8JRZz9ur1oUAqVOWHbS/1/7gXfoAG1r4QmDwCZ6E dpIRwT4jbbkxvBtPOJ/GEEWwy8BIPbwVc2YSj2U+xNaMLsjeurpHDlb7CwZQcqMJvX0v hBd6KIV+a8Q1mXen2QUXl0SavXcdaTppIqZS77GeNZ6J4Jsm5cJpMOxlsW2I2Sfm55QF 3VyOf5kATyqWIkUH+piyLzGkxSFi7s7MER2DkH3/iha9+r0EGeL+n0vaDfsK4NNpwhmk /eUlZBj6Z6PPHNLGyweC7GKANJACBhzSuxcspJXYd4k8Y4FTqveTWSc4L+ZEnvMRxP9J J/PA== X-Received: by 10.66.121.131 with SMTP id lk3mr38735366pab.61.1385514330745; Tue, 26 Nov 2013 17:05:30 -0800 (PST) Received: from localhost ([149.199.62.254]) by mx.google.com with ESMTPSA id xe9sm94787139pab.0.2013.11.26.17.05.29 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 26 Nov 2013 17:05:29 -0800 (PST) From: Soren Brinkmann To: Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Russell King , Michal Simek , Daniel Lezcano , Thomas Gleixner Subject: [PATCH v2 8/9] arm: zynq: Don't use arm_global_timer with cpufreq Date: Tue, 26 Nov 2013 17:04:55 -0800 Message-Id: <1385514296-26702-9-git-send-email-soren.brinkmann@xilinx.com> X-Mailer: git-send-email 1.8.4.4 In-Reply-To: <1385514296-26702-1-git-send-email-soren.brinkmann@xilinx.com> References: <1385514296-26702-1-git-send-email-soren.brinkmann@xilinx.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131126_200552_650249_7C1F60D1 X-CRM114-Status: GOOD ( 10.20 ) X-Spam-Score: -1.9 (-) Cc: Soren Brinkmann , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, 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 The timer frequency of the arm_global_timer depends on the CPU frequency. With cpufreq altering that frequency the arm_global_timer does not maintain a stable time base. Therefore don't enable that timer in case cpufreq is enabled. Signed-off-by: Soren Brinkmann --- arch/arm/mach-zynq/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-zynq/Kconfig b/arch/arm/mach-zynq/Kconfig index 6b04260aa142..f84fab14f0b7 100644 --- a/arch/arm/mach-zynq/Kconfig +++ b/arch/arm/mach-zynq/Kconfig @@ -13,6 +13,6 @@ config ARCH_ZYNQ select HAVE_SMP select SPARSE_IRQ select CADENCE_TTC_TIMER - select ARM_GLOBAL_TIMER + select ARM_GLOBAL_TIMER if !CPU_FREQ help Support for Xilinx Zynq ARM Cortex A9 Platform