From patchwork Tue Jan 31 12:43:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kochetkov X-Patchwork-Id: 9547127 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 5BD6F604A0 for ; Tue, 31 Jan 2017 12:45:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E09E28307 for ; Tue, 31 Jan 2017 12:45:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 431F928375; Tue, 31 Jan 2017 12:45:20 +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.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,T_DKIM_INVALID autolearn=no 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 19FCD28307 for ; Tue, 31 Jan 2017 12:45:20 +0000 (UTC) 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 1cYXoE-0005B1-F6; Tue, 31 Jan 2017 12:45:18 +0000 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cYXn4-0002Fp-7Z; Tue, 31 Jan 2017 12:44:17 +0000 Received: by mail-lf0-x244.google.com with SMTP id v186so33848380lfa.2; Tue, 31 Jan 2017 04:43:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Lh2vpnz4UUToB2ojeUqhpL6T+apqm7EfzyVjY9KvbiE=; b=Jd5sj2CGDlyCABtYZiEwLa7+1uX9U00nRb6pT4654ICe/SY7aMpK23MnhHQrWW9//Z aB82xnQNX+XFZ2lWFeLHwU0PLEjG17c0wSzxrxyOqKcmNws/KOoWij+BkBP7BoI3HEQQ 8YYJzgngYZj2fHQtG5+AiQHgBkb6mlswSRW6JjK07+TAKr5IkdA0+T7d6Ec2mNvAErqV 997OR7Bh5wfpxzdkYohxRulLRjx/bb+t3R2sBGd5DIPxtV5d1QUIvM/fQyhT0v1P9boa FFrIFB3pVkRhMJCfcd428ff2D8dpyP/ZULXpNF3WNTCUJxiR2LKP8ic602QQLToEXxDI QecQ== 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=Lh2vpnz4UUToB2ojeUqhpL6T+apqm7EfzyVjY9KvbiE=; b=jSOc6FYe5uHu1i25AzpBlkdFHgpPm4u1x1b2w57pOqs/8X8x5R0iaT0oOCsSXAkXY/ j7nev7H5mQ7qfBeTrYRpx1vLcK5fB8qAduy4EXCOWZJrtix1eagxrfg1HYlguI865hqX MLvrJTx408eKhyqmV6mInpL3iItFZkYuXVJ8tCcW/tDm5FSHJsHen+76ipMBv0iAk6B4 gTaOEIDpV2653F8LwmFKtAZAAvHzUYgNy4HCJ/3SAy4Y0gcp0c+VxPIxR744dQNBH6+k bJJ0T2Y3Hobd3FFlbSfQ36Nb8iXDb4ip+4ZfxejfGYj0xOxrzQPl/BuNPfoZjdTijRw9 SGag== X-Gm-Message-State: AIkVDXJAcdi0XAA8TT3OxHEFFMZTKfIbIEITbsKIVC0W5HVAZN4364Df5VNJDjeqIlDSbQ== X-Received: by 10.25.19.67 with SMTP id j64mr9067486lfi.34.1485866624164; Tue, 31 Jan 2017 04:43:44 -0800 (PST) Received: from ubuntu.lintech.local ([185.35.119.87]) by smtp.gmail.com with ESMTPSA id j11sm4476513lfd.23.2017.01.31.04.43.43 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 31 Jan 2017 04:43:43 -0800 (PST) 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 Subject: [PATCH v6 5/5] ARM: dts: rockchip: disable arm-global-timer for rk3188 Date: Tue, 31 Jan 2017 15:43:16 +0300 Message-Id: <1485866596-32254-6-git-send-email-al.kochet@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1485866596-32254-1-git-send-email-al.kochet@gmail.com> References: <1485866596-32254-1-git-send-email-al.kochet@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170131_044407_135383_BD0ED2FB X-CRM114-Status: GOOD ( 10.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Huang Tao , Alexander Kochetkov , Russell King , Rob Herring , Thomas Gleixner , Caesar Wang MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 0dc52fe..44da3d42 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 {