From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932271AbdJUUOI (ORCPT ); Sat, 21 Oct 2017 16:14:08 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:44471 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932202AbdJUUOF (ORCPT ); Sat, 21 Oct 2017 16:14:05 -0400 X-Google-Smtp-Source: ABhQp+R/thW6+gqMEahn5iKXrWKbBxvWSZS6AyMBDfTUNgd0MlIQWOuKuo/6VGHhtbA/OKeD49tPfA== Date: Sat, 21 Oct 2017 22:14:01 +0200 From: Krzysztof Kozlowski To: Marian Mihailescu Cc: Robin Murphy , Rob Herring , Mark Rutland , Russell King , Kukjin Kim , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: dts: exynos: add cpu perf counters to Exynos54xx boards Message-ID: <20171021201401.enzhfzjkzyihtjvv@kozik-lap> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 21, 2017 at 05:54:31PM +1030, Marian Mihailescu wrote: > Hi Robin, > > Apologies, I did not really check which cluster is described for the > 5410 (since 5422 boots from the A7). > > Should I define both pmu nodes (w/o interrupt affinity) in the > exynos54xx,dtsi, and set the status property to "disabled"? > And then add the interrupt affinity to the SoC variant, and enable > them as required... After putting it under common exynos54xx you would have to anyway override/extend most of the nodes so I think there is no much sense for that. Instead it should be in exynos5410.dtsi and exynos5422.dtsi. > > The problem that I see however is that, while 5410 is easy to deal > with (it has the cpus defined in exynos5420.dtsi for all boards), 542x > variants have the cpus included in the board dts. So there would be > the same pmu nodes with interrupt affinity copied in all 542x and 5800 > boards dts (and there are several of them), instead of being included > in exynos542x.dtsi... You mean exynos5420-cpus.dtsi, not board DTS? For exynos542x/5800 you could indeed add it directly to exynos542x-cpus.dtsi, following existing pattern about cpus (with comment). Best regards, Krzysztof