xref: /linux/arch/powerpc/platforms/pseries/Kconfig (revision 3d066d77cf464ea1e47808f95243301fd2175a7f)
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
68a55c4baSMel Gorman	select PCI_MSI
70b05ac6eSBenjamin Herrenschmidt	select PPC_XICS
80b05ac6eSBenjamin Herrenschmidt	select PPC_ICP_NATIVE
90b05ac6eSBenjamin Herrenschmidt	select PPC_ICP_HV
100b05ac6eSBenjamin Herrenschmidt	select PPC_ICS_RTAS
1135a1245aSKumar Gala	select PPC_I8259
1235a1245aSKumar Gala	select PPC_RTAS
133d541c4bSBenjamin Herrenschmidt	select PPC_RTAS_DAEMON
1435a1245aSKumar Gala	select RTAS_ERROR_LOGGING
1535a1245aSKumar Gala	select PPC_UDBG_16550
1635a1245aSKumar Gala	select PPC_NATIVE
176a108a14SDavid Rientjes	select PPC_PCI_CHOICE if EXPERT
186c493685SJim Keniston	select ZLIB_DEFLATE
1935a1245aSKumar Gala	default y
2014cf11afSPaul Mackerras
2114cf11afSPaul Mackerrasconfig PPC_SPLPAR
2214cf11afSPaul Mackerras	depends on PPC_PSERIES
2314cf11afSPaul Mackerras	bool "Support for shared-processor logical partitions"
2414cf11afSPaul Mackerras	default n
2514cf11afSPaul Mackerras	help
2614cf11afSPaul Mackerras	  Enabling this option will make the kernel run more efficiently
2714cf11afSPaul Mackerras	  on logically-partitioned pSeries systems which use shared
2814cf11afSPaul Mackerras	  processors, that is, which share physical processors between
2914cf11afSPaul Mackerras	  two or more partitions.
3014cf11afSPaul Mackerras
3114cf11afSPaul Mackerrasconfig EEH
326a108a14SDavid Rientjes	bool "PCI Extended Error Handling (EEH)" if EXPERT
3386932082SStephen Rothwell	depends on PPC_PSERIES && PCI
346a108a14SDavid Rientjes	default y if !EXPERT
3514cf11afSPaul Mackerras
361bac0221SMichael Ellermanconfig PSERIES_MSI
371bac0221SMichael Ellerman       bool
381bac0221SMichael Ellerman       depends on PCI_MSI && 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
6977eafe10STseng-Hui (Frank) Lin	  that use this infrastruture 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"
75*3d066d77SStephen 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
114fc59a3fcSJeremy Kerrconfig DTL
115fc59a3fcSJeremy Kerr	bool "Dispatch Trace Log"
116fc59a3fcSJeremy Kerr	depends on PPC_SPLPAR && DEBUG_FS
117fc59a3fcSJeremy Kerr	help
118fc59a3fcSJeremy Kerr	  SPLPAR machines can log hypervisor preempt & dispatch events to a
119fc59a3fcSJeremy Kerr	  kernel buffer. Saying Y here will enable logging these events,
120fc59a3fcSJeremy Kerr	  which are accessible through a debugfs file.
121fc59a3fcSJeremy Kerr
122fc59a3fcSJeremy Kerr	  Say N if you are unsure.
123707827f3SDeepthi Dharwar
124707827f3SDeepthi Dharwarconfig PSERIES_IDLE
125f7aa5545SDeepthi Dharwar	bool "Cpuidle driver for pSeries platforms"
126707827f3SDeepthi Dharwar	depends on CPU_IDLE
127707827f3SDeepthi Dharwar	depends on PPC_PSERIES
128707827f3SDeepthi Dharwar	default y
129707827f3SDeepthi Dharwar	help
130707827f3SDeepthi Dharwar	  Select this option to enable processor idle state management
131707827f3SDeepthi Dharwar	  through cpuidle subsystem.
132