linux/arch/powerpc/platforms
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
..
8xx powerpc/8xx: Add support for the MPC8xx based boards from TQC 2010-08-04 14:25:22 -05:00
40x of/flattree: Add of_flat_dt_match() helper function 2011-01-01 13:03:25 -07:00
44x powerpc/4xx: Add suspend and idle support 2010-11-29 10:05:06 -05:00
52xx Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-01-13 10:05:56 -08:00
82xx powerpc: remove references to of_device and to_of_device 2010-07-24 09:58:21 -06:00
83xx Merge branch 'devicetree/merge' of git://git.secretlab.ca/git/linux-2.6 2011-01-21 13:24:16 -08:00
85xx Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-01-13 10:05:56 -08:00
86xx Merge commit 'v2.6.35-rc6' into devicetree/next 2010-07-24 09:49:13 -06:00
512x of/flattree: Add of_flat_dt_match() helper function 2011-01-01 13:03:25 -07:00
amigaone of/address: Clean up function declarations 2010-08-01 01:42:42 -06:00
cell powerpc/kdump: Move crash_kexec_stop_spus to kdump crash handler 2011-01-21 14:08:36 +11:00
chrp powerpc/nvram: Move things out of asm/nvram.h 2010-11-30 15:09:19 +11:00
embedded6xx powerpc/kexec: Remove empty ppc_md.machine_kexec_prepare 2011-01-21 14:08:36 +11:00
iseries powerpc/iseries: Fix early init access to lppaca 2011-03-10 10:06:02 +11:00
maple powerpc/maple: Add of_node_put to avoid memory leak 2010-09-02 14:07:33 +10:00
pasemi powerpc/pasemi: Clean up pasemi iommu table initializations 2010-11-29 15:48:20 +11:00
powermac powerpc/powermac: Make auto-loading of therm_pm72 possible 2010-12-09 15:36:30 +11:00
prep powerpc/kconfig: Kill PPC_MULTIPLATFORM 2009-03-11 17:11:35 +11:00
ps3 tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
pseries powerpc: Fix hcall tracepoint recursion 2011-02-07 13:06:08 +11:00
Kconfig Merge v2.6.37-rc8 into powerpc/next 2010-12-29 22:21:47 -07:00
Kconfig.cputype powerpc/fsl-booke: Add support for FSL 64-bit e5500 core 2010-10-14 00:55:03 -05:00
Makefile powerpc/85xx: Kconfig cleanup 2009-11-20 16:45:27 -06:00
fsl_uli1575.c PCI: add pci_bus_for_each_resource(), remove direct bus->resource[] refs 2010-02-23 09:43:31 -08:00