Message ID | 1480427118-5126-6-git-send-email-al.kochet@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 932B160710 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 29 Nov 2016 13:50:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8559B27F93 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 29 Nov 2016 13:50:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 79D4B2811E; Tue, 29 Nov 2016 13:50:43 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0D35628325 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 29 Nov 2016 13:50:43 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cBilz-0001Od-U0; Tue, 29 Nov 2016 13:48:39 +0000 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cBijH-0007Sv-As; Tue, 29 Nov 2016 13:45:55 +0000 Received: by mail-lf0-x243.google.com with SMTP id p100so12711552lfg.2; Tue, 29 Nov 2016 05:45:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yfJppSR1TYVHDI9PGZzxYBfGXr/w7XEm+BWcPyveGcU=; b=X/i2RvzuoLCf477FOLyANJGwiF7+0zY4OvFtrQRAxrZeWGyzNJzC3RPxqLZHl5HZy3 OnCg2Fj2CoJ0LSZDeybgreZx8LNis/ZCdGzS2jtuWyZmnoTEw2YEeCCTg3KQFHxo8peW 1XBrcdOHmqAJmxwNPaK3aAtbtMLp9c33Uhfvr9b/oqLjIy1y0EK/IhvIzzqdh58Bm/b/ kCupewNFKB3U4EgwrRnw0ou91/+HupqcBePZQDX6xe6Lq/jkQJQTpknaHZWotMbHxmws G6bx7+p+nYHAp36E9iCPXqp4EgZsPXjXRoPSnDhSMRwWS9tEgzjpOzO+jLZ/eRRYV39q mOLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yfJppSR1TYVHDI9PGZzxYBfGXr/w7XEm+BWcPyveGcU=; b=NLmoXDbYi+3GwSMFwEWLalnuJqxkBrEJ4uW/T6fV4oyVehx5U/tB7RLma+M0gXD51N u15E1qSjtSZrWWP8vdhbYeT2IqUUs/C5Rr7ctAnavEL1iIY/Q03AmTxKYf5ZFkmjAbzy X8e8RamlIqm0w1+PDXSEhoJSrLFNvKH4ATy0LoanCJuRGRJsxjIfhcfQk9xdgT3neTbQ 2y2UXJS58tU6UF1UJdYow7rn0qXKdLZNds3ymwOhM/5vbjNpsTwyeWTWUWLzHw+V7F2H 7iN3Mh8jY9/NUrhBwiAG15vIuIDWNW3DqnL/Tiwgs/2576TJB2sDvMzOcQYiHHMuROjs d5RA== X-Gm-Message-State: AKaTC01iy89OPPD4EDMmQUVCj9b/39scIgjtteDi61ZA9e6BPxddQvTG7QpcW5ez8cOspA== X-Received: by 10.25.206.3 with SMTP id e3mr10911508lfg.42.1480427129056; Tue, 29 Nov 2016 05:45:29 -0800 (PST) Received: from ubuntu.lintech.local ([185.35.119.87]) by smtp.gmail.com with ESMTPSA id y3sm250543lfj.42.2016.11.29.05.45.28 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 Nov 2016 05:45:28 -0800 (PST) From: Alexander Kochetkov <al.kochet@gmail.com> To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH v3 05/13] ARM: dts: rockchip: disable arm-global-timer for rk3188 Date: Tue, 29 Nov 2016 16:45:10 +0300 Message-Id: <1480427118-5126-6-git-send-email-al.kochet@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1480427118-5126-1-git-send-email-al.kochet@gmail.com> References: <1480343486-25539-1-git-send-email-al.kochet@gmail.com> <1480427118-5126-1-git-send-email-al.kochet@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161129_054552_035604_B98776C9 X-CRM114-Status: GOOD ( 11.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Mark Rutland <mark.rutland@arm.com>, Huang Tao <huangtao@rock-chips.com>, Heiko Stuebner <heiko@sntech.de>, Alexander Kochetkov <al.kochet@gmail.com>, Daniel Lezcano <daniel.lezcano@linaro.org>, Russell King <linux@armlinux.org.uk>, Rob Herring <robh+dt@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, Caesar Wang <wxt@rock-chips.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
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 = <GIC_PPI 11 0xf04>; + status = "disabled"; }; &local_timer {
arm-global-timer can provide clockevents, clocksource and shed_clock. But on rk3188 platform it provide only clocksource and shed_clock. clockevents from arm-global-timer is not used by kernel because there is another clockevent provider with higher rating (smp-twd). My commit from the series implement clocksource and shed_clock using rockchip_timer. But sched clock from rk_timer is not selected by kernel due to lower frequency than arm-global-timer, and clocksource from rk_timer is not selected by kernel due to lower rating than arm-global-timer. And I don't want to increase clocksource rating because ratings greater than 300 used for high frequency clocksources. clocksource and shed_clock is quite unstable, because their rate depends on cpu frequency. So disable arm-global-timer and use clocksource and sched_clock from rockchip_timer. Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com> --- arch/arm/boot/dts/rk3188.dtsi | 1 + 1 file changed, 1 insertion(+)