Merge remote-tracking branch 'scott/next' into next
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Aug 2014 04:13:41 +0000 (14:13 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Aug 2014 04:13:41 +0000 (14:13 +1000)
Scott writes:

Highlights include e6500 hardware threading support, an e6500 TLB erratum
workaround, corenet error reporting, support for a new board, and some
minor fixes.

1  2 
arch/powerpc/include/asm/cputable.h
arch/powerpc/kernel/head_64.S
arch/powerpc/kernel/prom.c
arch/powerpc/kernel/setup-common.c
arch/powerpc/kernel/setup_64.c

Simple merge
Simple merge
Simple merge
index e5b022c55ccd3a62ec11454e315717a89d544209,1bb4dcde0dcc9c071a1c3a2450596583b62caa08..1b0e26013a62d3c9b2853b429b9f5fedad7fc1ed
@@@ -468,18 -468,12 +468,20 @@@ void __init smp_setup_cpu_maps(void
                        }
                }
  
+               nthreads = len / sizeof(int);
                for (j = 0; j < nthreads && cpu < nr_cpu_ids; j++) {
 +                      bool avail;
 +
                        DBG("    thread %d -> cpu %d (hard id %d)\n",
                            j, cpu, be32_to_cpu(intserv[j]));
 -                      set_cpu_present(cpu, of_device_is_available(dn));
 +
 +                      avail = of_device_is_available(dn);
 +                      if (!avail)
 +                              avail = !of_property_match_string(dn,
 +                                              "enable-method", "spin-table");
 +
 +                      set_cpu_present(cpu, avail);
                        set_hard_smp_processor_id(cpu, be32_to_cpu(intserv[j]));
                        set_cpu_possible(cpu, true);
                        cpu++;
Simple merge