public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] tile: Add perf_events support for tile
@ 2014-03-06  6:09 Tony Lu
  2014-03-06 16:34 ` Chris Metcalf
  0 siblings, 1 reply; 2+ messages in thread
From: Tony Lu @ 2014-03-06  6:09 UTC (permalink / raw)
  To: Peter Zijlstra, Paul Mackerras, Ingo Molnar,
	Arnaldo Carvalho de Melo, Chris Metcalf
  Cc: linux-kernel@vger.kernel.org, Tony Lu

From: Zhigang Lu <zlu@tilera.com>

This patchset adds perf support for tile architecture. The code is based on x86 perf event code, and it has been tested on tile for 2 years.

Zhigang Lu (4):
  tile: Add support for handling PMC hardware
  tile: Enable NMIs on return from handle_nmi() without errors
  tile/perf: Support perf_events on tilegx and tilepro
  perf tools:  Allow building for tile

 arch/tile/Kconfig                  |    6 +
 arch/tile/include/asm/perf_event.h |   22 +
 arch/tile/include/asm/pmc.h        |   64 +++
 arch/tile/kernel/Makefile          |    2 +
 arch/tile/kernel/intvec_32.S       |   24 +-
 arch/tile/kernel/intvec_64.S       |   24 +-
 arch/tile/kernel/irq.c             |   18 +
 arch/tile/kernel/perf_event.c      | 1005 ++++++++++++++++++++++++++++++++++++
 arch/tile/kernel/pmc.c             |  121 +++++
 tools/perf/config/Makefile.arch    |    3 +-
 tools/perf/perf.h                  |    8 +
 11 files changed, 1283 insertions(+), 14 deletions(-)
 create mode 100644 arch/tile/include/asm/perf_event.h
 create mode 100644 arch/tile/include/asm/pmc.h
 create mode 100644 arch/tile/kernel/perf_event.c
 create mode 100644 arch/tile/kernel/pmc.c

--
1.8.3.1

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

* Re: [PATCH 0/4] tile: Add perf_events support for tile
  2014-03-06  6:09 [PATCH 0/4] tile: Add perf_events support for tile Tony Lu
@ 2014-03-06 16:34 ` Chris Metcalf
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Metcalf @ 2014-03-06 16:34 UTC (permalink / raw)
  To: Tony Lu, Peter Zijlstra, Paul Mackerras, Ingo Molnar,
	Arnaldo Carvalho de Melo
  Cc: linux-kernel@vger.kernel.org

On 3/6/2014 1:09 AM, Tony Lu wrote:
> From: Zhigang Lu <zlu@tilera.com>
>
> This patchset adds perf support for tile architecture. The code is based on x86 perf event code, and it has been tested on tile for 2 years.
>
> Zhigang Lu (4):
>   tile: Add support for handling PMC hardware
>   tile: Enable NMIs on return from handle_nmi() without errors
>   tile/perf: Support perf_events on tilegx and tilepro
>   perf tools:  Allow building for tile
>
>  arch/tile/Kconfig                  |    6 +
>  arch/tile/include/asm/perf_event.h |   22 +
>  arch/tile/include/asm/pmc.h        |   64 +++
>  arch/tile/kernel/Makefile          |    2 +
>  arch/tile/kernel/intvec_32.S       |   24 +-
>  arch/tile/kernel/intvec_64.S       |   24 +-
>  arch/tile/kernel/irq.c             |   18 +
>  arch/tile/kernel/perf_event.c      | 1005 ++++++++++++++++++++++++++++++++++++
>  arch/tile/kernel/pmc.c             |  121 +++++
>  tools/perf/config/Makefile.arch    |    3 +-
>  tools/perf/perf.h                  |    8 +

Taken into the tile tree, with the wr_miss fix, given Peter's (soft) ack that it looked basically OK.  If there is more feedback we can adjust before I ask Linus to pull.

-- 
Chris Metcalf, Tilera Corp.
http://www.tilera.com


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

end of thread, other threads:[~2014-03-06 16:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-06  6:09 [PATCH 0/4] tile: Add perf_events support for tile Tony Lu
2014-03-06 16:34 ` Chris Metcalf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox