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