All of lore.kernel.org
 help / color / mirror / Atom feed
* OMAP4: IRQ line of CortexA9 performance monitor
@ 2011-02-21 16:26 ` Ming Lei
  0 siblings, 0 replies; 5+ messages in thread
From: Ming Lei @ 2011-02-21 16:26 UTC (permalink / raw)
  To: linux-omap; +Cc: linux-arm-kernel

Hi,

>From chapter 17 of "Interrupt controller", OMAP4 TRM, I can't
find what is the interrupt line of CortexA9 performance monitor
in omap4. Seems without this information, we can't use perf on
omap4.

Any suggestions or ideas about it?

-- 
Lei Ming

^ permalink raw reply	[flat|nested] 5+ messages in thread

* OMAP4: IRQ line of CortexA9 performance monitor
@ 2011-02-21 16:26 ` Ming Lei
  0 siblings, 0 replies; 5+ messages in thread
From: Ming Lei @ 2011-02-21 16:26 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: OMAP4: IRQ line of CortexA9 performance monitor
  2011-02-21 16:26 ` Ming Lei
  (?)
@ 2011-02-21 17:18 ` Måns Rullgård
  2011-02-21 17:53     ` Santosh Shilimkar
  -1 siblings, 1 reply; 5+ messages in thread
From: Måns Rullgård @ 2011-02-21 17:18 UTC (permalink / raw)
  To: linux-omap; +Cc: linux-arm-kernel

Ming Lei <tom.leiming@gmail.com> writes:

> Hi,
>
> From chapter 17 of "Interrupt controller", OMAP4 TRM, I can't
> find what is the interrupt line of CortexA9 performance monitor
> in omap4. Seems without this information, we can't use perf on
> omap4.
>
> Any suggestions or ideas about it?

The PMU interrupt is routed through the CTI, which needs to be properly
configured.  Unfortunately, the CTI is not documented in the public TRM,
and nobody has seen fit to submit a patch suitable for upstream.  Some
dirty hacks have been posted, though.

-- 
Måns Rullgård
mans@mansr.com

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: OMAP4: IRQ line of CortexA9 performance monitor
  2011-02-21 17:18 ` Måns Rullgård
@ 2011-02-21 17:53     ` Santosh Shilimkar
  0 siblings, 0 replies; 5+ messages in thread
From: Santosh Shilimkar @ 2011-02-21 17:53 UTC (permalink / raw)
  To: Måns Rullgård, linux-omap; +Cc: linux-arm-kernel

> -----Original Message-----
> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> owner@vger.kernel.org] On Behalf Of Måns Rullgård
> Sent: Monday, February 21, 2011 10:49 PM
> To: linux-omap@vger.kernel.org
> Cc: linux-arm-kernel@lists.infradead.org
> Subject: Re: OMAP4: IRQ line of CortexA9 performance monitor
>
> Ming Lei <tom.leiming@gmail.com> writes:
>
> > Hi,
> >
> > From chapter 17 of "Interrupt controller", OMAP4 TRM, I can't
> > find what is the interrupt line of CortexA9 performance monitor
> > in omap4. Seems without this information, we can't use perf on
> > omap4.
> >
> > Any suggestions or ideas about it?
>
> The PMU interrupt is routed through the CTI, which needs to be
> properly
> configured.  Unfortunately, the CTI is not documented in the public
> TRM,
> and nobody has seen fit to submit a patch suitable for upstream.
> Some dirty hacks have been posted, though.
>
Mans is right. Last time I looked at this, the OMAP4 PMU support
needed some hacky code and was not fitting to the generic PMU
framework.

I will take a second look at it and see if a patch can be generated
for upstream.

Regards,
Santosh
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* OMAP4: IRQ line of CortexA9 performance monitor
@ 2011-02-21 17:53     ` Santosh Shilimkar
  0 siblings, 0 replies; 5+ messages in thread
From: Santosh Shilimkar @ 2011-02-21 17:53 UTC (permalink / raw)
  To: linux-arm-kernel

> -----Original Message-----
> From: linux-omap-owner at vger.kernel.org [mailto:linux-omap-
> owner at vger.kernel.org] On Behalf Of M?ns Rullg?rd
> Sent: Monday, February 21, 2011 10:49 PM
> To: linux-omap at vger.kernel.org
> Cc: linux-arm-kernel at lists.infradead.org
> Subject: Re: OMAP4: IRQ line of CortexA9 performance monitor
>
> Ming Lei <tom.leiming@gmail.com> writes:
>
> > Hi,
> >
> > From chapter 17 of "Interrupt controller", OMAP4 TRM, I can't
> > find what is the interrupt line of CortexA9 performance monitor
> > in omap4. Seems without this information, we can't use perf on
> > omap4.
> >
> > Any suggestions or ideas about it?
>
> The PMU interrupt is routed through the CTI, which needs to be
> properly
> configured.  Unfortunately, the CTI is not documented in the public
> TRM,
> and nobody has seen fit to submit a patch suitable for upstream.
> Some dirty hacks have been posted, though.
>
Mans is right. Last time I looked at this, the OMAP4 PMU support
needed some hacky code and was not fitting to the generic PMU
framework.

I will take a second look at it and see if a patch can be generated
for upstream.

Regards,
Santosh

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-02-21 17:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-21 16:26 OMAP4: IRQ line of CortexA9 performance monitor Ming Lei
2011-02-21 16:26 ` Ming Lei
2011-02-21 17:18 ` Måns Rullgård
2011-02-21 17:53   ` Santosh Shilimkar
2011-02-21 17:53     ` Santosh Shilimkar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.