Kconfig 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. # SPDX-License-Identifier: GPL-2.0
  2. config PPC_PS3
  3. bool "Sony PS3"
  4. depends on PPC64 && PPC_BOOK3S && CPU_BIG_ENDIAN
  5. select PPC_CELL
  6. select USB_OHCI_LITTLE_ENDIAN
  7. select USB_OHCI_BIG_ENDIAN_MMIO
  8. select USB_EHCI_BIG_ENDIAN_MMIO
  9. select HAVE_PCI
  10. select IRQ_DOMAIN_NOMAP
  11. help
  12. This option enables support for the Sony PS3 game console
  13. and other platforms using the PS3 hypervisor. Enabling this
  14. option will allow building otheros.bld, a kernel image suitable
  15. for programming into flash memory, and vmlinux, a kernel image
  16. suitable for loading via kexec.
  17. menu "PS3 Platform Options"
  18. depends on PPC_PS3
  19. config PS3_ADVANCED
  20. depends on PPC_PS3
  21. bool "PS3 Advanced configuration options"
  22. help
  23. This gives you access to some advanced options for the PS3. The
  24. defaults should be fine for most users, but these options may make
  25. it possible to better control the kernel configuration if you know
  26. what you are doing.
  27. Note that the answer to this question won't directly affect the
  28. kernel: saying N will just cause the configurator to skip all
  29. the questions about these options.
  30. Most users should say N to this question.
  31. config PS3_HTAB_SIZE
  32. depends on PPC_PS3
  33. int "PS3 Platform pagetable size" if PS3_ADVANCED
  34. range 18 20
  35. default 20
  36. help
  37. This option is only for experts who may have the desire to fine
  38. tune the pagetable size on their system. The value here is
  39. expressed as the log2 of the page table size. Valid values are
  40. 18, 19, and 20, corresponding to 256KB, 512KB and 1MB respectively.
  41. If unsure, choose the default (20) with the confidence that your
  42. system will have optimal runtime performance.
  43. config PS3_DYNAMIC_DMA
  44. depends on PPC_PS3
  45. bool "PS3 Platform dynamic DMA page table management"
  46. help
  47. This option will enable kernel support to take advantage of the
  48. per device dynamic DMA page table management provided by the Cell
  49. processor's IO Controller. This support incurs some runtime
  50. overhead and also slightly increases kernel memory usage. The
  51. current implementation should be considered experimental.
  52. This support is mainly for Linux kernel development. If unsure,
  53. say N.
  54. config PS3_VUART
  55. depends on PPC_PS3
  56. tristate
  57. config PS3_PS3AV
  58. depends on PPC_PS3
  59. tristate "PS3 AV settings driver" if PS3_ADVANCED
  60. select PS3_VUART
  61. default y
  62. help
  63. Include support for the PS3 AV Settings driver.
  64. This support is required for PS3 graphics and sound. In
  65. general, all users will say Y or M.
  66. config PS3_SYS_MANAGER
  67. depends on PPC_PS3
  68. tristate "PS3 System Manager driver" if PS3_ADVANCED
  69. select PS3_VUART
  70. default y
  71. help
  72. Include support for the PS3 System Manager.
  73. This support is required for PS3 system control. In
  74. general, all users will say Y or M.
  75. config PS3_VERBOSE_RESULT
  76. bool "PS3 Verbose LV1 hypercall results" if PS3_ADVANCED
  77. depends on PPC_PS3
  78. help
  79. Enables more verbose log messages for LV1 hypercall results.
  80. If in doubt, say N here and reduce the size of the kernel by a
  81. small amount.
  82. config PS3_REPOSITORY_WRITE
  83. bool "PS3 Repository write support" if PS3_ADVANCED
  84. depends on PPC_PS3
  85. help
  86. Enables support for writing to the PS3 System Repository.
  87. This support is intended for bootloaders that need to store data
  88. in the repository for later boot stages.
  89. If in doubt, say N here and reduce the size of the kernel by a
  90. small amount.
  91. config PS3_STORAGE
  92. depends on PPC_PS3
  93. tristate
  94. config PS3_DISK
  95. tristate "PS3 Disk Storage Driver"
  96. depends on PPC_PS3 && BLOCK
  97. select PS3_STORAGE
  98. help
  99. Include support for the PS3 Disk Storage.
  100. This support is required to access the PS3 hard disk.
  101. In general, all users will say Y or M.
  102. config PS3_ROM
  103. tristate "PS3 BD/DVD/CD-ROM Storage Driver"
  104. depends on PPC_PS3 && SCSI
  105. select PS3_STORAGE
  106. help
  107. Include support for the PS3 ROM Storage.
  108. This support is required to access the PS3 BD/DVD/CD-ROM drive.
  109. In general, all users will say Y or M.
  110. Also make sure to say Y or M to "SCSI CDROM support" later.
  111. config PS3_FLASH
  112. tristate "PS3 FLASH ROM Storage Driver"
  113. depends on PPC_PS3
  114. select PS3_STORAGE
  115. help
  116. Include support for the PS3 FLASH ROM Storage.
  117. This support is required to access the PS3 FLASH ROM, which
  118. contains the boot loader and some boot options.
  119. In general, PS3 OtherOS users will say Y or M.
  120. As this driver needs a fixed buffer of 256 KiB of memory, it can
  121. be disabled on the kernel command line using "ps3flash=off", to
  122. not allocate this fixed buffer.
  123. config PS3_VRAM
  124. tristate "PS3 Video RAM Storage Driver"
  125. depends on FB_PS3=y && BLOCK && m
  126. help
  127. This driver allows you to use excess PS3 video RAM as volatile
  128. storage or system swap.
  129. config PS3_LPM
  130. tristate "PS3 Logical Performance Monitor support"
  131. depends on PPC_PS3
  132. help
  133. Include support for the PS3 Logical Performance Monitor.
  134. This support is required to use the logical performance monitor
  135. of the PS3's LV1 hypervisor.
  136. If you intend to use the advanced performance monitoring and
  137. profiling support of the Cell processor with programs like
  138. perfmon2, then say Y or M, otherwise say N.
  139. config PS3GELIC_UDBG
  140. bool "PS3 udbg output via UDP broadcasts on Ethernet"
  141. depends on PPC_PS3
  142. help
  143. Enables udbg early debugging output by sending broadcast UDP
  144. via the Ethernet port (UDP port number 18194).
  145. This driver uses a trivial implementation and is independent
  146. from the main PS3 gelic network driver.
  147. If in doubt, say N here.
  148. endmenu