]> git.hungrycats.org Git - linux/commitdiff
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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 27 Mar 2013 02:41:02 +0000 (02:41 +0000)
commit d63ac5f6cf31c8a83170a9509b350c1489a7262b upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/powerpc/kernel/cputable.c

index edae5bb06f1f3906847b0207955f9d560bc57aae..b92b7569f9a9af3e74e562b912dd7148bde7776b 100644 (file)
@@ -268,7 +268,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,