Kconfig 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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 PPC_PCI_CHOICE
  10. help
  11. This option enables support for the Sony PS3 game console
  12. and other platforms using the PS3 hypervisor. Enabling this
  13. option will allow building otheros.bld, a kernel image suitable
  14. for programming into flash memory, and vmlinux, a kernel image
  15. suitable for loading via kexec.
  16. menu "PS3 Platform Options"
  17. depends on PPC_PS3
  18. config PS3_ADVANCED
  19. depends on PPC_PS3
  20. bool "PS3 Advanced configuration options"
  21. help
  22. This gives you access to some advanced options for the PS3. The
  23. defaults should be fine for most users, but these options may make
  24. it possible to better control the kernel configuration if you know
  25. what you are doing.
  26. Note that the answer to this question won't directly affect the
  27. kernel: saying N will just cause the configurator to skip all
  28. the questions about these options.
  29. Most users should say N to this question.
  30. config PS3_HTAB_SIZE
  31. depends on PPC_PS3
  32. int "PS3 Platform pagetable size" if PS3_ADVANCED
  33. range 18 20
  34. default 20
  35. help
  36. This option is only for experts who may have the desire to fine
  37. tune the pagetable size on their system. The value here is
  38. expressed as the log2 of the page table size. Valid values are
  39. 18, 19, and 20, corresponding to 256KB, 512KB and 1MB respectively.
  40. If unsure, choose the default (20) with the confidence that your
  41. system will have optimal runtime performance.
  42. config PS3_DYNAMIC_DMA
  43. depends on PPC_PS3
  44. bool "PS3 Platform dynamic DMA page table management"
  45. default n
  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_REPOSITORY_WRITE
  76. bool "PS3 Repository write support" if PS3_ADVANCED
  77. depends on PPC_PS3
  78. default n
  79. help
  80. Enables support for writing to the PS3 System Repository.
  81. This support is intended for bootloaders that need to store data
  82. in the repository for later boot stages.
  83. If in doubt, say N here and reduce the size of the kernel by a
  84. small amount.
  85. config PS3_STORAGE
  86. depends on PPC_PS3
  87. tristate
  88. config PS3_DISK
  89. tristate "PS3 Disk Storage Driver"
  90. depends on PPC_PS3 && BLOCK
  91. select PS3_STORAGE
  92. help
  93. Include support for the PS3 Disk Storage.
  94. This support is required to access the PS3 hard disk.
  95. In general, all users will say Y or M.
  96. config PS3_ROM
  97. tristate "PS3 BD/DVD/CD-ROM Storage Driver"
  98. depends on PPC_PS3 && SCSI
  99. select PS3_STORAGE
  100. help
  101. Include support for the PS3 ROM Storage.
  102. This support is required to access the PS3 BD/DVD/CD-ROM drive.
  103. In general, all users will say Y or M.
  104. Also make sure to say Y or M to "SCSI CDROM support" later.
  105. config PS3_FLASH
  106. tristate "PS3 FLASH ROM Storage Driver"
  107. depends on PPC_PS3
  108. select PS3_STORAGE
  109. help
  110. Include support for the PS3 FLASH ROM Storage.
  111. This support is required to access the PS3 FLASH ROM, which
  112. contains the boot loader and some boot options.
  113. In general, PS3 OtherOS users will say Y or M.
  114. As this driver needs a fixed buffer of 256 KiB of memory, it can
  115. be disabled on the kernel command line using "ps3flash=off", to
  116. not allocate this fixed buffer.
  117. config PS3_VRAM
  118. tristate "PS3 Video RAM Storage Driver"
  119. depends on FB_PS3=y && BLOCK && m
  120. help
  121. This driver allows you to use excess PS3 video RAM as volatile
  122. storage or system swap.
  123. config PS3_LPM
  124. tristate "PS3 Logical Performance Monitor support"
  125. depends on PPC_PS3
  126. help
  127. Include support for the PS3 Logical Performance Monitor.
  128. This support is required to use the logical performance monitor
  129. of the PS3's LV1 hypervisor.
  130. If you intend to use the advanced performance monitoring and
  131. profiling support of the Cell processor with programs like
  132. oprofile and perfmon2, then say Y or M, otherwise say N.
  133. config PS3GELIC_UDBG
  134. bool "PS3 udbg output via UDP broadcasts on Ethernet"
  135. depends on PPC_PS3
  136. help
  137. Enables udbg early debugging output by sending broadcast UDP
  138. via the Ethernet port (UDP port number 18194).
  139. This driver uses a trivial implementation and is independent
  140. from the main PS3 gelic network driver.
  141. If in doubt, say N here.
  142. endmenu