1 # SPDX-License-Identifier: GPL-2.0
3 depends on PPC64 && PPC_BOOK3S
4 bool "IBM pSeries & new (POWER5-based) iSeries"
5 select HAVE_PCSPKR_PLATFORM
10 select GENERIC_ALLOCATOR
18 select PPC_RTAS_DAEMON
19 select RTAS_ERROR_LOGGING
25 select ARCH_SUPPORTS_PER_VMA_LOCK
31 config PARAVIRT_SPINLOCKS
34 config PARAVIRT_TIME_ACCOUNTING
39 bool "Support for shared-processor logical partitions"
40 depends on PPC_PSERIES
41 select PARAVIRT_SPINLOCKS if PPC_QUEUED_SPINLOCKS
42 select PARAVIRT_TIME_ACCOUNTING if VIRT_CPU_ACCOUNTING_GEN
45 Enabling this option will make the kernel run more efficiently
46 on logically-partitioned pSeries systems which use shared
47 processors, that is, which share physical processors between
48 two or more partitions.
50 Say Y if you are unsure.
53 bool "Dispatch Trace Log"
54 depends on PPC_SPLPAR && DEBUG_FS
56 SPLPAR machines can log hypervisor preempt & dispatch events to a
57 kernel buffer. Saying Y here will enable logging these events,
58 which are accessible through a debugfs file.
60 Say N if you are unsure.
63 tristate "pSeries energy management capabilities driver"
64 depends on PPC_PSERIES
67 Provides interface to platform energy management capabilities
68 on supported PSERIES platforms.
69 Provides: /sys/devices/system/cpu/pseries_(de)activation_hint_list
70 and /sys/devices/system/cpu/cpuN/pseries_(de)activation_hint
73 bool "IO Event Interrupt support"
74 depends on PPC_PSERIES
77 Select this option, if you want to enable support for IO Event
78 interrupts. IO event interrupt is a mechanism provided by RTAS
79 to return information about hardware error and non-error events
80 which may need OS attention. RTAS returns events for multiple
81 event types and scopes. Device drivers can register their handlers
84 This option will only enable the IO event platform code. You
85 will still need to enable or compile the actual drivers
86 that use this infrastructure to handle IO event interrupts.
88 Say Y if you are unsure.
91 bool "LPAR Configuration Data"
92 depends on PPC_PSERIES
94 Provide system capacity information via human readable
95 <key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
97 config PPC_PSERIES_DEBUG
98 depends on PPC_PSERIES && PPC_EARLY_DEBUG
99 bool "Enable extra debug logging in platforms/pseries"
102 Say Y here if you want the pseries core to produce a bunch of
103 debug messages to the system log. Select this if you are having a
104 problem with the pseries core and want to see more of what is
105 going on. This does not enable debugging in lpar.c, which must
106 be manually done due to its verbosity.
109 bool "Support for shared-memory logical partitions"
110 depends on PPC_PSERIES
113 Select this option to enable shared memory partition support.
114 With this option a system running in an LPAR can be given more
115 memory than physically available and will allow firmware to
116 balance memory across many LPARs.
119 tristate "Collaborative memory management"
120 depends on PPC_SMLPAR
121 select MEMORY_BALLOON
124 Select this option, if you want to enable the kernel interface
125 to reduce the memory size of the system. This is accomplished
126 by allocating pages of memory and put them "on hold". This only
127 makes sense for a system running in an LPAR where the unused pages
128 will be reused for other LPARs. The interface allows firmware to
129 balance memory across many LPARs.
132 bool "Hypervisor supplied PMU events (24x7 & GPCI)"
134 depends on PERF_EVENTS && PPC_PSERIES
136 Enable access to hypervisor supplied counters in perf. Currently,
137 this enables code that uses the hcall GetPerfCounterInfo and 24x7
138 interfaces to retrieve counters. GPCI exists on Power 6 and later
139 systems. 24x7 is available on Power 8 and later systems.
144 depends on PPC_PSERIES
149 depends on PPC_PSERIES && !CPU_LITTLE_ENDIAN
150 bool "Support for GX bus based adapters"
152 Bus device driver for GX bus based adapters.
155 depends on PPC_PSERIES
158 # PowerVM provides an isolated Platform Keystore (PKS) storage
159 # allocation for each LPAR with individually managed access
160 # controls to store sensitive information securely. It can be
161 # used to store asymmetric public keys or secrets as required
162 # by different usecases.
164 # This option is selected by in-kernel consumers that require
167 config PSERIES_PLPKS_SED
168 depends on PPC_PSERIES
170 # This option is selected by in-kernel consumers that require
171 # access to the SED PKS keystore.
174 depends on PPC_PSERIES && MEMORY_HOTPLUG && LIBNVDIMM
175 tristate "Support for the PAPR Storage Class Memory interface"
177 Enable access to hypervisor provided storage class memory.
180 bool "Secure virtual machine (SVM) support for POWER"
181 depends on PPC_PSERIES
183 select ARCH_HAS_MEM_ENCRYPT
184 select ARCH_HAS_FORCE_DMA_UNENCRYPTED
185 select ARCH_HAS_CC_PLATFORM
187 There are certain POWER platforms which support secure guests using
188 the Protected Execution Facility, with the help of an Ultravisor
189 executing below the hypervisor layer. This enables support for