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