kernel_optimize_test/arch/powerpc
Arnd Bergmann e22ba7e381 [POWERPC] ps3: multiplatform build fixes
A few code paths need to check whether or not they are running
on the PS3's LV1 hypervisor before making hcalls. This introduces
a new firmware feature bit for this, FW_FEATURE_PS3_LV1.

Now when both PS3 and IBM_CELL_BLADE are enabled, but not PSERIES,
FW_FEATURE_PS3_LV1 and FW_FEATURE_LPAR get enabled at compile time,
which is a bug. The same problem can also happen for (PPC_ISERIES &&
!PPC_PSERIES && PPC_SOMETHING_ELSE). In order to solve this, I
introduce a new CONFIG_PPC_NATIVE option that is set when at least
one platform is selected that can run without a hypervisor and then
turns the firmware feature check into a run-time option.

The new cell oprofile support that was recently merged does not
work on hypervisor based platforms like the PS3, therefore make
it depend on PPC_CELL_NATIVE instead of PPC_CELL. This may change
if we get oprofile support for PS3.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
2006-12-04 20:41:16 +11:00
..
boot [POWERPC] Compile a zImage.chrp if PPC_EFIKA seleted 2006-12-04 20:41:04 +11:00
configs [POWERPC] update cell_defconfig for ps3 support 2006-12-04 20:41:01 +11:00
kernel [POWERPC] powerpc: Make 970MP detectable by oprofile 2006-12-04 20:41:02 +11:00
lib [POWERPC] Disallow kprobes on emulate_step and branch_taken 2006-11-01 15:14:12 +11:00
math-emu [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c 2006-09-26 15:24:35 +10:00
mm [POWERPC] ps3: multiplatform build fixes 2006-12-04 20:41:16 +11:00
oprofile [POWERPC] ps3: multiplatform build fixes 2006-12-04 20:41:16 +11:00
platforms [POWERPC] ps3: multiplatform build fixes 2006-12-04 20:41:16 +11:00
sysdev [POWERPC] Don't compile arch/powerpc mpc52xx_pic driver for ARCH=ppc 2006-12-04 20:39:37 +11:00
xmon [POWERPC] cell: fix building without spufs 2006-12-04 20:41:12 +11:00
Kconfig [POWERPC] ps3: multiplatform build fixes 2006-12-04 20:41:16 +11:00
Kconfig.debug [POWERPC] Make xmon disassembly optional 2006-12-04 20:40:32 +11:00
Makefile [POWERPC] Create a "wrapper" script and use it in arch/powerpc/boot 2006-09-28 14:30:02 +10:00