* [PATCH] ARM: dts: DRA7: Add PMU nodes @ 2014-08-19 13:54 Nishanth Menon [not found] ` <1408456440-30171-1-git-send-email-nm-l0cyMroinI0@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Nishanth Menon @ 2014-08-19 13:54 UTC (permalink / raw) To: Tony Cc: nm-l0cyMroinI0, balbi-l0cyMroinI0, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-omap-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-kernel-u79uwXL29TY76Z2rM5mHXA From: Lucas Weaver <l-weaver-l0cyMroinI0@public.gmane.org> DRA74x and DRA72x family of processors vary slightly in the number of CPUs. So, add different instances of PMU for each of these processor groups. Further, since the interrupts bypass crossbar and are directly connected to GIC, mark the dts nodes with relevant information. Tested with perf utility. Reviewed-by: Felipe Balbi <balbi-l0cyMroinI0@public.gmane.org> Signed-off-by: Lucas Weaver <l-weaver-l0cyMroinI0@public.gmane.org> Signed-off-by: Nishanth Menon <nm-l0cyMroinI0@public.gmane.org> --- arch/arm/boot/dts/dra72x.dtsi | 5 +++++ arch/arm/boot/dts/dra74x.dtsi | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/dra72x.dtsi b/arch/arm/boot/dts/dra72x.dtsi index f1ec22f..e5a3d23 100644 --- a/arch/arm/boot/dts/dra72x.dtsi +++ b/arch/arm/boot/dts/dra72x.dtsi @@ -22,4 +22,9 @@ reg = <0>; }; }; + + pmu { + compatible = "arm,cortex-a15-pmu"; + interrupts = <GIC_SPI DIRECT_IRQ(131) IRQ_TYPE_LEVEL_HIGH>; + }; }; diff --git a/arch/arm/boot/dts/dra74x.dtsi b/arch/arm/boot/dts/dra74x.dtsi index a4e8bb9..3be544c 100644 --- a/arch/arm/boot/dts/dra74x.dtsi +++ b/arch/arm/boot/dts/dra74x.dtsi @@ -38,4 +38,10 @@ reg = <1>; }; }; + + pmu { + compatible = "arm,cortex-a15-pmu"; + interrupts = <GIC_SPI DIRECT_IRQ(131) IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI DIRECT_IRQ(132) IRQ_TYPE_LEVEL_HIGH>; + }; }; -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 4+ messages in thread
[parent not found: <1408456440-30171-1-git-send-email-nm-l0cyMroinI0@public.gmane.org>]
* Re: [PATCH] ARM: dts: DRA7: Add PMU nodes [not found] ` <1408456440-30171-1-git-send-email-nm-l0cyMroinI0@public.gmane.org> @ 2014-09-03 13:39 ` Nishanth Menon [not found] ` <540719FC.5070803-l0cyMroinI0@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Nishanth Menon @ 2014-09-03 13:39 UTC (permalink / raw) To: Tony Cc: balbi-l0cyMroinI0, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-omap-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-kernel-u79uwXL29TY76Z2rM5mHXA On 08/19/2014 08:54 AM, Nishanth Menon wrote: > From: Lucas Weaver <l-weaver-l0cyMroinI0@public.gmane.org> > > DRA74x and DRA72x family of processors vary slightly in the number > of CPUs. So, add different instances of PMU for each of these processor > groups. Further, since the interrupts bypass crossbar and are directly > connected to GIC, mark the dts nodes with relevant information. > > Tested with perf utility. > > Reviewed-by: Felipe Balbi <balbi-l0cyMroinI0@public.gmane.org> > Signed-off-by: Lucas Weaver <l-weaver-l0cyMroinI0@public.gmane.org> > Signed-off-by: Nishanth Menon <nm-l0cyMroinI0@public.gmane.org> > --- Hi, Gentle ping.. Regards, Nishanth Menon > arch/arm/boot/dts/dra72x.dtsi | 5 +++++ > arch/arm/boot/dts/dra74x.dtsi | 6 ++++++ > 2 files changed, 11 insertions(+) > > diff --git a/arch/arm/boot/dts/dra72x.dtsi b/arch/arm/boot/dts/dra72x.dtsi > index f1ec22f..e5a3d23 100644 > --- a/arch/arm/boot/dts/dra72x.dtsi > +++ b/arch/arm/boot/dts/dra72x.dtsi > @@ -22,4 +22,9 @@ > reg = <0>; > }; > }; > + > + pmu { > + compatible = "arm,cortex-a15-pmu"; > + interrupts = <GIC_SPI DIRECT_IRQ(131) IRQ_TYPE_LEVEL_HIGH>; > + }; > }; > diff --git a/arch/arm/boot/dts/dra74x.dtsi b/arch/arm/boot/dts/dra74x.dtsi > index a4e8bb9..3be544c 100644 > --- a/arch/arm/boot/dts/dra74x.dtsi > +++ b/arch/arm/boot/dts/dra74x.dtsi > @@ -38,4 +38,10 @@ > reg = <1>; > }; > }; > + > + pmu { > + compatible = "arm,cortex-a15-pmu"; > + interrupts = <GIC_SPI DIRECT_IRQ(131) IRQ_TYPE_LEVEL_HIGH>, > + <GIC_SPI DIRECT_IRQ(132) IRQ_TYPE_LEVEL_HIGH>; > + }; > }; > -- Regards, Nishanth Menon -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <540719FC.5070803-l0cyMroinI0@public.gmane.org>]
* Re: [PATCH] ARM: dts: DRA7: Add PMU nodes [not found] ` <540719FC.5070803-l0cyMroinI0@public.gmane.org> @ 2014-09-17 14:25 ` Nishanth Menon 2014-09-18 16:58 ` Tony Lindgren 0 siblings, 1 reply; 4+ messages in thread From: Nishanth Menon @ 2014-09-17 14:25 UTC (permalink / raw) To: Tony Cc: balbi-l0cyMroinI0, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-omap-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-kernel-u79uwXL29TY76Z2rM5mHXA On 08:39-20140903, Nishanth Menon wrote: > On 08/19/2014 08:54 AM, Nishanth Menon wrote: > > From: Lucas Weaver <l-weaver-l0cyMroinI0@public.gmane.org> > > > > DRA74x and DRA72x family of processors vary slightly in the number > > of CPUs. So, add different instances of PMU for each of these processor > > groups. Further, since the interrupts bypass crossbar and are directly > > connected to GIC, mark the dts nodes with relevant information. > > > > Tested with perf utility. > > > > Reviewed-by: Felipe Balbi <balbi-l0cyMroinI0@public.gmane.org> > > Signed-off-by: Lucas Weaver <l-weaver-l0cyMroinI0@public.gmane.org> > > Signed-off-by: Nishanth Menon <nm-l0cyMroinI0@public.gmane.org> > > --- > Hi, > Gentle ping.. Tony, I dont see this patch in omap-for-v3.18/dt Is there anyway you might consider pulling this for 3.18? Patchworks link: https://patchwork.kernel.org/patch/4743121/ > > Regards, > Nishanth Menon > > arch/arm/boot/dts/dra72x.dtsi | 5 +++++ > > arch/arm/boot/dts/dra74x.dtsi | 6 ++++++ > > 2 files changed, 11 insertions(+) > > > > diff --git a/arch/arm/boot/dts/dra72x.dtsi b/arch/arm/boot/dts/dra72x.dtsi > > index f1ec22f..e5a3d23 100644 > > --- a/arch/arm/boot/dts/dra72x.dtsi > > +++ b/arch/arm/boot/dts/dra72x.dtsi > > @@ -22,4 +22,9 @@ > > reg = <0>; > > }; > > }; > > + > > + pmu { > > + compatible = "arm,cortex-a15-pmu"; > > + interrupts = <GIC_SPI DIRECT_IRQ(131) IRQ_TYPE_LEVEL_HIGH>; > > + }; > > }; > > diff --git a/arch/arm/boot/dts/dra74x.dtsi b/arch/arm/boot/dts/dra74x.dtsi > > index a4e8bb9..3be544c 100644 > > --- a/arch/arm/boot/dts/dra74x.dtsi > > +++ b/arch/arm/boot/dts/dra74x.dtsi > > @@ -38,4 +38,10 @@ > > reg = <1>; > > }; > > }; > > + > > + pmu { > > + compatible = "arm,cortex-a15-pmu"; > > + interrupts = <GIC_SPI DIRECT_IRQ(131) IRQ_TYPE_LEVEL_HIGH>, > > + <GIC_SPI DIRECT_IRQ(132) IRQ_TYPE_LEVEL_HIGH>; > > + }; > > }; > > > > > -- > Regards, > Nishanth Menon > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Regards, Nishanth Menon -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: dts: DRA7: Add PMU nodes 2014-09-17 14:25 ` Nishanth Menon @ 2014-09-18 16:58 ` Tony Lindgren 0 siblings, 0 replies; 4+ messages in thread From: Tony Lindgren @ 2014-09-18 16:58 UTC (permalink / raw) To: Nishanth Menon Cc: balbi-l0cyMroinI0, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-omap-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-kernel-u79uwXL29TY76Z2rM5mHXA * Nishanth Menon <nm-l0cyMroinI0@public.gmane.org> [140917 07:26]: > On 08:39-20140903, Nishanth Menon wrote: > > On 08/19/2014 08:54 AM, Nishanth Menon wrote: > > > From: Lucas Weaver <l-weaver-l0cyMroinI0@public.gmane.org> > > > > > > DRA74x and DRA72x family of processors vary slightly in the number > > > of CPUs. So, add different instances of PMU for each of these processor > > > groups. Further, since the interrupts bypass crossbar and are directly > > > connected to GIC, mark the dts nodes with relevant information. > > > > > > Tested with perf utility. > > > > > > Reviewed-by: Felipe Balbi <balbi-l0cyMroinI0@public.gmane.org> > > > Signed-off-by: Lucas Weaver <l-weaver-l0cyMroinI0@public.gmane.org> > > > Signed-off-by: Nishanth Menon <nm-l0cyMroinI0@public.gmane.org> > > > --- > > Hi, > > Gentle ping.. > > Tony, > I dont see this patch in omap-for-v3.18/dt > > Is there anyway you might consider pulling this for 3.18? > > Patchworks link: > https://patchwork.kernel.org/patch/4743121/ Thanks applying into omap-for-v3.18/dt. Tony -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-09-18 16:58 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-08-19 13:54 [PATCH] ARM: dts: DRA7: Add PMU nodes Nishanth Menon [not found] ` <1408456440-30171-1-git-send-email-nm-l0cyMroinI0@public.gmane.org> 2014-09-03 13:39 ` Nishanth Menon [not found] ` <540719FC.5070803-l0cyMroinI0@public.gmane.org> 2014-09-17 14:25 ` Nishanth Menon 2014-09-18 16:58 ` Tony Lindgren
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).