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