From: Michael Ellerman Date: Thu, 16 Feb 2006 03:13:53 +0000 (+1100) Subject: [PATCH] powerpc: Fix bug in spinup of renumbered secondary threads X-Git-Tag: v2.6.16-rc5~72^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=496b7a5159b8366b003bbc17f8c4e27f69b6779e;p=pandora-kernel.git [PATCH] powerpc: Fix bug in spinup of renumbered secondary threads If the logical and physical cpu ids of a secondary thread don't match, we will fail to spin the thread up on pSeries machines due to a bug in pseries/smp.c We call the RTAS "start-cpu" method with the physical cpu id, the address of pSeries_secondary_smp_init and the value to pass that function in r3. Currently we pass "lcpu", the logical cpu id, but pSeries_secondary_smp_init expects the physical cpu id in r3. We should be passing pcpu instead. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed