Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3463495imm; Thu, 17 May 2018 09:08:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpjQs2dou/GgaGnopnWKrc9rTMkQXku6d6IV/muayajzyF+S2dVle8tpyaGAppzFPInK+sY X-Received: by 2002:a17:902:3001:: with SMTP id u1-v6mr5760915plb.376.1526573318143; Thu, 17 May 2018 09:08:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526573318; cv=none; d=google.com; s=arc-20160816; b=sJWfUYrICgLOE8wyH11zDttHycbf8rUSsCSxV4xraKaprmP2HHVzMLuae1Hl9iO4tZ zk7eSFtmxBqtNP8LDHXAQX3apTWJ24S5ZsTHCkrHlyel+wL9PVvwtbQ7Q278HLnVWa+I 5A2qvrY7COBYsOVFuDsJbUaGaUXu7AUKeaZWSjHNaVcNcRL17oZX0L2JjJBqSSC72v+2 iwO4NRpilaVDLZ/GdVSmnPI8GfNNjNt03rwZt+M9KCjIoXQ6uvVp3JJ4pHecHCf00PAa M4OtphO25xBeO1WfBUGMCnJyqUcavGNzbA0L5kUQVBLHQ9OBQubTSK4r2lxQ/OWiutjd bv0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:importance:content-transfer-encoding :mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:arc-authentication-results; bh=jZK89MrI10s7GVG9KnCFyWeaQFl9U8QgHCdZZIJfeeQ=; b=RfRg/zjVBtY5XTx5NA1RUMpKEmEzco8wTXomRsyZ0ixqJpOKRO5qoDP0GIQN9sYUoM hnod8LoSI1H3YcjxmS7Ppk/YgAZgtg5qOsempdGr2FtIrgGz9eQFZy+mv4a2vu1wb1pu 0o8n4CxLaVaV2zFWQGepIrGAT94SE47rm+VXQRTbC+M1mqYV/Eu46z9EB1wuodaph/MU 8cB1birlN/yjCBY2VK1zud9psP2xveLYcqhhTuUPBdKfwADJwy0DzxuB/vEAWfnZV/KF mUybBb88DRFU8sLMdfYMfpQoR5QOZuZ1ZJNnLmRw5lKo68F0tXZT2llflYH0zQvaPstn Y2xw== 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 j22-v6si4164444pgn.243.2018.05.17.09.08.23; Thu, 17 May 2018 09:08: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; 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 S1752604AbeEQQHg (ORCPT + 99 others); Thu, 17 May 2018 12:07:36 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:52633 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752030AbeEQQHe (ORCPT ); Thu, 17 May 2018 12:07:34 -0400 Received: from null ([172.19.246.6]) by mrelayeu.kundenserver.de (mreue006 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MAX6s-1f8r2Z3J3y-00BgLS; Thu, 17 May 2018 18:06:33 +0200 Date: Thu, 17 May 2018 18:06:32 +0200 (CEST) From: Stefan Wahren To: Eric Anholt , Vince Weaver Cc: linux-rpi-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Message-ID: <385156660.62726.1526573192894@email.1und1.de> In-Reply-To: References: <20180517131727.29263-1-eric@anholt.net> Subject: Re: [PATCH] arm: bcm2835: Add the PMU to the devicetree. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.4-Rev28 X-Originating-Client: open-xchange-appsuite X-Provags-ID: V03:K1:d+yeZnuF6vdu4Wtgi3zpquTs7bZk+7kA9kro0knYgcl7YRyiIz/ XtLmSKMs6jTbn+KJY7r/3ScVdT6waROMo6aeTfFcHmoSpKQ6kFIb8hdizBs4rjN5CjdKiFQ A8TU5bZPb62BMfqpQC+jMVH2x4bZLtE/xmrdQeLeJ96lGM+ww3bdHxM8Ks/OG5Fc5WDK7xH twsK5a2y8G2TpREo1gP9g== X-UI-Out-Filterresults: notjunk:1;V01:K0:ZNbQc3oHAGI=:sA+Wj4l9Mame8b9ETlhzzj YL4dYSwLQ66CHuicL8F0nSS28RUrKCLEnCNcJb2PJHnDhMAQC/D9s2q/pdoUAPxIYkDQbPekh NoCW1EKvOLd3XtrW9HMANKzBvi8ddP5j4pUS2U/w5CIg/WlKktKTGp0PYd42s7h04vUvRwWLn 9XbvOLPOrjMt3aWKOCHQTxakSBeknIZ1G18aRKp0ItnhxH1O4fsQfXlzAI+vxbggCZyM0vvJd i/3SFjaj7HrcrJEtSpCw7k6v4pluMkaa8xuyu1T0zojWwdSA160mRM9EqYDRH8XaQyQph1Tt1 2g1MQNqbDKxiogwPcoIy2+XRPc9ER/44L+C/nfZcudezMfYgZDVG58mIsUZRLtib6ZWk455dr 4x0Vn0/XrBT4TRzUwm1+eJADSbO8Tvi+GA9b6rptP+lv5bZETH70dlHmCqNcxA1Mc6eawPuz1 pH83B8lNXzmUN5A1BfOfCmHMFF2t9M86TNe0K8Smo+e2feyS/2mhmt7yNNmgjE2GppKGCvYfH OId4UJfG44N8YsGob10LudIgXKF+1JGYqL5ijoI3kqQGgRrt10qHXLZlaBWU/EN+/v/RWV1SE AgSmb+wbuA0sC/JPTgjxyEwTlmaS0Orx7pT0sbVfyzCRdwGeVihzfiCba1a0OmycWMVmMNsRo fWxHbv0WcD4UT9c1uEVpPMp11gY7KuzPgTmpAACjku/h2WAn50BlQONKOFDnEoeJp0EtH7H5y V0n89bNUYvHX1KLy Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Vince Weaver hat am 17. Mai 2018 um 16:11 geschrieben: > > > 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 @@ > > }; > > }; > > > > + arm-pmu { > > + compatible = "arm,cortex-a53-pmu", "arm,cortex-a7-pmu"; > > + interrupt-parent = <&local_intc>; > > + interrupts = <9 IRQ_TYPE_LEVEL_HIGH>; > > + }; > > + > > why this and not > > arm-pmu { > compatible = "arm,armv8-pmuv3"; > interrupt-parent = <&local_intc>; > interrupts = <9>; > }; > > which works, though when I didn't get very far when I submitted the patch > to add this last August. Eric's variant is more specific so we better chose this. The init code diverse between the general arm,armv8-pmuv3 and arm,cortex-a53-pmu. > > Vince > > _______________________________________________ > linux-rpi-kernel mailing list > linux-rpi-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-rpi-kernel