ARM: dts: sun4i-a10: Add PMU node
Subsystems (2)
PATCH 1/1 ARM: dts: sun4i-a10: Add PMU node
This is necessary to use 'perf' for cache profiling etc. Tested on cubieboard with 'perf stat echo foo'.
--- arch/arm/boot/dts/sun4i-a10.dtsi | 5 +++++ 1 file changed, 5 insertions(+)
While looking into this, I noticed that the dtsi files for the allwinner SoCs have no information about caches in them. Is this on purpose?
arch/arm/boot/dts/sun4i-a10.dtsi +5 -0
@@ -184,6 +184,11 @@ status = "disabled"; }; + pmu { + compatible = "arm,cortex-a8-pmu"; + interrupts = <3>; + }; + soc { compatible = "simple-bus"; #address-cells = <1>;
Signature · 1 line
2.11.0
Maxime Ripard
AppliedHi!
Quoted 4 lines · Harald Geyer
This is necessary to use 'perf' for cache profiling etc. Tested on cubieboard with 'perf stat echo foo'.
Signed-off-by Harald Geyer <[email protected]>
Queued for 4.22, thanks
Quoted 6 lines
--- arch/arm/boot/dts/sun4i-a10.dtsi | 5 +++++ 1 file changed, 5 insertions(+)While looking into this, I noticed that the dtsi files for the allwinner SoCs have no information about caches in them. Is this on purpose?
No, it's just that no one did it so far.
Maxime
Signature · 3 lines
Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel