Re: [PATCH V3 0/8] ARM: OMAP4: Add PMU Support

2012-10-01 Thread Will Deacon
On Mon, Sep 24, 2012 at 10:45:06PM +0100, Jon Hunter wrote:
 On 09/20/2012 04:09 PM, Will Deacon wrote:
  On Thu, Sep 20, 2012 at 06:17:02PM +0100, Paul Walmsley wrote:
  Have queued most of these for 3.7 with the exception of the OMAP4430 
  CTI-related patches (which look to me like 3.8 material) and the PM 
  runtime suspend/resume patch (which looks to me like 3.7-rc material) -- 
  assuming this series makes it in for 3.7 ... 
  
  Ok, thanks for queueing what you did.
  
  Jon -- could you pick the pieces up from what's left please and shout if
  you need anything from me?
 
 Yes will do.

Great, thanks! Do you want me to do anything with my perf/omap4 branch? Now
that we have 3.6, I can try rebasing it but I don't know if it's worth the
effort if some of the patches are being reworked. Of course, I'm happy to
pick newer versions if they're available.

Cheers,

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


Re: [PATCH V3 0/8] ARM: OMAP4: Add PMU Support

2012-10-01 Thread Jon Hunter

On 10/01/2012 04:45 AM, Will Deacon wrote:
 On Mon, Sep 24, 2012 at 10:45:06PM +0100, Jon Hunter wrote:
 On 09/20/2012 04:09 PM, Will Deacon wrote:
 On Thu, Sep 20, 2012 at 06:17:02PM +0100, Paul Walmsley wrote:
 Have queued most of these for 3.7 with the exception of the OMAP4430 
 CTI-related patches (which look to me like 3.8 material) and the PM 
 runtime suspend/resume patch (which looks to me like 3.7-rc material) -- 
 assuming this series makes it in for 3.7 ... 

 Ok, thanks for queueing what you did.

 Jon -- could you pick the pieces up from what's left please and shout if
 you need anything from me?

 Yes will do.
 
 Great, thanks! Do you want me to do anything with my perf/omap4 branch? Now
 that we have 3.6, I can try rebasing it but I don't know if it's worth the
 effort if some of the patches are being reworked. Of course, I'm happy to
 pick newer versions if they're available.

I think that we are ok for the minute. I was going to wait until
everything gets merged for 3.7 and then rebase my branch [1] and start
re-working omap4430 support. So I would not worry right now.

Cheers
Jon

[1] https://github.com/jonhunter/linux/tree/dev-pmu
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH V3 0/8] ARM: OMAP4: Add PMU Support

2012-09-24 Thread Jon Hunter
Hi Paul,

On 09/20/2012 12:17 PM, Paul Walmsley wrote:
 
 Hi Jon, Will, Ming, et al.,
 
 Have queued most of these for 3.7 with the exception of the OMAP4430 
 CTI-related patches (which look to me like 3.8 material) and the PM 
 runtime suspend/resume patch (which looks to me like 3.7-rc material) -- 
 assuming this series makes it in for 3.7 ... 
 
 Apologies in advance if I broke something else in the process.

Looks good. Nothing you broke, but I just posted one fix for PMU
interrupts on OMAP2/3 [1]. With this PMU on Tony's master branch is
working fine on OMAP2420 and OMAP3430. I have also verified that PMU is
working on OMAP4460 too.

Cheers
Jon

[1] http://article.gmane.org/gmane.linux.ports.arm.omap/85294
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH V3 0/8] ARM: OMAP4: Add PMU Support

2012-09-24 Thread Jon Hunter
Hi Will,

On 09/20/2012 04:09 PM, Will Deacon wrote:
 On Thu, Sep 20, 2012 at 06:17:02PM +0100, Paul Walmsley wrote:

 Hi Jon, Will, Ming, et al.,
 
 Hi Paul,
 
 Have queued most of these for 3.7 with the exception of the OMAP4430 
 CTI-related patches (which look to me like 3.8 material) and the PM 
 runtime suspend/resume patch (which looks to me like 3.7-rc material) -- 
 assuming this series makes it in for 3.7 ... 
 
 Ok, thanks for queueing what you did.
 
 Jon -- could you pick the pieces up from what's left please and shout if
 you need anything from me?

