Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH v2 0/4] MIPS: perf: Add support for 64-bit MIPS hardware counters.
@ 2011-01-21 22:59 David Daney
  2011-01-21 22:59 ` [PATCH v2 1/4] MIPS: Add accessor macros for 64-bit performance counter registers David Daney
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: David Daney @ 2011-01-21 22:59 UTC (permalink / raw)
  To: linux-mips, ralf
  Cc: David Daney, Peter Zijlstra, Paul Mackerras, Ingo Molnar,
	Arnaldo Carvalho de Melo, Dezhong Diao, Gabor Juhos, Grant Likely,
	Deng-Cheng Zhu

MIPS hardware performance counters may have either 32-bit or 64-bit
wide counter registers.  The current implementation only supports the
32-bit variety.

These patches aim to add support for 64-bit wide counters while
mantaining support for 32-bit.

Changes from v1:

o Removed Octeon processor support to a separate patch set.

o Rebased against v5 of Deng-Cheng Zhu's cleanups:
      http://patchwork.linux-mips.org/patch/2011/
      http://patchwork.linux-mips.org/patch/2012/
      http://patchwork.linux-mips.org/patch/2013/
      http://patchwork.linux-mips.org/patch/2014/
      http://patchwork.linux-mips.org/patch/2015/

o Tried to fix problem where 32-bit counters generated way too many
  interrupts.

David Daney (4):
  MIPS: Add accessor macros for 64-bit performance counter registers.
  MIPS: perf: Cleanup formatting in arch/mips/kernel/perf_event.c
  MIPS: perf: Reorganize contents of perf support files.
  MIPS: perf: Add support for 64-bit perf counters.

 arch/mips/Kconfig                    |    2 +-
 arch/mips/include/asm/mipsregs.h     |    8 +
 arch/mips/kernel/Makefile            |    5 +-
 arch/mips/kernel/perf_event.c        |  521 +----------------
 arch/mips/kernel/perf_event_mipsxx.c | 1104 ++++++++++++++++++++++++----------
 5 files changed, 785 insertions(+), 855 deletions(-)

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Dezhong Diao <dediao@cisco.com>
Cc: Gabor Juhos <juhosg@openwrt.org>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
-- 
1.7.2.3

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

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

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-21 22:59 [PATCH v2 0/4] MIPS: perf: Add support for 64-bit MIPS hardware counters David Daney
2011-01-21 22:59 ` [PATCH v2 1/4] MIPS: Add accessor macros for 64-bit performance counter registers David Daney
2011-01-21 22:59 ` [PATCH v2 2/4] MIPS: perf: Cleanup formatting in arch/mips/kernel/perf_event.c David Daney
2011-01-21 22:59 ` [PATCH v2 3/4] MIPS: perf: Reorganize contents of perf support files David Daney
2011-01-21 22:59 ` [PATCH v2 4/4] MIPS: perf: Add support for 64-bit perf counters David Daney
2011-01-25  3:42   ` Deng-Cheng Zhu
2011-01-26  0:20     ` David Daney
2011-01-27  6:24       ` Deng-Cheng Zhu
2011-01-27 18:41         ` David Daney
2011-01-28  2:46           ` Deng-Cheng Zhu
2011-02-17 10:46             ` Deng-Cheng Zhu
2011-02-17 13:36               ` Ralf Baechle
2011-02-17 15:26                 ` Deng-Cheng Zhu
2011-02-17 17:26               ` David Daney
2011-02-17 19:23               ` David Daney

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