Commit ae10ce93 authored by Nishanth Menon's avatar Nishanth Menon

arm64: dts: ti: k3*: Fixup PMU compatibility to be CPU specific

We can use CPU specific pmu configuration to expose the appropriate
CPU specific events rather than just the basic generic pmuv3 perf
events.
Reported-by: default avatarSudeep Holla <sudeep.holla@arm.com>
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Tested-by: default avatarSuman Anna <s-anna@ti.com>
Reviewed-by: default avatarTero Kristo <kristo@kernel.org>
Link: https://lore.kernel.org/r/20210120195145.32259-1-nm@ti.com
parent 0cf73209
...@@ -56,7 +56,7 @@ a53_timer0: timer-cl0-cpu0 { ...@@ -56,7 +56,7 @@ a53_timer0: timer-cl0-cpu0 {
}; };
pmu: pmu { pmu: pmu {
compatible = "arm,armv8-pmuv3"; compatible = "arm,cortex-a53-pmu";
/* Recommendation from GIC500 TRM Table A.3 */ /* Recommendation from GIC500 TRM Table A.3 */
interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
}; };
......
...@@ -114,7 +114,7 @@ a72_timer0: timer-cl0-cpu0 { ...@@ -114,7 +114,7 @@ a72_timer0: timer-cl0-cpu0 {
}; };
pmu: pmu { pmu: pmu {
compatible = "arm,armv8-pmuv3"; compatible = "arm,cortex-a72-pmu";
interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
}; };
......
...@@ -115,7 +115,7 @@ a72_timer0: timer-cl0-cpu0 { ...@@ -115,7 +115,7 @@ a72_timer0: timer-cl0-cpu0 {
}; };
pmu: pmu { pmu: pmu {
compatible = "arm,armv8-pmuv3"; compatible = "arm,cortex-a72-pmu";
/* Recommendation from GIC500 TRM Table A.3 */ /* Recommendation from GIC500 TRM Table A.3 */
interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment