xref: /linux/arch/powerpc/platforms/pseries/Kconfig (revision 6b2aac42b20f495d9ea220036f57596d525d4233)
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
2035a1245aSKumar Gala	default y
2114cf11afSPaul Mackerras
2214cf11afSPaul Mackerrasconfig PPC_SPLPAR
2314cf11afSPaul Mackerras	depends on PPC_PSERIES
2414cf11afSPaul Mackerras	bool "Support for shared-processor logical partitions"
2514cf11afSPaul Mackerras	default n
2614cf11afSPaul Mackerras	help
2714cf11afSPaul Mackerras	  Enabling this option will make the kernel run more efficiently
2814cf11afSPaul Mackerras	  on logically-partitioned pSeries systems which use shared
2914cf11afSPaul Mackerras	  processors, that is, which share physical processors between
3014cf11afSPaul Mackerras	  two or more partitions.
3114cf11afSPaul Mackerras
3214cf11afSPaul Mackerrasconfig EEH
336a108a14SDavid Rientjes	bool "PCI Extended Error Handling (EEH)" if EXPERT
3486932082SStephen Rothwell	depends on PPC_PSERIES && PCI
356a108a14SDavid Rientjes	default y if !EXPERT
3614cf11afSPaul Mackerras
371bac0221SMichael Ellermanconfig PSERIES_MSI
381bac0221SMichael Ellerman       bool
391bac0221SMichael Ellerman       depends on PCI_MSI && EEH
401bac0221SMichael Ellerman       default y
411bac0221SMichael Ellerman
425742bd85SVaidyanathan Srinivasanconfig PSERIES_ENERGY
435742bd85SVaidyanathan Srinivasan	tristate "pSeries energy management capabilities driver"
445742bd85SVaidyanathan Srinivasan	depends on PPC_PSERIES
455742bd85SVaidyanathan Srinivasan	default y
465742bd85SVaidyanathan Srinivasan	help
475742bd85SVaidyanathan Srinivasan	  Provides interface to platform energy management capabilities
485742bd85SVaidyanathan Srinivasan	  on supported PSERIES platforms.
495742bd85SVaidyanathan Srinivasan	  Provides: /sys/devices/system/cpu/pseries_(de)activation_hint_list
505742bd85SVaidyanathan Srinivasan	  and /sys/devices/system/cpu/cpuN/pseries_(de)activation_hint
515742bd85SVaidyanathan Srinivasan
5214cf11afSPaul Mackerrasconfig SCANLOG
5314cf11afSPaul Mackerras	tristate "Scanlog dump interface"
5414cf11afSPaul Mackerras	depends on RTAS_PROC && PPC_PSERIES
5514cf11afSPaul Mackerras
5677eafe10STseng-Hui (Frank) Linconfig IO_EVENT_IRQ
5777eafe10STseng-Hui (Frank) Lin	bool "IO Event Interrupt support"
5877eafe10STseng-Hui (Frank) Lin	depends on PPC_PSERIES
5977eafe10STseng-Hui (Frank) Lin	default y
6077eafe10STseng-Hui (Frank) Lin	help
6177eafe10STseng-Hui (Frank) Lin	  Select this option, if you want to enable support for IO Event
6277eafe10STseng-Hui (Frank) Lin	  interrupts. IO event interrupt is a mechanism provided by RTAS
6377eafe10STseng-Hui (Frank) Lin	  to return information about hardware error and non-error events
6477eafe10STseng-Hui (Frank) Lin	  which may need OS attention. RTAS returns events for multiple
6577eafe10STseng-Hui (Frank) Lin	  event types and scopes. Device drivers can register their handlers
6677eafe10STseng-Hui (Frank) Lin	  to receive events.
6777eafe10STseng-Hui (Frank) Lin
6877eafe10STseng-Hui (Frank) Lin	  This option will only enable the IO event platform code. You
6977eafe10STseng-Hui (Frank) Lin	  will still need to enable or compile the actual drivers
70*6b2aac42SMasanari Iida	  that use this infrastructure to handle IO event interrupts.
7177eafe10STseng-Hui (Frank) Lin
7277eafe10STseng-Hui (Frank) Lin	  Say Y if you are unsure.
7377eafe10STseng-Hui (Frank) Lin
7414cf11afSPaul Mackerrasconfig LPARCFG
7582dfdcaeSPaul Mackerras	bool "LPAR Configuration Data"
763d066d77SStephen Rothwell	depends on PPC_PSERIES
7714cf11afSPaul Mackerras	help
7814cf11afSPaul Mackerras	Provide system capacity information via human readable
7914cf11afSPaul Mackerras	<key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
8036f8a2c4SMichael Ellerman
8136f8a2c4SMichael Ellermanconfig PPC_PSERIES_DEBUG
8236f8a2c4SMichael Ellerman	depends on PPC_PSERIES && PPC_EARLY_DEBUG
8336f8a2c4SMichael Ellerman	bool "Enable extra debug logging in platforms/pseries"
8401cf6fe8SNishanth Aravamudan        help
8501cf6fe8SNishanth Aravamudan	  Say Y here if you want the pseries core to produce a bunch of
8601cf6fe8SNishanth Aravamudan	  debug messages to the system log. Select this if you are having a
8701cf6fe8SNishanth Aravamudan	  problem with the pseries core and want to see more of what is
8801cf6fe8SNishanth Aravamudan	  going on. This does not enable debugging in lpar.c, which must
8901cf6fe8SNishanth Aravamudan	  be manually done due to its verbosity.
9036f8a2c4SMichael Ellerman	default y
9184af458bSBrian King
9284af458bSBrian Kingconfig PPC_SMLPAR
9384af458bSBrian King	bool "Support for shared-memory logical partitions"
9484af458bSBrian King	depends on PPC_PSERIES
9584af458bSBrian King	select LPARCFG
9684af458bSBrian King	default n
9784af458bSBrian King	help
9884af458bSBrian King	  Select this option to enable shared memory partition support.
9984af458bSBrian King	  With this option a system running in an LPAR can be given more
10084af458bSBrian King	  memory than physically available and will allow firmware to
10184af458bSBrian King	  balance memory across many LPARs.
10284af458bSBrian King
10384af458bSBrian Kingconfig CMM
10484af458bSBrian King	tristate "Collaborative memory management"
1058be8cf5bSBrian King	depends on PPC_SMLPAR
10684af458bSBrian King	default y
10784af458bSBrian King	help
10884af458bSBrian King	  Select this option, if you want to enable the kernel interface
10984af458bSBrian King	  to reduce the memory size of the system. This is accomplished
11084af458bSBrian King	  by allocating pages of memory and put them "on hold". This only
11184af458bSBrian King	  makes sense for a system running in an LPAR where the unused pages
11284af458bSBrian King	  will be reused for other LPARs. The interface allows firmware to
11384af458bSBrian King	  balance memory across many LPARs.
114fc59a3fcSJeremy Kerr
115fc59a3fcSJeremy Kerrconfig DTL
116fc59a3fcSJeremy Kerr	bool "Dispatch Trace Log"
117fc59a3fcSJeremy Kerr	depends on PPC_SPLPAR && DEBUG_FS
118fc59a3fcSJeremy Kerr	help
119fc59a3fcSJeremy Kerr	  SPLPAR machines can log hypervisor preempt & dispatch events to a
120fc59a3fcSJeremy Kerr	  kernel buffer. Saying Y here will enable logging these events,
121fc59a3fcSJeremy Kerr	  which are accessible through a debugfs file.
122fc59a3fcSJeremy Kerr
123fc59a3fcSJeremy Kerr	  Say N if you are unsure.
124707827f3SDeepthi Dharwar
125707827f3SDeepthi Dharwarconfig PSERIES_IDLE
126f7aa5545SDeepthi Dharwar	bool "Cpuidle driver for pSeries platforms"
127707827f3SDeepthi Dharwar	depends on CPU_IDLE
128707827f3SDeepthi Dharwar	depends on PPC_PSERIES
129707827f3SDeepthi Dharwar	default y
130707827f3SDeepthi Dharwar	help
131707827f3SDeepthi Dharwar	  Select this option to enable processor idle state management
132707827f3SDeepthi Dharwar	  through cpuidle subsystem.
133