Received: by 10.223.185.116 with SMTP id b49csp1994264wrg; Sun, 4 Mar 2018 15:22:24 -0800 (PST) X-Google-Smtp-Source: AG47ELtA3Nfibo81iIiOwlg4XbNs5lv2t0dLUU+rNgvkzxv9zy8LvT2ucaXzHJVZEB+H1bVZc+bt X-Received: by 10.98.31.155 with SMTP id l27mr13418324pfj.176.1520205744760; Sun, 04 Mar 2018 15:22:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520205744; cv=none; d=google.com; s=arc-20160816; b=WkVLW5qL2U92JYXULjQtXNb1nCFNa9yHCUqjdYgLd+lCqrQvtpAGONYYpciH6GhfHu /epYOecnyhGl87vQINtkIS2fPBZbQwaAvI+nMYlLXdb84V+5NOK8A/JGoFd5y70UvPEk lFlgXpnIFXTPxqW8tyx/WKiwc61SecXZDKZycAWVOQqPlNwL41nt422xiNPJi2t3mUj8 s5cyhAayJUPH5rVeID8OtEaWZqnQGXP4w+pujs5lDZuQ5HqFO3L+6nCuD5fSc6KcJOJW sHAD8XmszHzRIkkP0fZ3hOpwMo6EcKciEYfn+XhTmAnhRaR+uM7knJ1DbbCZrCg8UYY4 SfHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature:arc-authentication-results; bh=28ahyERRPZCsqsKGwx4cbFbxX8QWAz6Qp41p+S5M3OQ=; b=Q6Vzh43NSLz3U3P2zNYYPMC+X7mnFu2y9x8KVPTdFrE1+LeBHks6ttp+kUB9orDa18 JYZnaJJUJ4S22kxQg9mOWAr3P97OubIHFT0j6+o5O3L/gUECkJbWZBTVnDzie+9T5C6Z NSQRFRSOlDS1sHdj1MrJx4sHSKvseY81ffs8iYQt/y+/57f9JHpNzWZwm6ZuSFAHwJxp P91bshZhnHuPIJmlUhVWTjflZYkajRW+QF1YlEr5hJKObaJ2U81PlHM9gGD6SJvrj5rA IlFl0BC+CtmZBBwltdfhwMyJ+sizyQ1GknTz1d+cjShLMq5bbGxXYH724qvCDe8vWTZt TO6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N/pjJkyX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z22si9109515pfa.4.2018.03.04.15.22.10; Sun, 04 Mar 2018 15:22:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N/pjJkyX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932592AbeCDXUP (ORCPT + 99 others); Sun, 4 Mar 2018 18:20:15 -0500 Received: from mail-lf0-f65.google.com ([209.85.215.65]:42113 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932512AbeCDXUM (ORCPT ); Sun, 4 Mar 2018 18:20:12 -0500 Received: by mail-lf0-f65.google.com with SMTP id t204so20457953lff.9; Sun, 04 Mar 2018 15:20:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=28ahyERRPZCsqsKGwx4cbFbxX8QWAz6Qp41p+S5M3OQ=; b=N/pjJkyXTRuPv/DWD6X7U/QPyfXfLoPEUov52i/s2Znq1e1E7UTSvuAGtLMEq9SnRj msNfaSaptYVB5k8u2vPh93ws1S5i9O9IOA+48p7LBGrfM7IuWDzf5i01fcOP9/rlqfQ0 jg5lLj1ddca01qNp2Jz7QJuWVRXaopZYJ/2wnmJK4SJfqsc1B8WeAPmMWyLg7LTo78s2 nfzyisGdr7k8ITPe0htADHN2eQpcSid68v1nqDZ9PSgQFP+UQsy8n26Xmqhm/1PW+Bf2 RQHkX67mneRppKmOVA+fqoP3nRINQJOeWUxso/OMKmWeDpTbCUQpNvbW8d4DYxala4f9 8b2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=28ahyERRPZCsqsKGwx4cbFbxX8QWAz6Qp41p+S5M3OQ=; b=Uijo29SJIuclrKLQnICx8kXR4w5+vgOn/zVss773anQsQ6Jzr/UyfyvUtAKeMvgCgc jNyIZJXRXeTUqni07aovwAspN01iKVDhCl8EOTrw+f07vnynLmq5iSim83otE7rHOyHa 4I4X15oCJIDO0SB3APR1nU2Oqy9eSftHkET0dxi/6r3Yi60bAtYrPm3oMcCoa5NRXlyZ TEONzoH6AiaiMgFb6P9A1kHCd9/1rAz3fNldBvFS2zmjL/GXTKjqi8/bpB84IqF6KPkJ e3h/EmVaCTU5j9LZ6R+zg/qf13VeGC9v/A1g+NX0r24f5ZtMFuLXXIv21JZ7ULeBKV2s SGGQ== X-Gm-Message-State: AElRT7EQZ/no+NsJpk4rjUG9HgTMgStZfDi4z4hpSBiJKNSK2YVFoU8T tLgOxOk/vhzAZXC4nvwcnNM= X-Received: by 10.46.62.11 with SMTP id l11mr8986139lja.25.1520205610377; Sun, 04 Mar 2018 15:20:10 -0800 (PST) Received: from [192.168.1.35] ([79.164.63.174]) by smtp.gmail.com with ESMTPSA id r23sm2439460ljr.42.2018.03.04.15.20.09 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 04 Mar 2018 15:20:09 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [PATCH AUTOSEL for 3.18 34/63] ARM: dts: rockchip: disable arm-global-timer for rk3188 From: Alexander Kochetkov In-Reply-To: <20180303223228.27323-34-alexander.levin@microsoft.com> Date: Mon, 5 Mar 2018 02:20:09 +0300 Cc: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , Daniel Lezcano Content-Transfer-Encoding: quoted-printable Message-Id: <3545DF61-48DF-4C70-9E58-2D9D07BB64E5@gmail.com> References: <20180303223228.27323-1-alexander.levin@microsoft.com> <20180303223228.27323-34-alexander.levin@microsoft.com> To: Sasha Levin X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Sasha! Following 2 patches must be applied together with the patch: 5e0a39d0f727b35c8b7ef56ba0724c8ceb006297 = clocksource/drivers/rockchip_timer: Implement clocksource timer 627988a66aee3c845aa2f1f874a3ddba8adb89d9 ARM: dts: rockchip: Add timer = entries to rk3188 SoC Alexander. > 4 =D0=BC=D0=B0=D1=80=D1=82=D0=B0 2018 =D0=B3., =D0=B2 1:33, Sasha = Levin =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0= =D0=BB(=D0=B0): >=20 > From: Alexander Kochetkov >=20 > [ Upstream commit 500d0aa918a2ea6bb918fee8adcf27dc2912bcd1 ] >=20 > The clocksource and the sched_clock provided by the arm_global_timer > are quite unstable because their rates depend on the cpu frequency. >=20 > 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. >=20 > Let's disable the arm_global_timer in order to have the rockchip > clocksource selected by default. >=20 > Signed-off-by: Alexander Kochetkov > Signed-off-by: Daniel Lezcano > Reviewed-by: Heiko Stuebner > Signed-off-by: Sasha Levin > --- > arch/arm/boot/dts/rk3188.dtsi | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/arch/arm/boot/dts/rk3188.dtsi = b/arch/arm/boot/dts/rk3188.dtsi > index ddaada788b45..72b0b4cb538f 100644 > --- a/arch/arm/boot/dts/rk3188.dtsi > +++ b/arch/arm/boot/dts/rk3188.dtsi > @@ -404,6 +404,7 @@ >=20 > &global_timer { > interrupts =3D ; > + status =3D "disabled"; > }; >=20 > &local_timer { > --=20 > 2.14.1