Ralf Baechle
6f4c5bdef2
[MIPS] Fix oprofile logic to physical counter remapping
...
This did cause oprofile to fail on non-multithreaded systems with more
than 2 processors such as the BCM1480.
Reported by Manish Lachwani (mlachwani@mvista.com ).
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-04-24 22:10:18 +01:00
Chris Dearman
795a22583b
[MIPS] Oprofile: Reset all performance registers for MIPS_MT_SMP configs
...
Signed-off-by: Chris Dearman <chris@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-03-13 16:59:31 +00:00
Ralf Baechle
148171b2ac
[MIPS] Oprofile: Add missing break statements.
...
This was causing oprofile to fail on R10000, R12000, R14000.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-03-04 19:02:34 +00:00
Ralf Baechle
714cfe7865
[MIPS] Oprofile: kernel support for the R10000.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2006-11-30 01:14:45 +00:00
Ralf Baechle
ea3df4ac7d
[MIPS] Oprofile: Fix MIPSxx counter number detection.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2006-10-30 21:41:27 +00:00
Ralf Baechle
be609f3546
[MIPS] Oprofile: fix on non-VSMP / non-SMTC SMP configurations.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2006-10-30 21:41:26 +00:00
Ralf Baechle
937a801576
[MIPS] Complete fixes after removal of pt_regs argument to int handlers.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2006-10-08 02:38:28 +01:00
Thiemo Seufer
30f244aed3
[MIPS] Oprofile: Fix build failure due to warning and -Werror.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2006-07-13 21:26:09 +01:00
Ralf Baechle
92c7b62fd1
[MIPS] Oprofile: Support VSMP on 34K.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2006-06-29 21:10:54 +01:00
Atsushi Nemoto
1acf1ca7e9
[MIPS] Fix modpost warning: Rename op_model_xxx to op_model_xxx_ops.
...
The modpost uses a whitelist for commonly used suffix on checking the
section mismatch. Adding "_ops" suffix to op_modex_xxx get rid of
this modpost warning.
WARNING: arch/mips/oprofile/oprofile.o - Section mismatch: reference to .init.text: from .data after 'op_model_mipsxx' (at offset 0x528)
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2006-06-06 00:15:11 +01:00
Chris Dearman
c620953c32
[MIPS] Fix detection and handling of the 74K processor.
...
Nothing exciting; Linux just didn't know it yet so this is most adding
a value to a case statement.
Signed-off-by: Chris Dearman <chris@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2006-06-01 00:28:30 +01:00
Ralf Baechle
fcfd980c83
[MIPS] Oprofile: Support for 34K UP kernels.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2006-02-07 13:30:26 +00:00
Mark Mason
c03bc12121
[MIPS] SB1: Add oprofile support.
...
Signed-off-by: Mark Mason <mason@broadcom.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2006-02-07 13:30:22 +00:00
Ralf Baechle
2065988e9f
MIPS: Oprofile: Add 5K, 20K and 25K support.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2006-01-10 13:39:07 +00:00
Ralf Baechle
9efeae9a5c
MIPS: Oprofile: Print error message if the CPU happen to have no counters.
...
Signed-off-by: Ralf Baechle <ralf@ongar.mips.com>
2006-01-10 13:39:07 +00:00
Ralf Baechle
ba339c03e2
MIPS: Oprofile: Fixup the loose ends in the plumbing.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2006-01-10 13:39:07 +00:00
Ralf Baechle
54176736f7
More oprofile bits for MIPS32-style performance counters. The code to
...
bolt this into the actual hardware interrupt is yet missing from this
commit.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
FEXPORT(ret_from_fork)
2005-10-29 19:30:27 +01:00