WSL2-Linux-Kernel/arch/powerpc/platforms
Anton Blanchard 4df20460a3 [PATCH] powerpc: Allow non zero boot cpuids
We currently have a hack to flip the boot cpu and its secondary thread
to logical cpuid 0 and 1. This means the logical - physical mapping will
differ depending on which cpu is boot cpu. This is most apparent on
kexec, where we might kexec on any cpu and therefore change the mapping
from boot to boot.

The patch below does a first pass early on to work out the logical cpuid
of the boot thread. We then fix up some paca structures to match.

Ive also removed the boot_cpuid_phys variable for ppc64, to be
consistent we use get_hard_smp_processor_id(boot_cpuid) everywhere.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-03-27 14:48:48 +11:00
..
4xx ppc: Various minor compile fixes 2005-10-11 22:08:12 +10:00
8xx powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
83xx powerpc: Fix mpc83xx restart bug 2006-02-16 14:32:08 -06:00
85xx powerpc: Add PCI support for 8540 ADS to powerpc tree 2006-02-21 23:48:59 -06:00
apus powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
cell [PATCH] spufs: Fix endless protection fault on LS writes by SPE. 2006-03-27 14:48:44 +11:00
chrp [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
embedded6xx [PATCH] powerpc: Updated Kconfig and Makefiles for 83xx support 2006-01-11 15:35:29 +11:00
iseries [PATCH] powerpc: iseries: Add bootargs to /chosen 2006-03-22 15:04:27 +11:00
maple Merge ../powerpc-merge 2006-02-24 14:05:47 +11:00
powermac [PATCH] powerpc: fix various sparse warnings 2006-03-27 14:48:08 +11:00
prep powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
pseries [PATCH] powerpc: Allow non zero boot cpuids 2006-03-27 14:48:48 +11:00
Makefile [PATCH] powerpc: Updated Initial MPC8540 ADS port with OF Flat Dev 2006-01-20 16:11:06 +11:00