From patchwork Tue Mar 11 22:40:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 26058 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 16CE620068 for ; Tue, 11 Mar 2014 22:42:10 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id wn1sf35819025obc.9 for ; Tue, 11 Mar 2014 15:42:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=wO3rl7mDGQaWEm7TMZPAnPpeimZWJPFQSiwYANWVicc=; b=J0Z/JRdGVJidxu440FbDrdg9uaDHni/h9jY0LOGXT9HOu0WK7n1KbxQ+DC/otInzD0 C0MTHFs1NDT5OFt7JFk4NO1Y3WN3DZydVvee2I9BGN8T4jcFY0B/m3aVcbF1buifgWk5 TdqWI95n4jfCDZ8pnW1HWhTfiW+LOaB8HovKctEnif9PWmovpZRoF7rGC9dLu4JT1Xqn /vWdH9ErjnKahWjwzFAZ2SUsQfH+wJs3foTtMzaKO03iVjziWx2t6MbWXkMDJl2IS5dg lzuHktowF3y4ZLRhKZG6gwkh0v6PP+SpEZWid0jUkGIxs/mOrtjUh+FziMgDDjxApUyt g2vw== X-Gm-Message-State: ALoCoQlQEsUTfb43LaYeWJxpRAhtu/zbyIe0VGujonw0sBvEPz8BMkTQYrBq3jNh0W2nmVOYW4FT X-Received: by 10.42.51.141 with SMTP id e13mr15626849icg.28.1394577728590; Tue, 11 Mar 2014 15:42:08 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.39.202 with SMTP id v68ls2602151qgv.88.gmail; Tue, 11 Mar 2014 15:42:08 -0700 (PDT) X-Received: by 10.52.251.199 with SMTP id zm7mr20110891vdc.21.1394577728390; Tue, 11 Mar 2014 15:42:08 -0700 (PDT) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id e9si6211795vct.34.2014.03.11.15.42.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Mar 2014 15:42:08 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.170; Received: by mail-ve0-f170.google.com with SMTP id pa12so9478613veb.29 for ; Tue, 11 Mar 2014 15:42:08 -0700 (PDT) X-Received: by 10.221.55.133 with SMTP id vy5mr29540710vcb.17.1394577728307; Tue, 11 Mar 2014 15:42:08 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp238842vck; Tue, 11 Mar 2014 15:42:07 -0700 (PDT) X-Received: by 10.68.161.101 with SMTP id xr5mr749724pbb.168.1394577727349; Tue, 11 Mar 2014 15:42:07 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id mp8si350769pbc.112.2014.03.11.15.42.06; Tue, 11 Mar 2014 15:42:06 -0700 (PDT) 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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756118AbaCKWlS (ORCPT + 26 others); Tue, 11 Mar 2014 18:41:18 -0400 Received: from mail-wg0-f48.google.com ([74.125.82.48]:34890 "EHLO mail-wg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756003AbaCKWlP (ORCPT ); Tue, 11 Mar 2014 18:41:15 -0400 Received: by mail-wg0-f48.google.com with SMTP id l18so6427115wgh.19 for ; Tue, 11 Mar 2014 15:41:14 -0700 (PDT) X-Received: by 10.180.11.36 with SMTP id n4mr4915178wib.4.1394577674406; Tue, 11 Mar 2014 15:41:14 -0700 (PDT) Received: from localhost.localdomain (AToulouse-654-1-526-136.w109-220.abo.wanadoo.fr. [109.220.245.136]) by mx.google.com with ESMTPSA id n3sm10411631wix.10.2014.03.11.15.41.12 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Mar 2014 15:41:13 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de, mingo@kernel.org Cc: linux-kernel@vger.kernel.org, dan.carpenter@oracle.com, ezequiel.garcia@free-electrons.com, ivan.khoronzhuk@ti.com, linus.walleij@linaro.org, magnus.damm@gmail.com, matthias.bgg@gmail.com, soren.brinkmann@xilinx.com, sboyd@codeaurora.org Subject: [PATCH 15/17] arm: zynq: Don't use arm_global_timer with cpufreq Date: Tue, 11 Mar 2014 23:40:51 +0100 Message-Id: <1394577653-8615-15-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1394577653-8615-1-git-send-email-daniel.lezcano@linaro.org> References: <531F8FAC.2040902@linaro.org> <1394577653-8615-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Soren Brinkmann 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. Cc: Russell King Signed-off-by: Soren Brinkmann Signed-off-by: Daniel Lezcano Acked-by: Michal Simek --- 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 6b04260..f84fab1 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