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