WSL2-Linux-Kernel/arch/powerpc/platforms
Benjamin Herrenschmidt 8d089085a4 [POWERPC] Cleanup SMT thread handling
This cleans up the SMT thread handling, removing some hard coded
assumptions and providing a set of helpers to convert between linux
cpu numbers, thread numbers and cores.

This implementation requires the number of threads per core to be a
power of 2 and identical on all cores in the system, but it's an
implementation detail, not an API requirement and so this limitation
can be lifted in the future if anybody ever needs it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-12-03 13:56:25 +11:00
..
8xx [POWERPC] 8xx/wrapper: Embedded Planet EP88xC support 2007-10-04 11:02:40 -05:00
40x [POWERPC] 4xx: Replace #includes of asm/of_platform.h with linux/of_platform.h. 2007-11-19 08:13:08 -06:00
44x [POWERPC] 4xx: Replace #includes of asm/of_platform.h with linux/of_platform.h. 2007-11-19 08:13:08 -06:00
52xx [POWERPC] Enable restart support for lite5200 board 2007-10-21 12:43:14 -06:00
82xx [POWERPC] mpc82xx: Add pq2fads board support. 2007-10-04 11:02:47 -05:00
83xx [POWERPC] 83xx: MPC832x RDB - remove spidev stub, use mmc_spi 2007-11-20 15:39:54 -06:00
85xx [POWERPC] 85xx: Killed <asm/mpc85xx.h> 2007-10-11 09:14:31 -05:00
86xx [POWERPC] 85xx/86xx: refactor RSTCR reset code 2007-10-08 08:38:47 -05:00
cell [POWERPC] Cleanup SMT thread handling 2007-12-03 13:56:25 +11:00
celleb [POWERPC] Fix build failure when CONFIG_VIRT_CPU_ACCOUNTING is not defined 2007-11-08 14:15:31 +11:00
chrp [POWERPC] Platforms shouldn't mess with ROOT_DEV 2007-10-11 20:40:43 +10:00
embedded6xx [POWERPC] prpmc2800: Enable L2 cache 2007-11-19 15:11:30 +11:00
iseries [POWERPC] iSeries: Fix ref counting in vio setup 2007-11-08 14:15:33 +11:00
maple remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
pasemi [POWERPC] pasemi: Don't reset mpic at boot 2007-11-19 19:27:17 -06:00
powermac Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq 2007-10-12 15:42:01 -07:00
prep [POWERPC] Split several platforms into their respective Kconfig file 2007-03-22 10:07:32 -05:00
ps3 Update arch/ to use sg helpers 2007-10-22 21:19:59 +02:00
pseries [POWERPC] Cleanup SMT thread handling 2007-12-03 13:56:25 +11:00
Kconfig typo fixes 2007-10-20 01:34:40 +02:00
Kconfig.cputype [POWERPC] 4xx: Split early debug output and early boot console for 44x 2007-10-19 16:18:18 -05:00
Makefile [POWERPC] Walnut board support 2007-09-07 07:51:24 -05:00
fsl_uli1575.c [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00