Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3531790imm; Thu, 17 May 2018 10:10:16 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoZL3NG24wmjK0WAeM+rTZ9ExsWO957mxsEkcu5jP8RKUyc/sMI/B9R7mZhW4opDxKBqgXN X-Received: by 2002:a62:6756:: with SMTP id b83-v6mr5978249pfc.76.1526577015959; Thu, 17 May 2018 10:10:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526577015; cv=none; d=google.com; s=arc-20160816; b=QgaY8b1c9leJTNy0iWls/U/yQeS9ZxTUbwTg80eDPrF+XF9P1EDOXlLwLJ2gVsOfC2 tE62GZGPbdVEn94IgV1YsOmvREqDkLgOkhiIQAOhbSWV3NRTOyYPafNbgrUL5h9An4XS UOqsZmXyWEfVlPORkqwyq3PU7EOX9bMwj5E8aoAKkoPiBgcOzW4byyEp7GiDk30xQ/tY /Aqfx3ElCK/tDqcmR3zWcRvsLxt0TVG0mazQQEC30e2e6rv87hDW/2jLB0jOIU7jAxM7 cti/Ro+hGTvyujhlY3EIuKp1PfNW41ep/bBzPxJ3xvk3SLKjYm6pTULZEJlG0qBpfYA3 xdeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from :arc-authentication-results; bh=CkS1HP/9R+Z4lrrhc2A1j06d+u3f/XgnIKOkW663PVA=; b=ZPKtmiLfLAU6r6zRcbdaAMmn/UVop7YtcfdjAYIZrthmgG1Yit3W3utU4oPZXJZ7UM IsQSrjVCMKX2IhWs351nmX+MzP4xGu20qSUTcEs/mRr3Sz6ZUqeJNtCKtiEGmCaN7aDg tFX+iJ+1YiZ/AhvxCv3hU1nn9P6lyOaZQJCTXpV7K2ZncrvKWpLLDNvQLuvs+FS5HlZA gmtk40MEqcMx25hSRN62gU2HjkRlebUu5WWXBGPaEgc+iXzhSVpHPQ76Or7/+jjdfS52 FmxHQPQcgqHCIi1qdpmj5guWbCBTK2iyde/sd1OCYqbLIaC7PsshJJ09o1SKxFKGKPe1 KoBg== 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 h125-v6si2289732pgc.34.2018.05.17.10.10.00; Thu, 17 May 2018 10:10:15 -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 S1752325AbeEQRJl (ORCPT + 99 others); Thu, 17 May 2018 13:09:41 -0400 Received: from anholt.net ([50.246.234.109]:47796 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752285AbeEQRJj (ORCPT ); Thu, 17 May 2018 13:09:39 -0400 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id E791810A17B1; Thu, 17 May 2018 10:09:38 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at anholt.net Received: from anholt.net ([127.0.0.1]) by localhost (kingsolver.anholt.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LvKFfu94V6er; Thu, 17 May 2018 10:09:37 -0700 (PDT) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 8877010A0466; Thu, 17 May 2018 10:09:37 -0700 (PDT) Received: by eliezer.anholt.net (Postfix, from userid 1000) id C4EB72FE2175; Thu, 17 May 2018 18:09:34 +0100 (BST) From: Eric Anholt To: Vince Weaver , Stefan Wahren Cc: Florian Fainelli , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm: bcm2835: Add the PMU to the devicetree. In-Reply-To: References: <20180517131727.29263-1-eric@anholt.net> <1412187220.62585.1526572780332@email.1und1.de> User-Agent: Notmuch/0.22.2+1~gb0bcfaa (http://notmuchmail.org) Emacs/25.2.2 (x86_64-pc-linux-gnu) Date: Thu, 17 May 2018 18:09:34 +0100 Message-ID: <877eo2mcoh.fsf@anholt.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Vince Weaver writes: > On Thu, 17 May 2018, Stefan Wahren wrote: > >>=20 >> > Eric Anholt hat am 17. Mai 2018 um 15:17 geschrieben: >> >=20 >> >=20 >> > The a53 and a7 counters seem to match up, so we advertise a7 so that >> > arm32 can probe. > > so how closely did you look at the a53/a7 differences? I see some major= =20 > differences, especially with the CPU_CYCLES event (0xff vs 0x11). I'm a bit lost in the code, but it seemed like the 0xff was a placeholder for a bit of special behavior, but that the cpu_cycles -> ARMV7_PERFCTR_CLOCK_CYCLES mapping got you that same value in the end. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAlr9t04ACgkQtdYpNtH8 nug6GA//WbCbCgUyT8tNGxSWFgh1TTmOWv5t7C5cd7nEa3Lt6+XiVdCbyqdvEwK0 w5TRFWdVaEiWnUZltNUKxZKgc2MKAnGiISP7kV/J51Eg2eg5SHdYKIemsVLUXAJP X4u7bOKSwtF5yQ8vw2a4s5rVZc8Q634fVjY7PBZ7pr9zgjfYJdDKtZFQQ8HbabpF YZgxrOhjyiBJ+4yUwh2GNg00B3zGfkh/dkN0c9pxcEfCf7wG0Ys/aocMzKpRdOz+ 2puB6ofM7AOfomMiwiklyrrm3emJENLHDeAuwPyXJwzOY8O+lt2PlxAvbLdsUkEd MJcOieMzbkCqtkgB8EXBGx2gRYgJTQoOOy/98gIpHHvwyiNifvJLKGcsxKSTD45G z5oRJFWUEEWNBbWKNrzZiQy3YRkknl9SwHyp21a7MjU6KVgG2e2PXIXqDKu5LfaT 3ehhXdp/kXd5gwIw+h7wQdGIWIzpJ+PUv3Aqlscet6ifLkhlX84JBKS7xhyTdfUL egB8ZgpLyODO3YrQADkwbv5OdJt0G/TFyk8FnVKPGbEFNuiSYu50PUT9uuJCBwri JJR46V8dfsRb5LL1ywAq7EVus+XpDx6R1oXgs/I+yKOdxc0nMZG8SoqidLef6cv/ q83CeZdV5ZWrXQ4u9kO6BzH8iW5wUoOwXyFfZlz1bmBEQOwlRxA= =lsxw -----END PGP SIGNATURE----- --=-=-=--