Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f58a9d17 authored by Geoff Levand's avatar Geoff Levand Committed by Paul Mackerras
Browse files

[POWERPC] ps3: add support for ps3 platform



Adds the core platform support for the PS3 game console and other devices
using the PS3 hypervisor.

Signed-off-by: default avatarGeoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: default avatarArnd Bergmann <arnd.bergmann@de.ibm.com>
parent a985239b
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -2443,6 +2443,13 @@ M: promise@pnd-pc.demon.co.uk
W:	http://www.pnd-pc.demon.co.uk/promise/
S:	Maintained

PS3 PLATFORM SUPPORT
P:	Geoff Levand
M:	geoffrey.levand@am.sony.com
L:	linuxppc-dev@ozlabs.org
L:	cbe-oss-dev@ozlabs.org
S:	Supported

PVRUSB2 VIDEO4LINUX DRIVER
P:	Mike Isely
M:	isely@pobox.com
+10 −1
Original line number Diff line number Diff line
@@ -495,6 +495,14 @@ config UDBG_RTAS_CONSOLE
	depends on PPC_RTAS
	default n

config PPC_PS3
	bool "Sony PS3"
	depends on PPC_MULTIPLATFORM && PPC64
	select PPC_CELL
	help
	  This option enables support for the Sony PS3 game console
	  and other platforms using the PS3 hypervisor.

config XICS
	depends on PPC_PSERIES
	bool
@@ -647,6 +655,7 @@ source arch/powerpc/platforms/85xx/Kconfig
source arch/powerpc/platforms/86xx/Kconfig
source arch/powerpc/platforms/8xx/Kconfig
source arch/powerpc/platforms/cell/Kconfig
source arch/powerpc/platforms/ps3/Kconfig

menu "Kernel options"

@@ -917,7 +926,7 @@ config MCA

config PCI
	bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \
		|| PPC_MPC52xx || (EMBEDDED && PPC_ISERIES) || MPC7448HPC2
		|| PPC_MPC52xx || (EMBEDDED && PPC_ISERIES) || MPC7448HPC2 || PPC_PS3
	default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx \
		&& !PPC_85xx && !PPC_86xx
	default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS
+1 −0
Original line number Diff line number Diff line
@@ -16,4 +16,5 @@ obj-$(CONFIG_PPC_ISERIES) += iseries/
obj-$(CONFIG_PPC_MAPLE)		+= maple/
obj-$(CONFIG_PPC_PASEMI)		+= pasemi/
obj-$(CONFIG_PPC_CELL)		+= cell/
obj-$(CONFIG_PS3)		+= ps3/
obj-$(CONFIG_EMBEDDED6xx)	+= embedded6xx/
+32 −0
Original line number Diff line number Diff line
menu "PS3 Platform Options"
	depends on PPC_PS3

config PS3_HTAB_SIZE
	depends on PPC_PS3
	int "PS3 Platform pagetable size"
	range 18 20
	default 20
	help
	  This option is only for experts who may have the desire to fine
	  tune the pagetable size on their system.  The value here is
	  expressed as the log2 of the page table size.  Valid values are
	  18, 19, and 20, corresponding to 256KB, 512KB and 1MB respectively.

	  If unsure, choose the default (20) with the confidence that your
	  system will have optimal runtime performance.

config PS3_DYNAMIC_DMA
	depends on PPC_PS3 && EXPERIMENTAL
	bool "PS3 Platform dynamic DMA page table management"
	default n
	help
	  This option will enable kernel support to take advantage of the
	  per device dynamic DMA page table management provided by the Cell
	  processor's IO Controller.  This support incurs some runtime
	  overhead and also slightly increases kernel memory usage.  The
	  current implementation should be considered experimental.

	  This support is mainly for Linux kernel development.  If unsure,
	  say N.

endmenu
+2 −0
Original line number Diff line number Diff line
obj-y += setup.o mm.o smp.o time.o hvcall.o htab.o repository.o
obj-y += interrupt.o exports.o
Loading