[PATCH v3 2/2] arm64: dts: rockchip: support the pmu node for rk3399
heiko at sntech.de
Mon Sep 5 15:27:09 PDT 2016
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  to support Partitioning per-cpu
> interrupts. Let's add this patch to match it on rk3399 SoCs.
> Signed-off-by: Caesar Wang <wxt at rock-chips.com>
> Acked-by: Mark Rutland <mark.rutland at arm.com>
> Cc: Heiko Stuebner <heiko at sntech.de>
> Cc: Marc Zyngier <marc.zyngier at arm.com>
> CC: linux-arm-kernel at lists.infradead.org
I've applied this one but did some corrections :
- 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.
More information about the Linux-rockchip