Yes will do.

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


Re: [PATCH V3 0/8] ARM: OMAP4: Add PMU Support

2012-09-20 Thread Paul Walmsley

Hi Jon, Will, Ming, et al.,

Have queued most of these for 3.7 with the exception of the OMAP4430 
CTI-related patches (which look to me like 3.8 material) and the PM 
runtime suspend/resume patch (which looks to me like 3.7-rc material) -- 
assuming this series makes it in for 3.7 ... 

Apologies in advance if I broke something else in the process.


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


Re: [PATCH V3 0/8] ARM: OMAP4: Add PMU Support

2012-09-20 Thread Shilimkar, Santosh
Paul,

On Thu, Sep 20, 2012 at 10:47 PM, Paul Walmsley p...@pwsan.com wrote:

 Hi Jon, Will, Ming, et al.,

 Have queued most of these for 3.7 with the exception of the OMAP4430
 CTI-related patches (which look to me like 3.8 material) and the PM
 runtime suspend/resume patch (which looks to me like 3.7-rc material) --
 assuming this series makes it in for 3.7 ...

Any reason CTI patches can't be taken now. In fact the CTI patches are
on the list more time than the other ones.

 Apologies in advance if I broke something else in the process.

Perf will remain broken on OMAP4 without CTI patches.

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


Re: [PATCH V3 0/8] ARM: OMAP4: Add PMU Support

2012-09-20 Thread Paul Walmsley
Hi

On Thu, 20 Sep 2012, Shilimkar, Santosh wrote:

 On Thu, Sep 20, 2012 at 10:47 PM, Paul Walmsley p...@pwsan.com wrote:
 
  Have queued most of these for 3.7 with the exception of the OMAP4430
  CTI-related patches (which look to me like 3.8 material) and the PM
  runtime suspend/resume patch (which looks to me like 3.7-rc material) --
  assuming this series makes it in for 3.7 ...
 
 Any reason CTI patches can't be taken now. In fact the CTI patches are
 on the list more time than the other ones.

I listed the reasons briefly here:

   http://marc.info/?l=linux-omapm=134816037709379w=2

Let me know if you need more detail.

  Apologies in advance if I broke something else in the process.
 
 Perf will remain broken on OMAP4 without CTI patches.

Looks to me that it should work on OMAP4460/4470 since those chips don't 
have a CTI dependency for the PMU?


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


Re: [PATCH V3 0/8] ARM: OMAP4: Add PMU Support

2012-09-20 Thread Shilimkar, Santosh
On Thu, Sep 20, 2012 at 11:13 PM, Paul Walmsley p...@pwsan.com wrote:
 Hi

 On Thu, 20 Sep 2012, Shilimkar, Santosh wrote:

 On Thu, Sep 20, 2012 at 10:47 PM, Paul Walmsley p...@pwsan.com wrote:
 
  Have queued most of these for 3.7 with the exception of the OMAP4430
  CTI-related patches (which look to me like 3.8 material) and the PM
  runtime suspend/resume patch (which looks to me like 3.7-rc material) --
  assuming this series makes it in for 3.7 ...
 
 Any reason CTI patches can't be taken now. In fact the CTI patches are
 on the list more time than the other ones.

 I listed the reasons briefly here:

http://marc.info/?l=linux-omapm=134816037709379w=2

Sorry I should read it before asking the question.

 Let me know if you need more detail.

Thats pretty clear.

  Apologies in advance if I broke something else in the process.
 
 Perf will remain broken on OMAP4 without CTI patches.

 Looks to me that it should work on OMAP4460/4470 since those chips don't
 have a CTI dependency for the PMU?

You are right. OMAP44_60/70 should work.

Thanks for clarification Paul.

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


Re: [PATCH V3 0/8] ARM: OMAP4: Add PMU Support

2012-09-20 Thread Will Deacon
On Thu, Sep 20, 2012 at 06:17:02PM +0100, Paul Walmsley wrote:
 
 Hi Jon, Will, Ming, et al.,

