All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/13] Enable CoreSight for the Ux500
@ 2015-04-17  8:58 Linus Walleij
  2015-04-17  8:58 ` [PATCH 01/13] coresight: etm: print what version of ETM/PTM is detected Linus Walleij
                   ` (14 more replies)
  0 siblings, 15 replies; 29+ messages in thread
From: Linus Walleij @ 2015-04-17  8:58 UTC (permalink / raw)
  To: linux-arm-kernel

This patch series enables the CoreSight blocks for the Ux500.

To do so I ran into a few obstacles, all resolved in this
series:

- The Ux500 have two distinct clocks clocking the CS blocks,
  APETRACECLK clocking the AHB interconnect, what is usually
  referred to as "apb_pclk" in the AMBA primecell abstraction
  layer, and another clock called APEATCLK which is connected
  to the actual ATCLK on the CS blocks. So I have to add
  handling for this second clock as only the PCLK is handled
  today.

- Doing so I need to use runtime PM, and I discovered that
  the current CS drivers go in and grab the PCLK from the
  AMBA primecell abstraction which is wrong: this shall be
  handled using runtime PM callbacks, see e.g.
  drivers/mmc/host/mmci.c. So I made a patch series fixing
  this. This also fixes the problem that the PCLK is left
  on since none of the drivers call pm_runtime_put() so
  the AMBA core can disable the PCLK, instead they are
  poking around with the PCLK themselves which is wrong.

Linus Walleij (13):
  coresight: etm: print what version of ETM/PTM is detected
  coresight: support the TPIU version found in Ux500
  coresight: etm: let runtime PM handle core clock
  coresight: tpiu: let runtime PM handle core clock
  coresight: etb: let runtime PM handle core clock
  coresight: funnel: let runtime PM handle core clock
  coresight: tmc: let runtime PM handle core clock
  coresight: etm: retrieve and handle atclk
  coresight: tpiu: retrieve and handle atclk
  coresight: etb: retrieve and handle atclk
  coresight: funnel: retrieve and handle atclk
  coresight: replicator: retrieve and handle atclk
  ARM: ux500: add CoreSight blocks to DTS file

 arch/arm/boot/dts/ste-dbx5x0.dtsi        | 129 +++++++++++++++++++++++++++++++
 drivers/coresight/coresight-etb10.c      |  74 +++++++++++-------
 drivers/coresight/coresight-etm.h        |   4 +-
 drivers/coresight/coresight-etm3x.c      | 102 +++++++++++++-----------
 drivers/coresight/coresight-funnel.c     |  63 +++++++++++----
 drivers/coresight/coresight-replicator.c |  43 +++++++++++
 drivers/coresight/coresight-tmc.c        |  20 ++---
 drivers/coresight/coresight-tpiu.c       |  62 +++++++++++----
 8 files changed, 376 insertions(+), 121 deletions(-)

-- 
1.9.3

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

end of thread, other threads:[~2015-04-24 19:40 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-17  8:58 [PATCH 00/13] Enable CoreSight for the Ux500 Linus Walleij
2015-04-17  8:58 ` [PATCH 01/13] coresight: etm: print what version of ETM/PTM is detected Linus Walleij
2015-04-17  8:58 ` [PATCH 02/13] coresight: support the TPIU version found in Ux500 Linus Walleij
2015-04-17  8:58 ` [PATCH 03/13] coresight: etm: let runtime PM handle core clock Linus Walleij
2015-04-17  9:06   ` Ulf Hansson
2015-04-17  8:58 ` [PATCH 04/13] coresight: tpiu: " Linus Walleij
2015-04-17  9:07   ` Ulf Hansson
2015-04-17  8:58 ` [PATCH 05/13] coresight: etb: " Linus Walleij
2015-04-17  9:08   ` Ulf Hansson
2015-04-17  8:58 ` [PATCH 06/13] coresight: funnel: " Linus Walleij
2015-04-17  9:09   ` Ulf Hansson
2015-04-17  8:58 ` [PATCH 07/13] coresight: tmc: " Linus Walleij
2015-04-17  9:10   ` Ulf Hansson
2015-04-17  8:58 ` [PATCH 08/13] coresight: etm: retrieve and handle atclk Linus Walleij
2015-04-17  9:18   ` Ulf Hansson
2015-04-17  8:58 ` [PATCH 09/13] coresight: tpiu: " Linus Walleij
2015-04-17  9:20   ` Ulf Hansson
2015-04-17  8:58 ` [PATCH 10/13] coresight: etb: " Linus Walleij
2015-04-17  9:21   ` Ulf Hansson
2015-04-17  8:58 ` [PATCH 11/13] coresight: funnel: " Linus Walleij
2015-04-17  9:21   ` Ulf Hansson
2015-04-17  8:58 ` [PATCH 12/13] coresight: replicator: " Linus Walleij
2015-04-17  9:31   ` Ulf Hansson
2015-04-17  8:59 ` [PATCH 13/13] ARM: ux500: add CoreSight blocks to DTS file Linus Walleij
2015-04-17 15:41   ` Mathieu Poirier
2015-04-17 15:53 ` [PATCH 00/13] Enable CoreSight for the Ux500 Mathieu Poirier
2015-04-24 14:53 ` Ivan T. Ivanov
2015-04-24 15:31   ` Ulf Hansson
2015-04-24 19:40     ` Ivan T. Ivanov

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.