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	select PPC_DOORBELL
25	default y
26
27config 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
37config PSERIES_MSI
38       bool
39       depends on PCI_MSI && PPC_PSERIES && EEH
40       default y
41
42config PSERIES_ENERGY
43	tristate "pSeries energy management capabilities driver"
44	depends on PPC_PSERIES
45	default y
46	help
47	  Provides interface to platform energy management capabilities
48	  on supported PSERIES platforms.
49	  Provides: /sys/devices/system/cpu/pseries_(de)activation_hint_list
50	  and /sys/devices/system/cpu/cpuN/pseries_(de)activation_hint
51
52config SCANLOG
53	tristate "Scanlog dump interface"
54	depends on RTAS_PROC && PPC_PSERIES
55
56config 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
68	  This option will only enable the IO event platform code. You
69	  will still need to enable or compile the actual drivers
70	  that use this infrastructure to handle IO event interrupts.
71
72	  Say Y if you are unsure.
73
74config LPARCFG
75	bool "LPAR Configuration Data"
76	depends on PPC_PSERIES
77	help
78	Provide system capacity information via human readable
79	<key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
80
81config PPC_PSERIES_DEBUG
82	depends on PPC_PSERIES && PPC_EARLY_DEBUG
83	bool "Enable extra debug logging in platforms/pseries"
84        help
85	  Say Y here if you want the pseries core to produce a bunch of
86	  debug messages to the system log. Select this if you are having a
87	  problem with the pseries core and want to see more of what is
88	  going on. This does not enable debugging in lpar.c, which must
89	  be manually done due to its verbosity.
90	default y
91
92config PPC_SMLPAR
93	bool "Support for shared-memory logical partitions"
94	depends on PPC_PSERIES
95	select LPARCFG
96	default n
97	help
98	  Select this option to enable shared memory partition support.
99	  With this option a system running in an LPAR can be given more
100	  memory than physically available and will allow firmware to
101	  balance memory across many LPARs.
102
103config CMM
104	tristate "Collaborative memory management"
105	depends on PPC_SMLPAR
106	default y
107	help
108	  Select this option, if you want to enable the kernel interface
109	  to reduce the memory size of the system. This is accomplished
110	  by allocating pages of memory and put them "on hold". This only
111	  makes sense for a system running in an LPAR where the unused pages
112	  will be reused for other LPARs. The interface allows firmware to
113	  balance memory across many LPARs.
114
115config HV_PERF_CTRS
116       bool "Hypervisor supplied PMU events (24x7 & GPCI)"
117       default y
118       depends on PERF_EVENTS && PPC_PSERIES
119       help
120	  Enable access to hypervisor supplied counters in perf. Currently,
121	  this enables code that uses the hcall GetPerfCounterInfo and 24x7
122	  interfaces to retrieve counters. GPCI exists on Power 6 and later
123	  systems. 24x7 is available on Power 8 systems.
124
125          If unsure, select Y.
126
127config DTL
128	bool "Dispatch Trace Log"
129	depends on PPC_SPLPAR && DEBUG_FS
130	help
131	  SPLPAR machines can log hypervisor preempt & dispatch events to a
132	  kernel buffer. Saying Y here will enable logging these events,
133	  which are accessible through a debugfs file.
134
135	  Say N if you are unsure.
136