xref: /linux/arch/powerpc/platforms/ps3/Kconfig (revision b500563b22ea2a78760b2ccaa328426b0388e2ee)
172e77a1bSKumar Galaconfig PPC_PS3
2332a7b3eSGeoff Levand	bool "Sony PS3"
372e77a1bSKumar Gala	depends on PPC_MULTIPLATFORM && PPC64
472e77a1bSKumar Gala	select PPC_CELL
572e77a1bSKumar Gala	select USB_ARCH_HAS_OHCI
672e77a1bSKumar Gala	select USB_OHCI_LITTLE_ENDIAN
772e77a1bSKumar Gala	select USB_OHCI_BIG_ENDIAN_MMIO
872e77a1bSKumar Gala	select USB_ARCH_HAS_EHCI
972e77a1bSKumar Gala	select USB_EHCI_BIG_ENDIAN_MMIO
10ae639ac9SGeoff Levand	select MEMORY_HOTPLUG
11*b500563bSJohn Rigby	select PPC_PCI_CHOICE
1272e77a1bSKumar Gala	help
1372e77a1bSKumar Gala	  This option enables support for the Sony PS3 game console
14332a7b3eSGeoff Levand	  and other platforms using the PS3 hypervisor.  Enabling this
15332a7b3eSGeoff Levand	  option will allow building otheros.bld, a kernel image suitable
16332a7b3eSGeoff Levand	  for programming into flash memory, and vmlinux, a kernel image
17332a7b3eSGeoff Levand	  suitable for loading via kexec.
1872e77a1bSKumar Gala
19f58a9d17SGeoff Levandmenu "PS3 Platform Options"
20f58a9d17SGeoff Levand	depends on PPC_PS3
21f58a9d17SGeoff Levand
223f555c70SGeert Uytterhoevenconfig PS3_ADVANCED
233f555c70SGeert Uytterhoeven	depends on PPC_PS3
243f555c70SGeert Uytterhoeven	bool "PS3 Advanced configuration options"
253f555c70SGeert Uytterhoeven	help
263f555c70SGeert Uytterhoeven	  This gives you access to some advanced options for the PS3. The
273f555c70SGeert Uytterhoeven	  defaults should be fine for most users, but these options may make
283f555c70SGeert Uytterhoeven	  it possible to better control the kernel configuration if you know
293f555c70SGeert Uytterhoeven	  what you are doing.
303f555c70SGeert Uytterhoeven
313f555c70SGeert Uytterhoeven	  Note that the answer to this question won't directly affect the
323f555c70SGeert Uytterhoeven	  kernel: saying N will just cause the configurator to skip all
333f555c70SGeert Uytterhoeven	  the questions about these options.
343f555c70SGeert Uytterhoeven
353f555c70SGeert Uytterhoeven	  Most users should say N to this question.
363f555c70SGeert Uytterhoeven
37f58a9d17SGeoff Levandconfig PS3_HTAB_SIZE
38f58a9d17SGeoff Levand	depends on PPC_PS3
393f555c70SGeert Uytterhoeven	int "PS3 Platform pagetable size" if PS3_ADVANCED
40f58a9d17SGeoff Levand	range 18 20
41f58a9d17SGeoff Levand	default 20
42f58a9d17SGeoff Levand	help
43f58a9d17SGeoff Levand	  This option is only for experts who may have the desire to fine
44f58a9d17SGeoff Levand	  tune the pagetable size on their system.  The value here is
45f58a9d17SGeoff Levand	  expressed as the log2 of the page table size.  Valid values are
46f58a9d17SGeoff Levand	  18, 19, and 20, corresponding to 256KB, 512KB and 1MB respectively.
47f58a9d17SGeoff Levand
48f58a9d17SGeoff Levand	  If unsure, choose the default (20) with the confidence that your
49f58a9d17SGeoff Levand	  system will have optimal runtime performance.
50f58a9d17SGeoff Levand
51f58a9d17SGeoff Levandconfig PS3_DYNAMIC_DMA
52f58a9d17SGeoff Levand	depends on PPC_PS3 && EXPERIMENTAL
53f58a9d17SGeoff Levand	bool "PS3 Platform dynamic DMA page table management"
54f58a9d17SGeoff Levand	default n
55f58a9d17SGeoff Levand	help
56f58a9d17SGeoff Levand	  This option will enable kernel support to take advantage of the
57f58a9d17SGeoff Levand	  per device dynamic DMA page table management provided by the Cell
58f58a9d17SGeoff Levand	  processor's IO Controller.  This support incurs some runtime
59f58a9d17SGeoff Levand	  overhead and also slightly increases kernel memory usage.  The
60f58a9d17SGeoff Levand	  current implementation should be considered experimental.
61f58a9d17SGeoff Levand
62f58a9d17SGeoff Levand	  This support is mainly for Linux kernel development.  If unsure,
63f58a9d17SGeoff Levand	  say N.
64f58a9d17SGeoff Levand
6574e95d5dSGeoff Levandconfig PS3_VUART
6674e95d5dSGeoff Levand	depends on PPC_PS3
677626e78dSGeoff Levand	tristate
6874e95d5dSGeoff Levand
6911227fd1SGeert Uytterhoevenconfig PS3_PS3AV
707626e78dSGeoff Levand	depends on PPC_PS3
713f555c70SGeert Uytterhoeven	tristate "PS3 AV settings driver" if PS3_ADVANCED
727626e78dSGeoff Levand	select PS3_VUART
7311227fd1SGeert Uytterhoeven	default y
7411227fd1SGeert Uytterhoeven	help
7511227fd1SGeert Uytterhoeven	  Include support for the PS3 AV Settings driver.
7611227fd1SGeert Uytterhoeven
7711227fd1SGeert Uytterhoeven	  This support is required for graphics and sound. In
7811227fd1SGeert Uytterhoeven	  general, all users will say Y or M.
7911227fd1SGeert Uytterhoeven
80fde5efd0SGeoff Levandconfig PS3_SYS_MANAGER
817626e78dSGeoff Levand	depends on PPC_PS3
827626e78dSGeoff Levand	tristate "PS3 System Manager driver" if PS3_ADVANCED
837626e78dSGeoff Levand	select PS3_VUART
84eb8dc843SMichael Ellerman	default y
85fde5efd0SGeoff Levand	help
86fde5efd0SGeoff Levand	  Include support for the PS3 System Manager.
87fde5efd0SGeoff Levand
88fde5efd0SGeoff Levand	  This support is required for system control.  In
897626e78dSGeoff Levand	  general, all users will say Y or M.
90fde5efd0SGeoff Levand
9180071802SGeert Uytterhoevenconfig PS3_STORAGE
9280071802SGeert Uytterhoeven	depends on PPC_PS3
9380071802SGeert Uytterhoeven	tristate
9480071802SGeert Uytterhoeven
95c6131fa5SGeert Uytterhoevenconfig PS3_DISK
96c6131fa5SGeert Uytterhoeven	tristate "PS3 Disk Storage Driver"
97c6131fa5SGeert Uytterhoeven	depends on PPC_PS3 && BLOCK
98c6131fa5SGeert Uytterhoeven	select PS3_STORAGE
99c6131fa5SGeert Uytterhoeven	help
100c6131fa5SGeert Uytterhoeven	  Include support for the PS3 Disk Storage.
101c6131fa5SGeert Uytterhoeven
102c6131fa5SGeert Uytterhoeven	  This support is required to access the PS3 hard disk.
103c6131fa5SGeert Uytterhoeven	  In general, all users will say Y or M.
104c6131fa5SGeert Uytterhoeven
1059aea8cbfSGeert Uytterhoevenconfig PS3_ROM
1069aea8cbfSGeert Uytterhoeven	tristate "PS3 BD/DVD/CD-ROM Storage Driver"
1079aea8cbfSGeert Uytterhoeven	depends on PPC_PS3 && SCSI
1089aea8cbfSGeert Uytterhoeven	select PS3_STORAGE
1099aea8cbfSGeert Uytterhoeven	help
1109aea8cbfSGeert Uytterhoeven	  Include support for the PS3 ROM Storage.
1119aea8cbfSGeert Uytterhoeven
1129aea8cbfSGeert Uytterhoeven	  This support is required to access the PS3 BD/DVD/CD-ROM drive.
1139aea8cbfSGeert Uytterhoeven	  In general, all users will say Y or M.
1149aea8cbfSGeert Uytterhoeven	  Also make sure to say Y or M to "SCSI CDROM support" later.
1159aea8cbfSGeert Uytterhoeven
116f9652635SGeert Uytterhoevenconfig PS3_FLASH
117f9652635SGeert Uytterhoeven	tristate "PS3 FLASH ROM Storage Driver"
118f9652635SGeert Uytterhoeven	depends on PPC_PS3
119f9652635SGeert Uytterhoeven	select PS3_STORAGE
120f9652635SGeert Uytterhoeven	help
121f9652635SGeert Uytterhoeven	  Include support for the PS3 FLASH ROM Storage.
122f9652635SGeert Uytterhoeven
123f9652635SGeert Uytterhoeven	  This support is required to access the PS3 FLASH ROM, which
124f9652635SGeert Uytterhoeven	  contains the boot loader and some boot options.
125f9652635SGeert Uytterhoeven	  In general, all users will say Y or M.
126f9652635SGeert Uytterhoeven
127f9652635SGeert Uytterhoeven	  As this driver needs a fixed buffer of 256 KiB of memory, it can
128f9652635SGeert Uytterhoeven	  be disabled on the kernel command line using "ps3flash=off", to
129f9652635SGeert Uytterhoeven	  not allocate this fixed buffer.
130f9652635SGeert Uytterhoeven
131781749a4STakashi Yamamotoconfig PS3_LPM
132781749a4STakashi Yamamoto	tristate "PS3 Logical Performance Monitor support"
133781749a4STakashi Yamamoto	depends on PPC_PS3
134781749a4STakashi Yamamoto	help
135781749a4STakashi Yamamoto	  Include support for the PS3 Logical Performance Monitor.
136781749a4STakashi Yamamoto
137781749a4STakashi Yamamoto	  This support is required to use the logical performance monitor
138781749a4STakashi Yamamoto	  of the PS3's LV1 hypervisor.
139781749a4STakashi Yamamoto
140781749a4STakashi Yamamoto	  If you intend to use the advanced performance monitoring and
141781749a4STakashi Yamamoto	  profiling support of the Cell processor with programs like
142781749a4STakashi Yamamoto	  oprofile and perfmon2, then say Y or M, otherwise say N.
143781749a4STakashi Yamamoto
144f58a9d17SGeoff Levandendmenu
145