From patchwork Sun Apr 16 20:27:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 9683213 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 EBD0060138 for ; Sun, 16 Apr 2017 20:34:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D9C6427B81 for ; Sun, 16 Apr 2017 20:34:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CE97C27D0C; Sun, 16 Apr 2017 20:34:51 +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_SIGNED, DKIM_VALID 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 C4B9027B81 for ; Sun, 16 Apr 2017 20:34:50 +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=Ufe12wtWVlaRAgu/1QmhM7ueP2EogG1SYCGNjbV5ETA=; b=O31oK0cbNCJzgWtbbrp1dTkYTT Q4HIAdTZFahBMMwAEwkvPB+K9xmjNVFpdWdcmHymsCfX1drQ3L7WzkMZY2qC1B4mxJpQHck8ztxLG 9Oaw9SHy4wR1NFUGHP1dPfOKZHNLNmQDTsWVFHh0Xf+16YRCg+AENbbV6asvbxvojNmrImbiZ13Rk VJ8iRbvcSFobqTjdZJTd3U+GafFUzxo3cmO/Oct4KPWKsxqwQb0h2X81EcEWbckrkEDy8HA2XUN/m B72aR67JfgcPW1Dkv1MMtS6GqUr5pfYlxZMpn5iuQz+NPOnkY3t0HDN9P7ZCuRdFZvzMv8XhgaNRi lTo3YUCw==; 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 1czqsk-0004sU-EI; Sun, 16 Apr 2017 20:34:50 +0000 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1czqsS-0004IA-UU for linux-arm-kernel@lists.infradead.org; Sun, 16 Apr 2017 20:34:36 +0000 Received: by mail-wm0-x22f.google.com with SMTP id u2so22449461wmu.0 for ; Sun, 16 Apr 2017 13:34:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EbyvvggS7SmikhHLIkCnYcf1LHOWa80QJqHEpVqqk/A=; b=X3D1jCszWwgLaejvm5auldoD+QmhODDNS1/YngN+Ysa2r6qnrFujtXjKR3Ew5XHmFs 4sUIISxBEFaTtv3yILYJ8HQ3AbhTe9wh/s0qJituXPsU3gCr3FOT2+FtZmHXTlt1aVFk 4cpdGFtpWVl+4hdM6lfd32wpLJARFr64wHT44= 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=EbyvvggS7SmikhHLIkCnYcf1LHOWa80QJqHEpVqqk/A=; b=si9FoV1+74+LhAJ/Xjj75ND6VSHtAt1+rMeYGZg+30t0GIRTSgrBRJMCncLTNlCwHH Bf1f1EU+1CXF0snabqZFq/x9Ws1KrBnPqlq3j+28Iw2VSlGHSm/M/0E2xqxrv/HB0o6M eKeDAAkirCZl0PVhcoRC8oaXTT3TtTciZjXXbiqZ4SOnhqj6m21I0Ul5mEcd58Q8HNZN hHrVZrtVrGMJw5fMUMY90M0tDrsB9sIGB30zT4Qkq9I5H85nVChjwKY0ngWbL6QwAtCM nHwICzP8AGqz9glqCkYUfn+z1XIN+SyFDC4w1+yh9hv1k0+CQgf3W3Y719gxhuLJJtDw dJUQ== X-Gm-Message-State: AN3rC/5V6F6sGmvLll0nmneLKnrj40f1tQOObglH4R/sWRxEn4P1VySJ BtadfPu9IzurzIlA X-Received: by 10.28.128.197 with SMTP id b188mr6051444wmd.115.1492374529535; Sun, 16 Apr 2017 13:28:49 -0700 (PDT) Received: from mai.lan ([2001:41d0:fe90:b800:20c0:6248:a385:db35]) by smtp.gmail.com with ESMTPSA id 81sm7732196wmj.9.2017.04.16.13.28.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 16 Apr 2017 13:28:48 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de Subject: [PATCH 26/29] ARM: dts: rockchip: disable arm-global-timer for rk3188 Date: Sun, 16 Apr 2017 22:27:16 +0200 Message-Id: <1492374441-23336-26-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1492374441-23336-1-git-send-email-daniel.lezcano@linaro.org> References: <20170416202542.GV2078@mai> <1492374441-23336-1-git-send-email-daniel.lezcano@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170416_133433_434798_85AB39A2 X-CRM114-Status: GOOD ( 11.53 ) 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 , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Heiko Stuebner , Alexander Kochetkov , Russell King , linux-kernel@vger.kernel.org, "open list:ARM/Rockchip SoC support" , Rob Herring , "moderated list:ARM/Rockchip SoC support" 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 From: Alexander Kochetkov 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 Signed-off-by: Daniel Lezcano 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 8428fae..1aff4ad2 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 {