Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934638AbdCVP6j (ORCPT ); Wed, 22 Mar 2017 11:58:39 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:34399 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760475AbdCVP6B (ORCPT ); Wed, 22 Mar 2017 11:58:01 -0400 From: Alexander Kochetkov To: Daniel Lezcano , Heiko Stuebner , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Thomas Gleixner , Mark Rutland , Rob Herring , Russell King , Caesar Wang , Huang Tao , Alexander Kochetkov Subject: [PATCH v7 7/7] ARM: dts: rockchip: disable arm-global-timer for rk3188 Date: Wed, 22 Mar 2017 18:48:34 +0300 Message-Id: <1490197714-25415-8-git-send-email-al.kochet@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1490197714-25415-1-git-send-email-al.kochet@gmail.com> References: <1490197714-25415-1-git-send-email-al.kochet@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 918 Lines: 30 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 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 a20d501..c316468 100644 --- a/arch/arm/boot/dts/rk3188.dtsi +++ b/arch/arm/boot/dts/rk3188.dtsi @@ -548,6 +548,7 @@ &global_timer { interrupts = ; + status = "disabled"; }; &local_timer { -- 1.7.9.5