Received: by 10.213.65.68 with SMTP id h4csp1634872imn; Thu, 29 Mar 2018 08:13:08 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+l/zAkXK86vp38mzZ/6jUnF1yqGn3TDTUpgVgYcjknUcIPjkGgdf1LGOE5tT00t76xY9+f X-Received: by 2002:a17:902:7201:: with SMTP id ba1-v6mr8905836plb.0.1522336388374; Thu, 29 Mar 2018 08:13:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522336388; cv=none; d=google.com; s=arc-20160816; b=TZZU4sag/EyGIRn0c3IQoaNcioqKP4ERb0drwyDBArTGnOT5zvk7Ze4NmoAoAb3Ppz whZc+hYotP+vhenODdes4AUijo6LLE6nOgpGylaqq+1h5eJQG9UgOZIT55gsQ9Jy67oE XsitljeJcrq17ryDNl/Dvw7g6TvxP65FRxHin0o5klRaNkDHoLH0w1IudDCEyMLv3mG9 fGcbgKjJtmHQErSaEnI14NcbWDAWs8wQ5xikNaK3RJ0I/UQoFS425snh8dW3dHViR3dx WdqYAP06E+eVz07J8icdw9muU4YF2pxU6bNCBFtR0XdS8/0Fqhpr9k1xaMlvxPhUXpN4 XsBg== 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:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=XVnmkpHNtX7uvVf3ft8tgxPEKFwU/NRgWBsFYeuYWtw=; b=pS7mL30X+bQCC8mJB3etpvmPDv4YA/terFn3RvzLrifgBaCLxqzAHJ+uH3vaIv6esd zDgugsnnzZVopiFMU+AhPqg40LfPGvTj7RGX8WQk2wYRh0MiyI9UYzofCYne/LzyLvbC Vk8s0Tx/m/+ItQ/XHTsCQf81BZ229aPnvWyj835JkaUaUsoHSBWJXYX9Zm1pHKHLVulu mT0PF2n+sMoN0gG6lOerxPAjWFDsiKjE1IWmy7sLImfo4amcHN6Xn2giJd05yOe3T9Zj 6zn4pnz4PQtIIgmpXUkx0T2TPqjyse+bhjNys1NolWcj5y3iQz8QbReFwuDf2zxeA5tj sSrA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z13si4092379pgv.473.2018.03.29.08.12.54; Thu, 29 Mar 2018 08:13:08 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751209AbeC2PLO (ORCPT + 99 others); Thu, 29 Mar 2018 11:11:14 -0400 Received: from mail.thorsis.com ([92.198.35.195]:44529 "EHLO mail.thorsis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750732AbeC2PLN (ORCPT ); Thu, 29 Mar 2018 11:11:13 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.thorsis.com (Postfix) with ESMTP id 9F85C3A453F; Thu, 29 Mar 2018 17:11:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.thorsis.com Received: from mail.thorsis.com ([127.0.0.1]) by localhost (mail.thorsis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HVpQAt805WVa; Thu, 29 Mar 2018 17:11:12 +0200 (CEST) From: Alexander Dahl To: linux-arm-kernel@lists.infradead.org Cc: Alexandre Belloni , Boris Brezillon , Thomas Gleixner , Daniel Lezcano , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/6] clocksource: rework Atmel TCB timer driver Date: Thu, 29 Mar 2018 17:11:08 +0200 Message-ID: <2097113.JiHb7Y1Uf1@ada> In-Reply-To: <3478710.yJBBt3uoRT@ada> References: <20180223171558.7037-1-alexandre.belloni@bootlin.com> <20180328155033.GH13942@piout.net> <3478710.yJBBt3uoRT@ada> Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on seven.thorsis.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hei hei, Am Donnerstag, 29. M=C3=A4rz 2018, 10:01:26 CEST schrieb Alexander Dahl: > This is the result: >=20 > INT NAME RATE MAX > 17 [vel timer@fffa] 1837 Ints/s (max: 1912) > 26 [ vel eth0] 3 Ints/s (max: 11) Above was with v4.16-rc7+, and CONFIG_ATMEL_CLOCKSOURCE_TCB=3Dy,=20 CONFIG_ATMEL_TCLIB=3Dn (as one might see in the name column). Now, v4.16-rc7+, with CONFIG_ATMEL_CLOCKSOURCE_PIT=3Dy, CONFIG_ATMEL_TCLIB= =3Dy,=20 CONFIG_ATMEL_TCB_CLKSRC=3Dy (old driver I guess): INT NAME RATE MAX 19 [ vel tc_clkevt] 1898 Ints/s (max: 1945) 26 [ vel eth0] 3 Ints/s (max: 11) So the rates here are roughly the same with old and new driver and the same= =20 kernel source. As Alexandre stated in IRC, the rates should be the same wit= h=20 old and new driver on the otherwise same kernel source. I just double checked it, and with the other clocksource on v4.16-rc7+ I ge= t: INT NAME RATE MAX 17 [vel timer@fffa] 1904 Ints/s (max: 1922) 26 [ vel eth0] 6 Ints/s (max: 7) The lower rates I reported yesterday were from older kernels v4.14.29-rt25 = and=20 v4.15.13, so there might be the question why v4.16-rc7+ has a much higher r= ate=20 with tc_clkevt? But there's no real difference between tc_clkevt and=20 timer@fffa=E2=80=A6 when both measured with v4.16-rc7+ on this target. I kn= ow=20 Alexandre has lower rates though, may depend on other parameters. So for completeness, I just tested the clean v4.16-rc7 without this patch=20 series:=20 INT NAME RATE MAX 19 [ vel tc_clkevt] 1903 Ints/s (max: 1930) 26 [ vel eth0] 7 Ints/s (max: 7) Basically the same for this one, too. HTH & Greets Alex