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