Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4066828ybi; Mon, 3 Jun 2019 05:15:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqxO06L5HXnIpzfBjjD48RmNTs5Oeny16Jt0xa6PDq9GjPQ0n1+8nrpQEXCL1TbqUYyrkTjd X-Received: by 2002:a17:90a:2562:: with SMTP id j89mr14921086pje.123.1559564138486; Mon, 03 Jun 2019 05:15:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559564138; cv=none; d=google.com; s=arc-20160816; b=ELZ6383GN3bUVEaneXgk0XtwNxN/xgMMGPCDElnsvYYHJo8AS2+6Oij0PoFriHcy7q qINXvcT341PP2yxa6BE04BxLFdT3y3/ETcdq+YTl/lWBTYJZytq+ek8kIHFEewdiQyVN aRx70IvqULUExxb3m7rcZGDJLWpFrpFgdVogfMRRaMFg5KfywMohtw8P7IY+STcG3Ddf gohtwxV9m1okZ4PudO7eUbPCTlEruZPTZsjNvzqC5XUayw3V2gVQjFIkHk4VNQqHsDqY HNH+AclcrDasqCEKfN96lYJpc1wf4JhKqAOxEeziJfv7L0BbJkZenpay5zi+TLjJUfi3 AU1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=PjN0az7QArZrmsQJmkJ/5qpl3C88tEWYXS2nv4TfJWw=; b=KkuGtQ3EjQFxgSPBgNqVbgfPtu/JLQA0895SsrAUHYUiBqjugCJg7h0ptVX+VLMBxo Zg3HjjE5eJB93emQYco/hoayH7Kln3tBhv/kKBQIcPKx9m8V54Yf13wlYi2ebPkMf2zu 3pvy9gbgfH6hQ4QjEQPWvfHx635oiBOl0whhxnteRsNvo8BkheLBDqskSh0vRyHu1sd9 /rGm0VA7PUGsGjNZChCA5SNhBazx4fLkhG6QWFskTNV0p3Tb2O265NhyiErtl18BEuSB rZodvMql8tjUt5B/A0wSViF/GgyDEVaMb5FaLSkuKZj4NlC3IDWnD5hNMATqygR0DaDc +3ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IazKRBbR; 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 100si18840956plc.415.2019.06.03.05.15.21; Mon, 03 Jun 2019 05:15:38 -0700 (PDT) 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=IazKRBbR; 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 S1728060AbfFCLPL (ORCPT + 99 others); Mon, 3 Jun 2019 07:15:11 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:41919 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727455AbfFCLPK (ORCPT ); Mon, 3 Jun 2019 07:15:10 -0400 Received: by mail-pf1-f193.google.com with SMTP id q17so10429815pfq.8; Mon, 03 Jun 2019 04:15:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=PjN0az7QArZrmsQJmkJ/5qpl3C88tEWYXS2nv4TfJWw=; b=IazKRBbRUmNjd+gZlH5rp0qxNAmfOqEDWyGOMhd76X7RWoJHjElGBr+iSEFeGn1/OO cjakAu0KPqFAaPfY1vl9Bs2C3d5Pii6nahyStziKn23bxL5kAoOTkBQwlQSTOGP/jV1J NqupfknUl95GuA0/CygMocoDIS5vb6ypSCRd5j0Jm4c+uudwzJ7TNfD95NMHV3cmtccA ecm4pyGUVL6wbEVFyYXTrfJmX1qAfqK1elVZKywYkCYQngjWApAHyjXvP4SXKLQH1N0L 3JsHSjGgDUOeqgTuFzIenuTjV+qFIZXYJWlc2Vd/Sv360sQXJnDbhRfKI/v/EBh5EU/V 6/Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=PjN0az7QArZrmsQJmkJ/5qpl3C88tEWYXS2nv4TfJWw=; b=LwxCfBNlFTSmtl7FK1YftFhZYt8C3a+nuBOcngRYtL6dqM2aFr1oHhJHL0PgjCFvPi qZ+do4nnXsjoTt7OeV64IO2blwRRsLUpT4X8MnCUV+I99AuLIHSXm4flwLIThBr6G/Fy WvGZVSxckILpYRE+TeN9S5rkUD8fI+4Np/LjEi13jWGGRBqmN4BXwQX2Tjzuq/8tN9RL 4VZkUC12p/4GiT+6NjGOQyTpD7VCMy4HYH6QSD1Zr6T4gyzJbJ0NinuWgiiTX1DVCE4u Ye5VYsKnmAc10f0RMNnMOwfM1F51oFl2VymQ8iY2//GOXriBijSYq8b4cosdrjFvbqDJ j42g== X-Gm-Message-State: APjAAAUtRsB3NbvCf7qqEcM75tQzzuWskNcPX86kzbY8C3mEFRT1AKRA taOWCKkbRBCRf2rKRlDNfoKXJDe3 X-Received: by 2002:a63:4045:: with SMTP id n66mr27322540pga.386.1559560510231; Mon, 03 Jun 2019 04:15:10 -0700 (PDT) Received: from [192.168.2.145] ([94.29.35.141]) by smtp.googlemail.com with ESMTPSA id v23sm15989449pff.185.2019.06.03.04.15.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Jun 2019 04:15:09 -0700 (PDT) Subject: Re: [PATCH v3 0/8] NVIDIA Tegra clocksource driver improvements To: Peter De Schrijver Cc: Daniel Lezcano , Thomas Gleixner , Joseph Lo , Thierry Reding , Jonathan Hunter , linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, Nicolas Chauvet References: <20190524153253.28564-1-digetx@gmail.com> <20190531082634.GA6070@pdeschrijver-desktop.Nvidia.com> <20190603071750.GA29894@pdeschrijver-desktop.Nvidia.com> From: Dmitry Osipenko Message-ID: Date: Mon, 3 Jun 2019 14:14:59 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190603071750.GA29894@pdeschrijver-desktop.Nvidia.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 03.06.2019 10:17, Peter De Schrijver пишет: > On Fri, May 31, 2019 at 03:33:41PM +0300, Dmitry Osipenko wrote: >> 31.05.2019 11:26, Peter De Schrijver пишет: >>> On Fri, May 24, 2019 at 06:32:45PM +0300, Dmitry Osipenko wrote: >>>> Hello, >>>> >>>> This series primarily unifies the driver code across all Tegra SoC >>>> generations. In a result the clocksources are allocated per-CPU on >>>> older Tegra's and have a higher rating than the arch-timer, the newer >>>> Tegra210 is getting support for microsecond clocksource and the driver's >>>> code is getting much cleaner. Note that arch-timer usage is discouraged on >>>> all Tegra's due to the time jitter caused by the CPU frequency scaling. >>> >>> I think the limitations are more as follows: >>> >>> Chip timer suffers cpu dvfs jitter can wakeup from cc7 >>> T20 us-timer No Yes >>> T20 twd timer Yes No? >>> T30 us-timer No Yes >>> T30 twd timer Yes No? >>> T114 us-timer No Yes >>> T114 arch timer No Yes >>> T124 us-timer No Yes >>> T124 arch timer No Yes >>> T210 us-timer No Yes >>> T210 arch timer No No >>> T210 clk_m timer No Yes >>> >>> right? >> >> Doesn't arch timer run off the CPU clock? If yes (that's what I >> assumed), then it should be affected by the DVFS. Otherwise I'll lower >> the clocksource's rating for T114/124/132. >> > > No. It doesn't. This is the big change between A9 and later CPUs. Thank you for the clarification, I'll add a patch to lower the rating where appropriate.