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