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