Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=31a12cece7c71c47e61ab8ed45bbff5aac4c1931
Commit:     31a12cece7c71c47e61ab8ed45bbff5aac4c1931
Parent:     665f5600cb80c9cfa2e9bc832f9cd28164d8e283
Author:     Mike Wolf <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 10 13:13:47 2007 -0500
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Wed Jul 11 13:21:46 2007 +1000

    [POWERPC] Oprofile support for Power 5++
    
    This adds a new oprofile cpu type for Power 5 revision 3 chips.
    The new name is ppc64/power5++ and is used so that the performance
    counters can be set up correctly.
    
    Signed-off-by: Mike Wolf <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/kernel/cputable.c |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index 157e6e3..b1f8000 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -294,6 +294,21 @@ static struct cpu_spec cpu_specs[] = {
                .oprofile_mmcra_sipr    = MMCRA_SIPR,
                .platform               = "power5",
        },
+       {       /* Power5++ */
+               .pvr_mask               = 0xffffff00,
+               .pvr_value              = 0x003b0300,
+               .cpu_name               = "POWER5+ (gs)",
+               .cpu_features           = CPU_FTRS_POWER5,
+               .cpu_user_features      = COMMON_USER_POWER5_PLUS,
+               .icache_bsize           = 128,
+               .dcache_bsize           = 128,
+               .num_pmcs               = 6,
+               .oprofile_cpu_type      = "ppc64/power5++",
+               .oprofile_type          = PPC_OPROFILE_POWER4,
+               .oprofile_mmcra_sihv    = MMCRA_SIHV,
+               .oprofile_mmcra_sipr    = MMCRA_SIPR,
+               .platform               = "power5+",
+       },
        {       /* Power5 GS */
                .pvr_mask               = 0xffff0000,
                .pvr_value              = 0x003b0000,
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to