powerpc: Fix cputable entry for 970MP rev 1.0
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 12 Mar 2013 22:55:02 +0000 (09:55 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 12 Mar 2013 23:06:46 +0000 (10:06 +1100)
Commit 44ae3ab3358e962039c36ad4ae461ae9fb29596c forgot to update
the entry for the 970MP rev 1.0 processor when moving some CPU
features bits to the MMU feature bit mask. This breaks booting
on some rare G5 models using that chip revision.

Reported-by: Phileas Fogg <phileas-fogg@mail.ru>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: <stable@vger.kernel.org> [v3.0+]
arch/powerpc/kernel/cputable.c

index 75a3d71..19599ef 100644 (file)
@@ -275,7 +275,7 @@ static struct cpu_spec __initdata cpu_specs[] = {
                .cpu_features           = CPU_FTRS_PPC970,
                .cpu_user_features      = COMMON_USER_POWER4 |
                        PPC_FEATURE_HAS_ALTIVEC_COMP,
-               .mmu_features           = MMU_FTR_HPTE_TABLE,
+               .mmu_features           = MMU_FTRS_PPC970,
                .icache_bsize           = 128,
                .dcache_bsize           = 128,
                .num_pmcs               = 8,