kernel-ark/arch/powerpc/kernel
Michael Ellerman 33dbcf72f6 [POWERPC] Make sure smp_processor_id works very early in boot
There's a small period early in boot where we don't know which cpu we're
running on. That's ok, except that it means we have no paca, or more
correctly that our paca pointer points somewhere random.

So that we can safely call things like smp_processor_id(), we need a paca,
so just assume we're on cpu 0. No code should _write_ to the paca before
we've set the correct one up.

We setup the proper paca after we've scanned the flat device tree in
early_setup(), so there's no need to do it again in start_here_common.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-06-29 16:22:47 +10:00
..
vdso32
vdso64
align.c [PATCH] powerpc: Implement support for setting little-endian mode via prctl 2006-06-09 21:24:15 +10:00
asm-offsets.c powerpc: Use 64k pages without needing cache-inhibited large pages 2006-06-15 10:45:18 +10:00
binfmt_elf32.c
btext.c
cpu_setup_6xx.S [POWERPC] Guard L3CR references with CPU_FTR_L3CR. 2006-06-21 15:01:27 +10:00
cpu_setup_power4.S [POWERPC] Don't access HID registers if running on a Hypervisor. 2006-06-28 11:51:12 +10:00
cputable.c powerpc: minor cleanups for mpc86xx 2006-06-28 00:37:45 -05:00
crash_dump.c
crash.c [POWERPC] Add the use of the firmware soft-reset-nmi to kdump. 2006-06-28 15:18:52 +10:00
dma_64.c
entry_32.S
entry_64.S [POWERPC] system call micro optimisation 2006-06-15 19:31:26 +10:00
firmware.c
fpu.S [POWERPC] 64bit FPSCR support 2006-06-15 19:31:25 +10:00
head_4xx.S
head_8xx.S
head_32.S [POWERPC] Add starting of secondary 86xx CPUs. 2006-06-21 15:01:28 +10:00
head_44x.S
head_64.S [POWERPC] Make sure smp_processor_id works very early in boot 2006-06-29 16:22:47 +10:00
head_booke.h
head_fsl_booke.S
ibmebus.c
idle_6xx.S
idle_power4.S
idle.c
init_task.c
iomap.c
iommu.c [POWERPC] kdump: Reserve the existing TCE mappings left by the first kernel 2006-06-28 11:59:46 +10:00
irq.c [PATCH] x86/powerpc make hardirq_ctx and softirq_ctx __read_mostly 2006-06-23 07:43:05 -07:00
kprobes.c
l2cr_6xx.S
legacy_serial.c [POWERPC] Add general support for mpc7448hpc2 (Taiga) platform 2006-06-29 16:20:36 +10:00
lparcfg.c [POWERPC] Make lparcfg.c work when both iseries and pseries are selected 2006-06-29 16:22:46 +10:00
lparmap.c
machine_kexec_32.c Storage class should be first 2006-06-26 18:57:34 +02:00
machine_kexec_64.c [POWERPC] Make kexec_setup() a regular initcall 2006-06-28 11:59:47 +10:00
machine_kexec.c
Makefile [POWERPC] Consolidate some of kernel/misc*.S 2006-06-28 15:19:00 +10:00
misc_32.S [POWERPC] Consolidate some of kernel/misc*.S 2006-06-28 15:19:00 +10:00
misc_64.S [POWERPC] Consolidate some of kernel/misc*.S 2006-06-28 15:19:00 +10:00
misc.S [POWERPC] Consolidate some of kernel/misc*.S 2006-06-28 15:19:00 +10:00
module_32.c
module_64.c
nvram_64.c
of_device.c
paca.c [POWERPC] Clean up it_lp_queue.h 2006-06-28 15:18:55 +10:00
pci_32.c [PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM 2006-06-25 10:00:55 -07:00
pci_64.c [PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM 2006-06-25 10:00:55 -07:00
pci_direct_iommu.c [POWERPC] cleanup dma_mapping_ops 2006-06-15 19:31:26 +10:00
pci_dn.c [PATCH] powerpc: clean up iSeries PCI probe 2006-05-24 16:08:57 +10:00
pci_iommu.c [POWERPC] cleanup dma_mapping_ops 2006-06-15 19:31:26 +10:00
perfmon_fsl_booke.c
pmc.c
ppc32.h
ppc_ksyms.c
proc_ppc64.c [PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM 2006-06-25 10:00:55 -07:00
process.c [PATCH] powerpc: Implement PR_[GS]ET_UNALIGN prctls for powerpc 2006-06-09 21:24:16 +10:00
prom_init.c [POWERPC] Fix builtin command line interaction with firmware 2006-06-15 19:31:26 +10:00
prom_parse.c [PATCH] powerpc: fix of_parse_dma_window 2006-06-09 21:21:02 +10:00
prom.c [POWERPC] Setup RTAS values earlier, to enable rtas_call() earlier 2006-06-28 11:59:48 +10:00
ptrace32.c
ptrace-common.h
ptrace.c [PATCH] powerpc: enable PPC_PTRACE_[GS]ETREGS on ppc32 2006-06-09 21:20:51 +10:00
rtas_flash.c [PATCH] powerpc: reorg RTAS delay code 2006-06-09 21:21:06 +10:00
rtas_pci.c [POWERPC] Add support for PCI-Express nodes in the device tree 2006-06-15 19:31:25 +10:00
rtas-proc.c
rtas-rtc.c [PATCH] powerpc: reorg RTAS delay code 2006-06-09 21:21:06 +10:00
rtas.c [POWERPC] Add udbg support for RTAS console 2006-06-28 11:59:48 +10:00
semaphore.c
setup_32.c
setup_64.c [POWERPC] Make sure smp_processor_id works very early in boot 2006-06-29 16:22:47 +10:00
setup-common.c
setup.h
signal_32.c Merge branch 'merge' 2006-06-12 17:53:34 +10:00
signal_64.c Merge branch 'merge' 2006-06-12 17:53:34 +10:00
smp-tbsync.c
smp.c [POWERPC] Add starting of secondary 86xx CPUs. 2006-06-21 15:01:28 +10:00
swsusp_32.S
sys_ppc32.c
syscalls.c
sysfs.c
systbl.S [POWERPC] Unify ppc syscall tables 2006-06-21 15:01:32 +10:00
tau_6xx.c
time.c [PATCH] fix and optimize clock source update 2006-06-26 09:58:21 -07:00
traps.c [POWERPC] Add the use of the firmware soft-reset-nmi to kdump. 2006-06-28 15:18:52 +10:00
udbg_16550.c
udbg.c [POWERPC] Add udbg support for RTAS console 2006-06-28 11:59:48 +10:00
vdso.c [PATCH] powerpc vdso updates 2006-06-09 21:20:57 +10:00
vecemu.c
vector.S [POWERPC] 64bit FPSCR support 2006-06-15 19:31:25 +10:00
vio.c [POWERPC] node local IOMMU tables 2006-06-15 19:31:26 +10:00
vmlinux.lds.S [PATCH] powerpc: make iSeries flattened device tree dynamic 2006-05-24 16:08:57 +10:00