xref: /linux/arch/powerpc/platforms/pseries/Kconfig (revision 30daeb6c8f54841274d1845b85c41f44165b3755)
135a1245aSKumar Galaconfig PPC_PSERIES
228794d34SBenjamin Herrenschmidt	depends on PPC64 && PPC_BOOK3S
335a1245aSKumar Gala	bool "IBM pSeries & new (POWER5-based) iSeries"
48761f1abSRalf Baechle	select HAVE_PCSPKR_PLATFORM
535a1245aSKumar Gala	select MPIC
60f22dd39SGrant Likely	select OF_DYNAMIC
78a55c4baSMel Gorman	select PCI_MSI
80b05ac6eSBenjamin Herrenschmidt	select PPC_XICS
90b05ac6eSBenjamin Herrenschmidt	select PPC_ICP_NATIVE
100b05ac6eSBenjamin Herrenschmidt	select PPC_ICP_HV
110b05ac6eSBenjamin Herrenschmidt	select PPC_ICS_RTAS
1235a1245aSKumar Gala	select PPC_I8259
1335a1245aSKumar Gala	select PPC_RTAS
143d541c4bSBenjamin Herrenschmidt	select PPC_RTAS_DAEMON
1535a1245aSKumar Gala	select RTAS_ERROR_LOGGING
1635a1245aSKumar Gala	select PPC_UDBG_16550
1735a1245aSKumar Gala	select PPC_NATIVE
186a108a14SDavid Rientjes	select PPC_PCI_CHOICE if EXPERT
196c493685SJim Keniston	select ZLIB_DEFLATE
20e5e84f0aSIan Munsie	select PPC_DOORBELL
21a1797b2fSLi Zhong	select HAVE_CONTEXT_TRACKING
22f274ef87SSrivatsa S. Bhat	select HOTPLUG_CPU if SMP
238d4887eeSMichael Ellerman	select ARCH_RANDOM
2435a1245aSKumar Gala	default y
2514cf11afSPaul Mackerras
2614cf11afSPaul Mackerrasconfig PPC_SPLPAR
2714cf11afSPaul Mackerras	depends on PPC_PSERIES
2814cf11afSPaul Mackerras	bool "Support for shared-processor logical partitions"
2914cf11afSPaul Mackerras	default n
3014cf11afSPaul Mackerras	help
3114cf11afSPaul Mackerras	  Enabling this option will make the kernel run more efficiently
3214cf11afSPaul Mackerras	  on logically-partitioned pSeries systems which use shared
3314cf11afSPaul Mackerras	  processors, that is, which share physical processors between
3414cf11afSPaul Mackerras	  two or more partitions.
3514cf11afSPaul Mackerras
361bac0221SMichael Ellermanconfig PSERIES_MSI
371bac0221SMichael Ellerman       bool
381edb55a4SMichael Ellerman       depends on PCI_MSI && PPC_PSERIES && EEH
391bac0221SMichael Ellerman       default y
401bac0221SMichael Ellerman
415742bd85SVaidyanathan Srinivasanconfig PSERIES_ENERGY
425742bd85SVaidyanathan Srinivasan	tristate "pSeries energy management capabilities driver"
435742bd85SVaidyanathan Srinivasan	depends on PPC_PSERIES
445742bd85SVaidyanathan Srinivasan	default y
455742bd85SVaidyanathan Srinivasan	help
465742bd85SVaidyanathan Srinivasan	  Provides interface to platform energy management capabilities
475742bd85SVaidyanathan Srinivasan	  on supported PSERIES platforms.
485742bd85SVaidyanathan Srinivasan	  Provides: /sys/devices/system/cpu/pseries_(de)activation_hint_list
495742bd85SVaidyanathan Srinivasan	  and /sys/devices/system/cpu/cpuN/pseries_(de)activation_hint
505742bd85SVaidyanathan Srinivasan
5114cf11afSPaul Mackerrasconfig SCANLOG
5214cf11afSPaul Mackerras	tristate "Scanlog dump interface"
5314cf11afSPaul Mackerras	depends on RTAS_PROC && PPC_PSERIES
5414cf11afSPaul Mackerras
5577eafe10STseng-Hui (Frank) Linconfig IO_EVENT_IRQ
5677eafe10STseng-Hui (Frank) Lin	bool "IO Event Interrupt support"
5777eafe10STseng-Hui (Frank) Lin	depends on PPC_PSERIES
5877eafe10STseng-Hui (Frank) Lin	default y
5977eafe10STseng-Hui (Frank) Lin	help
6077eafe10STseng-Hui (Frank) Lin	  Select this option, if you want to enable support for IO Event
6177eafe10STseng-Hui (Frank) Lin	  interrupts. IO event interrupt is a mechanism provided by RTAS
6277eafe10STseng-Hui (Frank) Lin	  to return information about hardware error and non-error events
6377eafe10STseng-Hui (Frank) Lin	  which may need OS attention. RTAS returns events for multiple
6477eafe10STseng-Hui (Frank) Lin	  event types and scopes. Device drivers can register their handlers
6577eafe10STseng-Hui (Frank) Lin	  to receive events.
6677eafe10STseng-Hui (Frank) Lin
6777eafe10STseng-Hui (Frank) Lin	  This option will only enable the IO event platform code. You
6877eafe10STseng-Hui (Frank) Lin	  will still need to enable or compile the actual drivers
696b2aac42SMasanari Iida	  that use this infrastructure to handle IO event interrupts.
7077eafe10STseng-Hui (Frank) Lin
7177eafe10STseng-Hui (Frank) Lin	  Say Y if you are unsure.
7277eafe10STseng-Hui (Frank) Lin
7314cf11afSPaul Mackerrasconfig LPARCFG
7482dfdcaeSPaul Mackerras	bool "LPAR Configuration Data"
753d066d77SStephen Rothwell	depends on PPC_PSERIES
7614cf11afSPaul Mackerras	help
7714cf11afSPaul Mackerras	Provide system capacity information via human readable
7814cf11afSPaul Mackerras	<key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
7936f8a2c4SMichael Ellerman
8036f8a2c4SMichael Ellermanconfig PPC_PSERIES_DEBUG
8136f8a2c4SMichael Ellerman	depends on PPC_PSERIES && PPC_EARLY_DEBUG
8236f8a2c4SMichael Ellerman	bool "Enable extra debug logging in platforms/pseries"
8301cf6fe8SNishanth Aravamudan        help
8401cf6fe8SNishanth Aravamudan	  Say Y here if you want the pseries core to produce a bunch of
8501cf6fe8SNishanth Aravamudan	  debug messages to the system log. Select this if you are having a
8601cf6fe8SNishanth Aravamudan	  problem with the pseries core and want to see more of what is
8701cf6fe8SNishanth Aravamudan	  going on. This does not enable debugging in lpar.c, which must
8801cf6fe8SNishanth Aravamudan	  be manually done due to its verbosity.
8936f8a2c4SMichael Ellerman	default y
9084af458bSBrian King
9184af458bSBrian Kingconfig PPC_SMLPAR
9284af458bSBrian King	bool "Support for shared-memory logical partitions"
9384af458bSBrian King	depends on PPC_PSERIES
9484af458bSBrian King	select LPARCFG
9584af458bSBrian King	default n
9684af458bSBrian King	help
9784af458bSBrian King	  Select this option to enable shared memory partition support.
9884af458bSBrian King	  With this option a system running in an LPAR can be given more
9984af458bSBrian King	  memory than physically available and will allow firmware to
10084af458bSBrian King	  balance memory across many LPARs.
10184af458bSBrian King
10284af458bSBrian Kingconfig CMM
10384af458bSBrian King	tristate "Collaborative memory management"
1048be8cf5bSBrian King	depends on PPC_SMLPAR
10584af458bSBrian King	default y
10684af458bSBrian King	help
10784af458bSBrian King	  Select this option, if you want to enable the kernel interface
10884af458bSBrian King	  to reduce the memory size of the system. This is accomplished
10984af458bSBrian King	  by allocating pages of memory and put them "on hold". This only
11084af458bSBrian King	  makes sense for a system running in an LPAR where the unused pages
11184af458bSBrian King	  will be reused for other LPARs. The interface allows firmware to
11284af458bSBrian King	  balance memory across many LPARs.
113fc59a3fcSJeremy Kerr
114*30daeb6cSCody P Schaferconfig HV_PERF_CTRS
115*30daeb6cSCody P Schafer       bool "Hypervisor supplied PMU events (24x7 & GPCI)"
116*30daeb6cSCody P Schafer       default y
117*30daeb6cSCody P Schafer       depends on PERF_EVENTS && PPC_PSERIES
118*30daeb6cSCody P Schafer       help
119*30daeb6cSCody P Schafer	  Enable access to hypervisor supplied counters in perf. Currently,
120*30daeb6cSCody P Schafer	  this enables code that uses the hcall GetPerfCounterInfo and 24x7
121*30daeb6cSCody P Schafer	  interfaces to retrieve counters. GPCI exists on Power 6 and later
122*30daeb6cSCody P Schafer	  systems. 24x7 is available on Power 8 systems.
123*30daeb6cSCody P Schafer
124*30daeb6cSCody P Schafer          If unsure, select Y.
125*30daeb6cSCody P Schafer
126fc59a3fcSJeremy Kerrconfig DTL
127fc59a3fcSJeremy Kerr	bool "Dispatch Trace Log"
128fc59a3fcSJeremy Kerr	depends on PPC_SPLPAR && DEBUG_FS
129fc59a3fcSJeremy Kerr	help
130fc59a3fcSJeremy Kerr	  SPLPAR machines can log hypervisor preempt & dispatch events to a
131fc59a3fcSJeremy Kerr	  kernel buffer. Saying Y here will enable logging these events,
132fc59a3fcSJeremy Kerr	  which are accessible through a debugfs file.
133fc59a3fcSJeremy Kerr
134fc59a3fcSJeremy Kerr	  Say N if you are unsure.
135