From: Michael Ellerman Date: Fri, 23 May 2014 08:15:27 +0000 (+1000) Subject: powerpc: Add threads_per_subcore X-Git-Tag: omap-for-v3.16/fixes-against-rc1~60^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5853aef1ac5c5d83076203e840ca463857a7515d;p=pandora-kernel.git powerpc: Add threads_per_subcore On POWER8 we have a new concept of a subcore. This is what happens when you take a regular core and split it. A subcore is a grouping of two or four SMT threads, as well as a handfull of SPRs which allows the subcore to appear as if it were a core from the point of view of a guest. Unlike threads_per_core which is fixed at boot, threads_per_subcore can change while the system is running. Most code will not want to use threads_per_subcore. Signed-off-by: Michael Ellerman Signed-off-by: Michael Neuling Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed