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