From: Xu YiPing Date: Thu, 9 Nov 2017 11:18:23 +0000 (+0800) Subject: arm64: dts: hi3660: improve pmu description X-Git-Tag: v4.19~1679^2~39^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e07642fa43434b0eaecdc408aab00b1ef7999000;p=platform%2Fkernel%2Flinux-rpi.git arm64: dts: hi3660: improve pmu description cortex-a73 pmu driver is supported now. hi3660 is 4*a73 + 4*a53, so it should use "cortex-a73-pmu" and "cortex-a53-pmu" instead of "armpmu-v3", then we can use the a73 and a53 events in perf tool directly. Signed-off-by: Xu YiPing Signed-off-by: Wei Xu --- diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index ab0b95b..723adb1 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -203,21 +203,25 @@ IRQ_TYPE_LEVEL_HIGH)>; }; - pmu { - compatible = "arm,armv8-pmuv3"; + a53-pmu { + compatible = "arm,cortex-a53-pmu"; interrupts = , , , - , - , - , - , - ; + ; interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, - <&cpu3>, - <&cpu4>, + <&cpu3>; + }; + + a73-pmu { + compatible = "arm,cortex-a73-pmu"; + interrupts = , + , + , + ; + interrupt-affinity = <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>;