From mboxrd@z Thu Jan 1 00:00:00 1970 From: gregory.clement@free-electrons.com (Gregory CLEMENT) Date: Tue, 03 Mar 2015 19:56:37 +0100 Subject: [PATCH v2 4/7] ARM: mvebu: Enable Performance Monitor Unit on Armada XP/370 SoCs In-Reply-To: <1425379400-4346-5-git-send-email-maxime.ripard@free-electrons.com> References: <1425379400-4346-1-git-send-email-maxime.ripard@free-electrons.com> <1425379400-4346-5-git-send-email-maxime.ripard@free-electrons.com> Message-ID: <54F603E5.50507@free-electrons.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Maxime, On 03/03/2015 11:43, Maxime Ripard wrote: > The Armada 370 and XP SoCs have Cortex-A9 compatible CPUs, and with a > Performance Monitoring Unit. > > Enable it so that we can have hardware-assisted perf support. > I guess the fact, that unlike for the Armada 375 and Armada 38x, the interrupt controller is not cascaded doesn't change the binding. Acked-by: Gregory CLEMENT Thanks, Gregory > Signed-off-by: Maxime Ripard > --- > arch/arm/boot/dts/armada-370-xp.dtsi | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi > index 8a322ad57e5f..508ceb7c967a 100644 > --- a/arch/arm/boot/dts/armada-370-xp.dtsi > +++ b/arch/arm/boot/dts/armada-370-xp.dtsi > @@ -73,6 +73,11 @@ > }; > }; > > + pmu { > + compatible = "arm,cortex-a9-pmu"; > + interrupts-extended = <&mpic 3>; > + }; > + > soc { > #address-cells = <2>; > #size-cells = <1>; > -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com