1
linux/arch/powerpc/platforms/iseries
Benjamin Herrenschmidt f2f6dad6ca powerpc/iseries: Fix early init access to lppaca
The combination of commit

8154c5d22d and
93c22703ef

Broke boot on iSeries.

The problem is that iSeries very early boot code, which generates
the device-tree and runs before our normal early initializations
does need access the lppaca's very early, before the PACA array is
initialized, and in fact even before the boot PACA has been
initialized (it contains all 0's at this stage).

However, the first patch above makes that code use the new
llpaca_of(cpu) accessor, which itself is changed by the second patch to
use the PACA array.

We fix that by reverting iSeries to directly dereferencing the array. In
addition, we fix all iterators in the iSeries code to always skip CPU
whose number is above 63 which is the maximum size of that array and
the maximum number of supported CPUs on these machines.

Additionally, we make sure the boot_paca is properly initialized
in our early startup code.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-03-10 10:06:02 +11:00
..
call_hpt.h
call_pci.h
call_sm.h
dt.c powerpc/iseries: Fix early init access to lppaca 2011-03-10 10:06:02 +11:00
exception.h powerpc: Use names rather than numbers for SPRGs (v2) 2009-08-20 10:12:27 +10:00
exception.S powerpc: Avoid bad relocations in iSeries code 2010-05-21 17:31:08 +10:00
htab.c powerpc: Replace old style lock initializer 2009-11-24 14:31:28 +11:00
hvcall.S
hvlog.c
hvlpconfig.c
iommu.c powerpc: Fix bogus it_blocksize in VIO iommu code 2010-08-24 15:26:31 +10:00
ipl_parms.h
irq.c powerpc: Remove whitespace in irq chip name fields 2010-02-17 14:02:48 +11:00
irq.h
it_exp_vpd_panel.h
it_lp_naca.h
Kconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
ksyms.c
lpardata.c
lpevents.c
main_store.h
Makefile powerpc/Makefiles: Change to new flag variables 2010-10-13 16:19:22 +11:00
mf.c powerpc/iseries: Remove unused mf_getSrcHistory function and caller. 2010-11-29 15:48:21 +11:00
misc.S
naca.h
pci.c powerpc/iseries: Fix possible null pointer dereference in iSeries_pcibios_fixup_resources 2010-07-08 18:11:43 +10:00
pci.h
proc.c powerpc: Remove trailing space in messages 2010-02-09 13:56:23 +11:00
processor_vpd.h
release_data.h
setup.c powerpc/iseries: Fix early init access to lppaca 2011-03-10 10:06:02 +11:00
setup.h
smp.c powerpc: Abstract indexing of lppaca structs 2010-09-02 14:07:31 +10:00
smp.h
spcomm_area.h
vio.c powerpc/iseries: Use kstrdup 2010-07-09 11:28:36 +10:00
viopath.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
vpd_areas.h