Kconfig 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. # SPDX-License-Identifier: GPL-2.0
  2. config PPC_PSERIES
  3. depends on PPC64 && PPC_BOOK3S
  4. bool "IBM pSeries & new (POWER5-based) iSeries"
  5. select HAVE_PCSPKR_PLATFORM
  6. select MPIC
  7. select OF_DYNAMIC
  8. select PCI
  9. select PCI_MSI
  10. select PPC_XICS
  11. select PPC_XIVE_SPAPR
  12. select PPC_ICP_NATIVE
  13. select PPC_ICP_HV
  14. select PPC_ICS_RTAS
  15. select PPC_I8259
  16. select PPC_RTAS
  17. select PPC_RTAS_DAEMON
  18. select RTAS_ERROR_LOGGING
  19. select PPC_UDBG_16550
  20. select PPC_NATIVE
  21. select PPC_DOORBELL
  22. select HOTPLUG_CPU
  23. select ARCH_RANDOM
  24. select PPC_DOORBELL
  25. select FORCE_SMP
  26. default y
  27. config PPC_SPLPAR
  28. depends on PPC_PSERIES
  29. bool "Support for shared-processor logical partitions"
  30. default n
  31. help
  32. Enabling this option will make the kernel run more efficiently
  33. on logically-partitioned pSeries systems which use shared
  34. processors, that is, which share physical processors between
  35. two or more partitions.
  36. config DTL
  37. bool "Dispatch Trace Log"
  38. depends on PPC_SPLPAR && DEBUG_FS
  39. help
  40. SPLPAR machines can log hypervisor preempt & dispatch events to a
  41. kernel buffer. Saying Y here will enable logging these events,
  42. which are accessible through a debugfs file.
  43. Say N if you are unsure.
  44. config PSERIES_ENERGY
  45. tristate "pSeries energy management capabilities driver"
  46. depends on PPC_PSERIES
  47. default y
  48. help
  49. Provides interface to platform energy management capabilities
  50. on supported PSERIES platforms.
  51. Provides: /sys/devices/system/cpu/pseries_(de)activation_hint_list
  52. and /sys/devices/system/cpu/cpuN/pseries_(de)activation_hint
  53. config SCANLOG
  54. tristate "Scanlog dump interface"
  55. depends on RTAS_PROC && PPC_PSERIES
  56. config IO_EVENT_IRQ
  57. bool "IO Event Interrupt support"
  58. depends on PPC_PSERIES
  59. default y
  60. help
  61. Select this option, if you want to enable support for IO Event
  62. interrupts. IO event interrupt is a mechanism provided by RTAS
  63. to return information about hardware error and non-error events
  64. which may need OS attention. RTAS returns events for multiple
  65. event types and scopes. Device drivers can register their handlers
  66. to receive events.
  67. This option will only enable the IO event platform code. You
  68. will still need to enable or compile the actual drivers
  69. that use this infrastructure to handle IO event interrupts.
  70. Say Y if you are unsure.
  71. config LPARCFG
  72. bool "LPAR Configuration Data"
  73. depends on PPC_PSERIES
  74. help
  75. Provide system capacity information via human readable
  76. <key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
  77. config PPC_PSERIES_DEBUG
  78. depends on PPC_PSERIES && PPC_EARLY_DEBUG
  79. bool "Enable extra debug logging in platforms/pseries"
  80. help
  81. Say Y here if you want the pseries core to produce a bunch of
  82. debug messages to the system log. Select this if you are having a
  83. problem with the pseries core and want to see more of what is
  84. going on. This does not enable debugging in lpar.c, which must
  85. be manually done due to its verbosity.
  86. default y
  87. config PPC_SMLPAR
  88. bool "Support for shared-memory logical partitions"
  89. depends on PPC_PSERIES
  90. select LPARCFG
  91. default n
  92. help
  93. Select this option to enable shared memory partition support.
  94. With this option a system running in an LPAR can be given more
  95. memory than physically available and will allow firmware to
  96. balance memory across many LPARs.
  97. config CMM
  98. tristate "Collaborative memory management"
  99. depends on PPC_SMLPAR
  100. default y
  101. help
  102. Select this option, if you want to enable the kernel interface
  103. to reduce the memory size of the system. This is accomplished
  104. by allocating pages of memory and put them "on hold". This only
  105. makes sense for a system running in an LPAR where the unused pages
  106. will be reused for other LPARs. The interface allows firmware to
  107. balance memory across many LPARs.
  108. config HV_PERF_CTRS
  109. bool "Hypervisor supplied PMU events (24x7 & GPCI)"
  110. default y
  111. depends on PERF_EVENTS && PPC_PSERIES
  112. help
  113. Enable access to hypervisor supplied counters in perf. Currently,
  114. this enables code that uses the hcall GetPerfCounterInfo and 24x7
  115. interfaces to retrieve counters. GPCI exists on Power 6 and later
  116. systems. 24x7 is available on Power 8 and later systems.
  117. If unsure, select Y.
  118. config IBMVIO
  119. depends on PPC_PSERIES
  120. bool
  121. default y
  122. config IBMEBUS
  123. depends on PPC_PSERIES && !CPU_LITTLE_ENDIAN
  124. bool "Support for GX bus based adapters"
  125. help
  126. Bus device driver for GX bus based adapters.