From patchwork Tue Jan 24 12:16:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alexander Kochetkov X-Patchwork-Id: 9535107 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 650516042C for ; Tue, 24 Jan 2017 12:21:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 536DA26E55 for ; Tue, 24 Jan 2017 12:21:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 45F5727D4A; Tue, 24 Jan 2017 12:21:52 +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.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_SORBS_SPAM, 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 DCA0926E55 for ; Tue, 24 Jan 2017 12:21:51 +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 1cW06d-0002vL-JE; Tue, 24 Jan 2017 12:21:47 +0000 Received: from mail-lf0-f65.google.com ([209.85.215.65]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cW03E-0007ce-Rp; Tue, 24 Jan 2017 12:18:19 +0000 Received: by mail-lf0-f65.google.com with SMTP id x1so17099106lff.0; Tue, 24 Jan 2017 04:17:56 -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 :mime-version:content-transfer-encoding; bh=Ey1Gugn/lRQrRuAg5kvwaqpWZSCPyt5j6T3EAEm5Bt8=; b=J5Tfa51YYz5oHqe0ONZ6RGdiW9l5LAh9j2if4LYqChPZiBQ/PSOBlqmCHEST80GCJ8 2sBQkpgwReM0PTw6LVJU0ngtw1rqhdev0kNwSc0Ive7+YtldXRxC/++1yEs5sqKzO2cQ RYtaxexsSXcv3y/8/QI8DndgAMc21cThKucdJykRkoCHfVv8PbbErCxMmyP0tZzGlHkx lZqTJivcuY+4kAXz/EogJz/etGXj4IKGbVdkw9fxVvL+vljfMF7zhWnh+62Mu4f2Xvfi 4tQApbsB2A/9fweIcHg9vWoz5q0R6OGH9Lwz5zpOqVjl0yjOYwJzY6ALcj2/il6UOV6m BGrQ== 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:mime-version:content-transfer-encoding; bh=Ey1Gugn/lRQrRuAg5kvwaqpWZSCPyt5j6T3EAEm5Bt8=; b=CJO+LDubiTNquHpoF9kHJ/ieNMPcFf0b9pys/1qvyjEzX/p8MiG9lOmM6VLjfazw5d SxunA6xwoA4VYpxYnlrxasrbjeFysaQPgggnRxutY5eF6OJTPy2DgGHL4KwF9H3kL+JV 1a/72tgHcEkEzqTYqCZknwfajOxHdREqKr4Jzcc/4mNMbx2l0fkul6k61SRoL9zoeMeZ mrmKKI4z/mwuZakYuuetTpMqOyi6nbp5UwCKNUx0JwkwrWh2S0oqmvx5E+v8Puume/ri g/h/EYrVQcQROP9ighBZv+EdeWM9seWfENO9XD8z2c4/HO6dxG24FW9ZYSYKInyt4Ty6 8Avw== X-Gm-Message-State: AIkVDXI3P7Ce+OsF3PXVDSrRFzBn/ZCHDoomQ7bPefLndbuibuFAgDnEEOPObQa08v2rFQ== X-Received: by 10.25.168.132 with SMTP id r126mr4600620lfe.70.1485260214767; Tue, 24 Jan 2017 04:16:54 -0800 (PST) Received: from ubuntu.lintech.local ([185.35.119.87]) by smtp.gmail.com with ESMTPSA id e86sm7348934lji.32.2017.01.24.04.16.53 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Jan 2017 04:16:54 -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 v5 4/8] ARM: dts: rockchip: disable arm-global-timer for rk3188 Date: Tue, 24 Jan 2017 15:16:39 +0300 Message-Id: <1485260203-14216-5-git-send-email-al.kochet@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1485260203-14216-1-git-send-email-al.kochet@gmail.com> References: <1485260203-14216-1-git-send-email-al.kochet@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170124_041817_098892_09A2FDA2 X-CRM114-Status: GOOD ( 12.00 ) 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 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 clocksource and shed_clock provided by arm-global-timer is quite unstable, because their rate depends on cpu frequency. So disable arm-global-timer and use clocksource and sched_clock from rockchip_timer. It is impossible get stable clocksource having rockchip_timer and arm-global-timer enabled at the same time. Because arm-global-timer looks like a better candidate for the kernel: it has higher frequency and rating. Disabling arm-global-timer doesn't leave kernel without clockevents as there is another clockevent provider (smp-twd). Signed-off-by: Alexander Kochetkov Reviwed-by: Heiko Stübner --- 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 bcf8e03..f677130 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 {