From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933474AbcIEX1c (ORCPT ); Mon, 5 Sep 2016 19:27:32 -0400 Received: from regular1.263xmail.com ([211.150.99.137]:48023 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932366AbcIEX1b (ORCPT ); Mon, 5 Sep 2016 19:27:31 -0400 X-Greylist: delayed 88755 seconds by postgrey-1.27 at vger.kernel.org; Mon, 05 Sep 2016 19:27:30 EDT X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-ADDR-CHECKED: 0 X-RL-SENDER: wxt@rock-chips.com X-FST-TO: heiko@sntech.de X-SENDER-IP: 104.132.1.81 X-LOGIN-NAME: wxt@rock-chips.com X-UNIQUE-TAG: <51c100adb3dc462426bf992456e40221> X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 Message-ID: <57CDFF4E.9090907@rock-chips.com> Date: Tue, 06 Sep 2016 07:27:10 +0800 From: Caesar Wang User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Heiko Stuebner CC: Caesar Wang , Mark Rutland , devicetree@vger.kernel.org, Brian Norris , Catalin Marinas , Xing Zheng , Marc Zyngier , Jianqun Xu , Shawn Lin , Elaine Zhang , Will Deacon , Douglas Anderson , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Rob Herring , David Wu , sonnyrao@chromium.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3 2/2] arm64: dts: rockchip: support the pmu node for rk3399 References: <1473099435-28198-1-git-send-email-wxt@rock-chips.com> <1473099435-28198-3-git-send-email-wxt@rock-chips.com> <1666797.JgSRLN1JIq@phil> In-Reply-To: <1666797.JgSRLN1JIq@phil> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2016年09月06日 06:27, Heiko Stuebner wrote: > 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. Yup, thanks the fixes. > > > Thanks > Heiko > > > [0] https://git.kernel.org/cgit/linux/kernel/git/mmind/linux-rockchip.git/ > commit/?id=48120b1af6f072bfd6b075bf9be560ad6fda2faa > > > _______________________________________________ > Linux-rockchip mailing list > Linux-rockchip@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-rockchip -- caesar wang | software engineer | wxt@rock-chip.com