From patchwork Wed Mar 22 15:48:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kochetkov X-Patchwork-Id: 9639323 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 7845B6020B for ; Wed, 22 Mar 2017 16:02:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 68AF31FF26 for ; Wed, 22 Mar 2017 16:02:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5CA0C28459; Wed, 22 Mar 2017 16:02:48 +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_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM 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 F35241FF26 for ; Wed, 22 Mar 2017 16:02:47 +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=q9N8PP8h5lrGn6MBdwPjod4fxZVy23xnQPSEfUt1Djk=; b=WI22uCP/L+QJsVj+tAeMvpHdCI aJxN1fPkON2ktMlXza6zMoUEdoJQVLMxZPpTcjFjti2dwC/rxLHh87+xrNrJTuV+Ne02UQxxc0pId trFTarCBqS7X0o8U3hKkl0Kjat2WboyMqOjjaidzKJDbKP8K1l9MdG6rure6Q5I7o38AFmVu3lEAd EBUi+AMFH2iQ6rTf89p4OIXCMH+4MW6xxfSi19i52J+OhoLHRP//aDR61+5zUaU1ICDsdPGcaQtLq 4FF4Iz2qkbKW5vQoz+tdzh1ORYDsWSaKCfE1yL6bRpE/ocbGx/NezHAjzJtjZYb9yOpr+3kIDv6LY pdk1KdUQ==; 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 1cqiil-0002YP-8C; Wed, 22 Mar 2017 16:02:47 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqiVX-0000ey-QF; Wed, 22 Mar 2017 15:49:13 +0000 Received: by mail-wm0-x244.google.com with SMTP id n11so10783570wma.0; Wed, 22 Mar 2017 08:48:48 -0700 (PDT) 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=BeF8xygfA5X30hbJYwYOKrD9FoXUbDadKqUjd5sdFbw=; b=N/AxCCts5G7oWphWfdYQNQPEznSNHrfsm0QCRK4s3qCsvgYXGZmLTdaz9p02zope03 kziAfBwWQNVH5zpqYSzP/nzuSIG3orYF36s6ajDaREpSt//kNA797GrLC3z4A7pptP4A imsyK8C4YZOMJqz4/AYd5b/wcUCtJSF0XvGShXSeF1T1N5WbXmmGEt2YjRSVZDeYuJDi yekew9UXn/K68tv8hhNppY4j1NG3QL8kG4uzcEq+mpMH85C4c7MFzG5EXC0dh9vgcy7I 2tzdPKwExowXYnIlDbdBnSHCnFn0kcX61zlv5UP7X7et8IGKQjQ4wByvdLfH8SYxHfet 67UQ== 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=BeF8xygfA5X30hbJYwYOKrD9FoXUbDadKqUjd5sdFbw=; b=ujpMGNxqJ2sG0y08IUolnAnLm8tPoQ40DxPROXp8S049kgK2awJZh4jj3d7g+8V4XK AK5w9bVcfqkckld8cG02UVscyE1sSWmjgnGQL816CmFzK7Jq7z5RBdKUR7/koxwXGf1C XOLay8bCL2HDSJD3z6377Ag8CYTUckaokmjwHvbZk0EUQC9I+KboFRp1+qEzGV0qfPfc TLk09V1jlSj/gFlhlnnUqXbvFpOf2PWMiErVtBKDonARYYncJ0BAqr8VwPF9uG1CQhzk rOxrMaqFffBQ63p2S3XDa7PrJxLCN6fgfGH79+aKxJwfjpHpVg49Z9MVDIMyEtt8gmNv UM3g== X-Gm-Message-State: AFeK/H046eud1hT68xrwDxSaCWzRQ3EE5Cw1EMxjyMWbZwoqWmOpGCdtuXYOosawU1DTBQ== X-Received: by 10.25.152.9 with SMTP id a9mr9389736lfe.155.1490197727598; Wed, 22 Mar 2017 08:48:47 -0700 (PDT) Received: from ubuntu.lintech.local ([185.35.119.87]) by smtp.gmail.com with ESMTPSA id p27sm591898lfg.5.2017.03.22.08.48.46 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Mar 2017 08:48:46 -0700 (PDT) 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170322_084908_489184_518A3120 X-CRM114-Status: GOOD ( 10.28 ) 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 , Huang Tao , Alexander Kochetkov , Russell King , Rob Herring , Thomas Gleixner , Caesar Wang 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 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 {