Hi Paul,

 Have queued most of these for 3.7 with the exception of the OMAP4430 
 CTI-related patches (which look to me like 3.8 material) and the PM 
 runtime suspend/resume patch (which looks to me like 3.7-rc material) -- 
 assuming this series makes it in for 3.7 ... 

Ok, thanks for queueing what you did.

Jon -- could you pick the pieces up from what's left please and shout if
you need anything from me?

 Apologies in advance if I broke something else in the process.

There's not really anything to break yet :)

Cheers,

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


Re: [PATCH V3 0/8] ARM: OMAP4: Add PMU Support

2012-09-11 Thread Shilimkar, Santosh
Jon,

On Mon, Sep 10, 2012 at 8:53 PM, Jon Hunter jon-hun...@ti.com wrote:
 This series adds PMU support for OMAP4 devices. This is based upon Will 
 Deacons
 series [1] and re-based upon the latest arm-soc next/cleanup branch (3.6-rc3)
 that includes Will's series. It has been re-based upon this series because
 of the dependency on Sudeep KarkadaNagesha's change (ARM: pmu: remove
 arm_pmu_type enumeration) [2] that modifies the OMAP PMU code.

 This series is also dependent upon some clock fixes for OMAP3 [3] and OMAP4 
 [4]
 for PMU to operate correctly on OMAP3 and OMAP4.

 This series also converts OMAP2/3 devices to use HWMOD to create the PMU 
 device
 and add a new file to mach-omap2 directory called pmu.c where the PMU devices
 are created.

 Testing:
 - Verified that PMU is working on OMAP2420 H4, OMAP3430 Beagle Board, OMAP4430
   Panda and OMAP4460 Panda.
 - Tested on the above boards with CPU-idle enabled to ensure that PMU is 
 working
   with power management. For OMAP3430 verified that CORE retention state is
   entered again after stopping PMU events.

 V3 changes:
 - Will Deacon has taken the PMU runtime PM adaption patch in his series and so
   not included here [1].
 - Dropped my fix for managing the EMU power domain on OMAP4 in favour of 
 Paul's
   implementation [4]. Paul is planning to submit for v3.7.
 - Added HWMOD data for OMAP3 DEBUG sub-system. The DEBUG sub-system was always
   being enabled on OMAP3 devices when using PMU and hence, hinding the fact
   that PMU is dependent upon the DEBUG sub-system on OMAP3 for it to work.

 [1] git://git.kernel.org/pub/sicm/linux/kernel/git/will/linux.git perf/updates
 [2] http://www.spinics.net/lists/arm-kernel/msg188726.html
 [3] http://marc.info/?l=linux-omapm=134333691309305w=2
 [4] http://marc.info/?l=linux-arm-kernelm=134383567112518w=2

 Cc: Ming Lei ming@canonical.com
 Cc: Will Deacon will.dea...@arm.com
 Cc: Benoit Cousson b-cous...@ti.com
 Cc: Paul Walmsley p...@pwsan.com
 Cc: Kevin Hilman khil...@ti.com

 Jon Hunter (6):
   ARM: OMAP3: Add debugss HWMOD data
   ARM: OMAP2+: PMU: Convert OMAP2/3 devices to use HWMOD
   ARM: OMAP4: Re-map the CTIs IRQs from MPU to DEBUGSS
   ARM: OMAP2+: PMU: Add runtime PM support
   ARM: OMAP4: Enable PMU for OMAP4460/70
   ARM: OMAP2+: PMU: Add QoS constraint

 Ming Lei (2):
   ARM: OMAP4430: Create PMU device via HWMOD
   ARM: OMAP4: Route PMU IRQs to CTI IRQs

Thanks for persisting with the PMU series and great work to get it working
across almost all OMAPs supporting PMU. I have acked few patches
already from the series. Just quickly rescanned full series and also tried it
on OMAP4 SDP. PMU counters seems to work fine with it.

Feel free to add my ack for the entire series.
Acked-by: Santosh Shilimkar santosh.shilim...@ti.com
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html