From patchwork Sun Apr 16 20:27:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 9683229 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E0B0160388 for ; Sun, 16 Apr 2017 20:59:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF66127317 for ; Sun, 16 Apr 2017 20:59:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C41CB27D4D; Sun, 16 Apr 2017 20:59:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2388127317 for ; Sun, 16 Apr 2017 20:59:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=MghPBePsEVfzGtoap4Yv5931T2oQxmof9rgJmkq5Tvc=; b=Yq4BGpvlbUecddTBI/hSM7TTCz VUnQsBE56MQS5SDYAvZT+kz8loh0ou7LBjdQYJFIkrjxa+eUSKASyjqu6XYIuX4ERze7IqUS1CeCE /5kIKXuudgLWmxwwwpjkpcRjMK/A0sJZQLvsk025ldtZ1NUd1NoaFyjwfoLDcR6W9P8uQ4T7Rq8Tj Iw2ZEPUnVmEvRMNs6zmCOa2iqfgidAXFTfgHMgTPpG2mwORvM+OdmVnlVupV0DwibIt4zi3Mj26d2 NyLthHQ7sowSwrzMVMIE/URR8Ph1p/VbhxLOuD1tccVvG+GUo+VE9Z8Wis5jSYesETdcMuYY0vjzl okMYd5zw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1czrGI-0006zP-Ij; Sun, 16 Apr 2017 20:59:10 +0000 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1czrGF-0006vy-0e for linux-rockchip@lists.infradead.org; Sun, 16 Apr 2017 20:59:09 +0000 Received: by mail-wm0-x22e.google.com with SMTP id t189so22681436wmt.1 for ; Sun, 16 Apr 2017 13:58:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EbyvvggS7SmikhHLIkCnYcf1LHOWa80QJqHEpVqqk/A=; b=X3D1jCszWwgLaejvm5auldoD+QmhODDNS1/YngN+Ysa2r6qnrFujtXjKR3Ew5XHmFs 4sUIISxBEFaTtv3yILYJ8HQ3AbhTe9wh/s0qJituXPsU3gCr3FOT2+FtZmHXTlt1aVFk 4cpdGFtpWVl+4hdM6lfd32wpLJARFr64wHT44= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=EbyvvggS7SmikhHLIkCnYcf1LHOWa80QJqHEpVqqk/A=; b=BiZa4xpk7ocFZxdsgi6WGL6CkEjgnOyMr7xdukKpCAKy8Yu5f0jIq4iV1o/jBFInfB biEuiEmFVHJWEvSKimT/LLOChy84RiHKjKUwgn44mizDiBfCqMA/iIeokc5Xo1+M0Tmr qTn3MwgVSkBpblKotq93aGhZEFjoSq2kH1QWnToFMxZ8virDjhn086bdu/kf9Y9rf3bY 061FhpvzfqhV/cP9SLWcqO3MdwQKvTMtvwjg+0XAYj5NQbkWllo9pn4XqzGDYuGdau3v MSe3u02Jx9wZjpCX4DCijMwhYGtdi2L2IwSLDJQ1gnt2bNqvg6T9T4PV5zhr2KRu2Q/v hOzQ== X-Gm-Message-State: AN3rC/5AuyD3WAB6YziLEysTWpOG+8hBGfZ0i3vzfha5QQJR3tyS24gv RSXRK+ztmsmXwAOa7OKceg== X-Received: by 10.28.128.197 with SMTP id b188mr6051444wmd.115.1492374529535; Sun, 16 Apr 2017 13:28:49 -0700 (PDT) Received: from mai.lan ([2001:41d0:fe90:b800:20c0:6248:a385:db35]) by smtp.gmail.com with ESMTPSA id 81sm7732196wmj.9.2017.04.16.13.28.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 16 Apr 2017 13:28:48 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de Subject: [PATCH 26/29] ARM: dts: rockchip: disable arm-global-timer for rk3188 Date: Sun, 16 Apr 2017 22:27:16 +0200 Message-Id: <1492374441-23336-26-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1492374441-23336-1-git-send-email-daniel.lezcano@linaro.org> References: <20170416202542.GV2078@mai> <1492374441-23336-1-git-send-email-daniel.lezcano@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170416_135907_212767_82EFBC33 X-CRM114-Status: GOOD ( 10.11 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Heiko Stuebner , Alexander Kochetkov , Russell King , linux-kernel@vger.kernel.org, "open list:ARM/Rockchip SoC support" , Rob Herring , "moderated list:ARM/Rockchip SoC support" MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Alexander Kochetkov The clocksource and the sched_clock provided by the arm_global_timer are quite unstable because their rates depend on the cpu frequency. On the other side, the arm_global_timer has a higher rating than the rockchip_timer, it will be selected by default by the time framework while we want to use the stable rockchip clocksource. Let's disable the arm_global_timer in order to have the rockchip clocksource selected by default. Signed-off-by: Alexander Kochetkov Signed-off-by: Daniel Lezcano Reviewed-by: Heiko Stuebner --- arch/arm/boot/dts/rk3188.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/rk3188.dtsi b/arch/arm/boot/dts/rk3188.dtsi index 8428fae..1aff4ad2 100644 --- a/arch/arm/boot/dts/rk3188.dtsi +++ b/arch/arm/boot/dts/rk3188.dtsi @@ -546,6 +546,7 @@ &global_timer { interrupts = ; + status = "disabled"; }; &local_timer {