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	default y
21
22config PPC_SPLPAR
23	depends on PPC_PSERIES
24	bool "Support for shared-processor logical partitions"
25	default n
26	help
27	  Enabling this option will make the kernel run more efficiently
28	  on logically-partitioned pSeries systems which use shared
29	  processors, that is, which share physical processors between
30	  two or more partitions.
31
32config EEH
33	bool
34	depends on PPC_PSERIES && PCI
35	default y
36
37config PSERIES_MSI
38       bool
39       depends on PCI_MSI && 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 infrastruture 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 DTL
116	bool "Dispatch Trace Log"
117	depends on PPC_SPLPAR && DEBUG_FS
118	help
119	  SPLPAR machines can log hypervisor preempt & dispatch events to a
120	  kernel buffer. Saying Y here will enable logging these events,
121	  which are accessible through a debugfs file.
122
123	  Say N if you are unsure.
124
125config PSERIES_IDLE
126	bool "Cpuidle driver for pSeries platforms"
127	depends on CPU_IDLE
128	depends on PPC_PSERIES
129	default y
130	help
131	  Select this option to enable processor idle state management
132	  through cpuidle subsystem.
133