From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755778AbcIEW1W (ORCPT ); Mon, 5 Sep 2016 18:27:22 -0400 Received: from gloria.sntech.de ([95.129.55.99]:51088 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755541AbcIEW1U (ORCPT ); Mon, 5 Sep 2016 18:27:20 -0400 From: Heiko Stuebner To: Caesar Wang Cc: linux-rockchip@lists.infradead.org, Douglas Anderson , sonnyrao@chromium.org, linux-arm-kernel@lists.infradead.org, Marc Zyngier , devicetree@vger.kernel.org, David Wu , Elaine Zhang , Brian Norris , linux-kernel@vger.kernel.org, Shawn Lin , Will Deacon , Jianqun Xu , Mark Rutland , Rob Herring , Catalin Marinas , Xing Zheng Subject: Re: [PATCH v3 2/2] arm64: dts: rockchip: support the pmu node for rk3399 Date: Tue, 06 Sep 2016 00:27:09 +0200 Message-ID: <1666797.JgSRLN1JIq@phil> User-Agent: KMail/5.2.3 (Linux/4.6.0-1-amd64; KDE/5.23.0; x86_64; ; ) In-Reply-To: <1473099435-28198-3-git-send-email-wxt@rock-chips.com> References: <1473099435-28198-1-git-send-email-wxt@rock-chips.com> <1473099435-28198-3-git-send-email-wxt@rock-chips.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Dienstag, 6. September 2016, 02:17:15 CEST schrieb Caesar Wang: > This patch adds to enable the ARM Performance Monitor Units for rk3399. > ARM cores often have a PMU for counting cpu and cache events like cache > misses and hits. > > Also, as the Marc posted the patches [0] to support Partitioning per-cpu > interrupts. Let's add this patch to match it on rk3399 SoCs. > > [0]: > https://lkml.org/lkml/2016/4/11/182 > > Signed-off-by: Caesar Wang > Acked-by: Mark Rutland > Cc: Heiko Stuebner > Cc: Marc Zyngier > CC: linux-arm-kernel@lists.infradead.org I've applied this one but did some corrections [0]: - ppi-partitions is supposed to be a subnode of the gic, that is why the code also start search for it starting from the gic node - I've moved it - I've renamed the phandles taking part0/part1 from the example feels a bit to generic, so it's now ppi_cluster0 and ppi_cluster1 matching the cpu-clusters I've gave this a spin on my rk3399evb and the ppi-partitions got recognized as well as the pmu instances got created, but please also double check again. Thanks Heiko [0] https://git.kernel.org/cgit/linux/kernel/git/mmind/linux-rockchip.git/ commit/?id=48120b1af6f072bfd6b075bf9be560ad6fda2faa