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