Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3356749imm; Thu, 17 May 2018 07:32:13 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqRJA5dZIous4VVvJbC2ghXOFwpa8/EXmQq4jF0Mp+PeakeQVBcuyNKC/tm4mdoMro5EA62 X-Received: by 2002:a62:9c93:: with SMTP id u19-v6mr5494956pfk.74.1526567533027; Thu, 17 May 2018 07:32:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526567533; cv=none; d=google.com; s=arc-20160816; b=L/ssRgjeWp5/I/EbS7V7VFAslFeUauIp4iH082ACp//ZA4bGUyZbW0Wk88PrWYky4+ WzVIb8gHf61TrTGu8l32l1okkHZ0AMGn3Pg/+565cPoEFNDj1O/IUxwc8C+AkFzMjbT7 D38DsQN2akbiiVFQQi27tJqgep0JYEc6/3b1Kg92IX1PuLZIcDCCwRnyH4vSEXSJjRTe d7aXGmRPkEn/xKfpF8jYbu+k/cpNDIsceP1DyDnopewgQxuXriOlMhDpfHCW8ngGFHdQ AMlORphOprYGcWMf2YppxX5+r2VtQs2bmRRCes6gRSJRrA3ZqhtS0qnwxzoCODLGU6TN 0H6Q== 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=zUNJqSaVgFbQx5VUtmr/7mWigrmDDq2f0F12NvqXVes=; b=WMBGtjeype50C5zpChNmRNFsc57TEHeNRTGV6IkP4gM+wTA8ppNXViCvJH7N9quou6 VzB3+0353NdH5rgAkS/ydNH3N/FTe7ZA1EEvHVT8qmybTQ3iBUOOmn9BL02NDdLljE5e 3U0hOjwhxlOc6sdCioObor2KTKFJsdCe67spnHwg9F2TDDMaP9+L5YlggGrF94TFM/N2 akOhvAVrd7AB+1DvhfCWSbA4qi9zrFa1KAzPBvsBPtHNGpfHhyDKk2O1eOvTxvAeP2S3 oPaCosIHc5Iyn8HMm2s8JZ331kiuKXTkRGbngW/XaqO51W1Y397C/OAQS1VavucpB9UW vl+A== 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 q23-v6si5440667pfj.8.2018.05.17.07.31.58; Thu, 17 May 2018 07:32:12 -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 S1751858AbeEQOaR (ORCPT + 99 others); Thu, 17 May 2018 10:30:17 -0400 Received: from anholt.net ([50.246.234.109]:46184 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751293AbeEQOaQ (ORCPT ); Thu, 17 May 2018 10:30:16 -0400 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id CAF2710A17B1; Thu, 17 May 2018 07:30:15 -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 AbP6R4gyb-QR; Thu, 17 May 2018 07:30:14 -0700 (PDT) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 604F010A0466; Thu, 17 May 2018 07:30:14 -0700 (PDT) Received: by eliezer.anholt.net (Postfix, from userid 1000) id B4FED2FE2175; Thu, 17 May 2018 15:30:11 +0100 (BST) From: Eric Anholt To: Vince Weaver Cc: Florian Fainelli , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] arm: bcm2835: Add the PMU to the devicetree. In-Reply-To: References: <20180517131727.29263-1-eric@anholt.net> 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 15:30:11 +0100 Message-ID: <87efia1hjg.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, Eric Anholt wrote: > >> diff --git a/arch/arm/boot/dts/bcm2837.dtsi b/arch/arm/boot/dts/bcm2837.= dtsi >> index 7704bb029605..1f5e5c782835 100644 >> --- a/arch/arm/boot/dts/bcm2837.dtsi >> +++ b/arch/arm/boot/dts/bcm2837.dtsi >> @@ -17,6 +17,12 @@ >> }; >> }; >>=20=20 >> + arm-pmu { >> + compatible =3D "arm,cortex-a53-pmu", "arm,cortex-a7-pmu"; >> + interrupt-parent =3D <&local_intc>; >> + interrupts =3D <9 IRQ_TYPE_LEVEL_HIGH>; >> + }; >> + > > why this and not > > arm-pmu { > compatible =3D "arm,armv8-pmuv3"; > interrupt-parent =3D <&local_intc>; > interrupts =3D <9>; > }; > > which works, though when I didn't get very far when I submitted the patch= =20 > to add this last August. Is that better than a53? I'm happy to switch to that. The important part to me is the a7, since basically everyone with this hw is running arm32. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAlr9kfMACgkQtdYpNtH8 nugh8hAAppFgslLzTmpl2HL5S2OQdj7pmNuULSr/2zGR9wR6gJKi525m2YUmExET mklAuaFFMV/gobblrfCeyfEpKRt1Zyvr6INITKBzc/9162ZeF/o8KlmMFv8W6sXY 7B9p0xfTez52T371+JRmO6KcQtrqB0aUTOaO7ZUjkSBuBCTTQbZW8RQ2s7CVdrTV cR2tzGBbu5Af6mwMgFj+zRwtQ8Qk8ehNyu2cp50yZ+Tnq+CrX09pWMb7Ec/34HO1 UiqKuYXkFm/Guvy+fsKgqBOm61TEZKwMYImOAYqbR7bWHYSxBrPjzKjq0iEIsFKA 6paP/TEZaZ38oD+2Amwqsea6StNtfzVwf4OBXBEMt1vzQmqYFgY8YpmLFYUivb1t okmslqj6/4CM38o5ekEpbB6WceJjtgK2Htwyjd5sMMQswZJwrNcn7KZ5YjtSflRK P8LhpWWyvDMoLZH5Mayx4toRFWqxJBo+BsG34m0ODhRRsnWIyzZ9qlAU1hxYq8Xn aWUnjfuePvpRRxA9mkszCuZMLZ4HjcRGbz3bitLwjgNq0v8L33i6ZRj08ivYomVe GcroTIyzhs34OGKq0Qp1HLGk6bxYpVa1w5UQCQtCW3tTkRDT9VOnvc9Tzl2nIaoS uGTy75H7upUwI6dL4LBuZ0kZl0734W3PE8sb8VsWfEZeF5t+DMw= =TN6G -----END PGP SIGNATURE----- --=-=-=--