aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorDave Kleikamp <shaggy@linux.vnet.ibm.com>2011-01-26 01:17:58 -0500
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2011-02-02 06:58:53 -0500
commitc48d0dbaac7f27c083430170c66194d6a523bc2a (patch)
tree9eedbc3f576423f3ff782efd4715e757953e1dd3 /arch/powerpc/kernel
parent8960f7ff508064de1896d8539911411179b8433c (diff)
powerpc/476: define specific cpu table entry DD2 core
The DD2 core still has some unstability. Define CPU_FTR_476_DD2 to enable workarounds in later patches. This is based on an earlier, unreleased patch for DD1 by Ben Herrenschmidt. Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/cputable.c22
1 files changed, 18 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index be5ab18b03b5..bf7cf86e04dd 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -1834,11 +1834,11 @@ static struct cpu_spec __initdata cpu_specs[] = {
1834 .machine_check = machine_check_440A, 1834 .machine_check = machine_check_440A,
1835 .platform = "ppc440", 1835 .platform = "ppc440",
1836 }, 1836 },
1837 { /* 476 core */ 1837 { /* 476 DD2 core */
1838 .pvr_mask = 0xffff0000, 1838 .pvr_mask = 0xffffffff,
1839 .pvr_value = 0x11a50000, 1839 .pvr_value = 0x11a52080,
1840 .cpu_name = "476", 1840 .cpu_name = "476",
1841 .cpu_features = CPU_FTRS_47X, 1841 .cpu_features = CPU_FTRS_47X | CPU_FTR_476_DD2,
1842 .cpu_user_features = COMMON_USER_BOOKE | 1842 .cpu_user_features = COMMON_USER_BOOKE |
1843 PPC_FEATURE_HAS_FPU, 1843 PPC_FEATURE_HAS_FPU,
1844 .mmu_features = MMU_FTR_TYPE_47x | 1844 .mmu_features = MMU_FTR_TYPE_47x |
@@ -1862,6 +1862,20 @@ static struct cpu_spec __initdata cpu_specs[] = {
1862 .machine_check = machine_check_47x, 1862 .machine_check = machine_check_47x,
1863 .platform = "ppc470", 1863 .platform = "ppc470",
1864 }, 1864 },
1865 { /* 476 others */
1866 .pvr_mask = 0xffff0000,
1867 .pvr_value = 0x11a50000,
1868 .cpu_name = "476",
1869 .cpu_features = CPU_FTRS_47X,
1870 .cpu_user_features = COMMON_USER_BOOKE |
1871 PPC_FEATURE_HAS_FPU,
1872 .mmu_features = MMU_FTR_TYPE_47x |
1873 MMU_FTR_USE_TLBIVAX_BCAST | MMU_FTR_LOCK_BCAST_INVAL,
1874 .icache_bsize = 32,
1875 .dcache_bsize = 128,
1876 .machine_check = machine_check_47x,
1877 .platform = "ppc470",
1878 },
1865 { /* default match */ 1879 { /* default match */
1866 .pvr_mask = 0x00000000, 1880 .pvr_mask = 0x00000000,
1867 .pvr_value = 0x00000000, 1881 .pvr_value = 0x00000000,