diff options
author | Michael Neuling <mikey@neuling.org> | 2006-06-08 00:42:34 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-06-09 07:24:05 -0400 |
commit | e78dbc800c37f035d476c4fdebdf43cdecfcb731 (patch) | |
tree | 3b5ff1242c284e0c77e755b62d7e8600aafceb25 /include/asm-powerpc/reg.h | |
parent | 8eb6c6e3b9c8bfed3d75536ab142d7694627c2e5 (diff) |
[PATCH] powerpc: oprofile support for POWER6
POWER6 moves some of the MMCRA bits and also requires some bits to be
cleared each PMU interrupt.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Acked-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/reg.h')
-rw-r--r-- | include/asm-powerpc/reg.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-powerpc/reg.h b/include/asm-powerpc/reg.h index 0257189d5017..3779b21a7c71 100644 --- a/include/asm-powerpc/reg.h +++ b/include/asm-powerpc/reg.h | |||
@@ -443,6 +443,10 @@ | |||
443 | #define MMCRA_SIHV 0x10000000UL /* state of MSR HV when SIAR set */ | 443 | #define MMCRA_SIHV 0x10000000UL /* state of MSR HV when SIAR set */ |
444 | #define MMCRA_SIPR 0x08000000UL /* state of MSR PR when SIAR set */ | 444 | #define MMCRA_SIPR 0x08000000UL /* state of MSR PR when SIAR set */ |
445 | #define MMCRA_SAMPLE_ENABLE 0x00000001UL /* enable sampling */ | 445 | #define MMCRA_SAMPLE_ENABLE 0x00000001UL /* enable sampling */ |
446 | #define POWER6_MMCRA_SIHV 0x0000040000000000ULL | ||
447 | #define POWER6_MMCRA_SIPR 0x0000020000000000ULL | ||
448 | #define POWER6_MMCRA_THRM 0x00000020UL | ||
449 | #define POWER6_MMCRA_OTHER 0x0000000EUL | ||
446 | #define SPRN_PMC1 787 | 450 | #define SPRN_PMC1 787 |
447 | #define SPRN_PMC2 788 | 451 | #define SPRN_PMC2 788 |
448 | #define SPRN_PMC3 789 | 452 | #define SPRN_PMC3 789 |