Add 8641 CPU table entry.
PATCH v3 3/9 Add 8641 CPU table entry.
Signed-off-by Wei Zhang <[email protected]>
Signed-off-by Xianghua Xiao <[email protected]>
Signed-off-by Jon Loeliger <[email protected]>
---
arch/powerpc/kernel/cputable.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-)
arch/powerpc/kernel/cputable.c +12 -0
@@ -722,6 +722,18 @@ #if CLASSIC_PPC .oprofile_type = PPC_OPROFILE_G4, .platform = "ppc7450", }, + {/* 8641 */ + .pvr_mask = 0xffffffff, + .pvr_value = 0x80040010, + .cpu_name = "8641", + .cpu_features = CPU_FTRS_7447A, + .cpu_user_features = COMMON_USER | PPC_FEATURE_HAS_ALTIVEC_COMP, + .icache_bsize = 32, + .dcache_bsize = 32, + .num_pmcs = 6, + .cpu_setup = __setup_cpu_745x + }, + { /* 82xx (8240, 8245, 8260 are all 603e cores) */ .pvr_mask = 0x7fff0000, .pvr_value = 0x00810000,
Quoted 20 lines · Jon Loeliger
Signed-off-by Wei Zhang <[email protected]>Signed-off-by Xianghua Xiao <[email protected]>Signed-off-by Jon Loeliger <[email protected]>---
arch/powerpc/kernel/cputable.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-)arch/powerpc/kernel/cputable.c +3
-0@@ -722,6 +722,18 @@ #if CLASSIC_PPC .oprofile_type = PPC_OPROFILE_G4, .platform = "ppc7450", }, + {/* 8641 */ + .pvr_mask = 0xffffffff, + .pvr_value = 0x80040010,
arch/powerpc/kernel/cputable.c #if CLASSIC_PPC · line 737
Quoted 10 lines
arch/powerpc/kernel/cputable.c +9
-0+ .cpu_name = "8641", + .cpu_features = CPU_FTRS_7447A, + .cpu_user_features =COMMON_USER | PPC_FEATURE_HAS_ALTIVEC_COMP, + .icache_bsize = 32, + .dcache_bsize = 32, + .num_pmcs = 6, + .cpu_setup = __setup_cpu_745x + }, +
is this really needed? Based on the PVR you'd match the 7448 entry which seems identical (beyond the name, which is irrelevant)? [also your missing oprofile & platform info]
Quoted 7 lines
arch/powerpc/kernel/cputable.c +0
-0{/* 82xx (8240, 8245, 8260 are all 603e cores) */ .pvr_mask = 0x7fff0000,.pvr_value =
0x00810000,
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev