xref: /linux/arch/powerpc/platforms/pseries/Kconfig (revision 8761f1ab717cac0616f8cf7ec589ae021c739113)
135a1245aSKumar Galaconfig PPC_PSERIES
228794d34SBenjamin Herrenschmidt	depends on PPC64 && PPC_BOOK3S
335a1245aSKumar Gala	bool "IBM pSeries & new (POWER5-based) iSeries"
4*8761f1abSRalf 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
1835a1245aSKumar Gala	default y
1914cf11afSPaul Mackerras
2014cf11afSPaul Mackerrasconfig PPC_SPLPAR
2114cf11afSPaul Mackerras	depends on PPC_PSERIES
2214cf11afSPaul Mackerras	bool "Support for shared-processor logical partitions"
2314cf11afSPaul Mackerras	default n
2414cf11afSPaul Mackerras	help
2514cf11afSPaul Mackerras	  Enabling this option will make the kernel run more efficiently
2614cf11afSPaul Mackerras	  on logically-partitioned pSeries systems which use shared
2714cf11afSPaul Mackerras	  processors, that is, which share physical processors between
2814cf11afSPaul Mackerras	  two or more partitions.
2914cf11afSPaul Mackerras
3014cf11afSPaul Mackerrasconfig EEH
316a108a14SDavid Rientjes	bool "PCI Extended Error Handling (EEH)" if EXPERT
3286932082SStephen Rothwell	depends on PPC_PSERIES && PCI
336a108a14SDavid Rientjes	default y if !EXPERT
3414cf11afSPaul Mackerras
351bac0221SMichael Ellermanconfig PSERIES_MSI
361bac0221SMichael Ellerman       bool
371bac0221SMichael Ellerman       depends on PCI_MSI && EEH
381bac0221SMichael Ellerman       default y
391bac0221SMichael Ellerman
405742bd85SVaidyanathan Srinivasanconfig PSERIES_ENERGY
415742bd85SVaidyanathan Srinivasan	tristate "pSeries energy management capabilities driver"
425742bd85SVaidyanathan Srinivasan	depends on PPC_PSERIES
435742bd85SVaidyanathan Srinivasan	default y
445742bd85SVaidyanathan Srinivasan	help
455742bd85SVaidyanathan Srinivasan	  Provides interface to platform energy management capabilities
465742bd85SVaidyanathan Srinivasan	  on supported PSERIES platforms.
475742bd85SVaidyanathan Srinivasan	  Provides: /sys/devices/system/cpu/pseries_(de)activation_hint_list
485742bd85SVaidyanathan Srinivasan	  and /sys/devices/system/cpu/cpuN/pseries_(de)activation_hint
495742bd85SVaidyanathan Srinivasan
5014cf11afSPaul Mackerrasconfig SCANLOG
5114cf11afSPaul Mackerras	tristate "Scanlog dump interface"
5214cf11afSPaul Mackerras	depends on RTAS_PROC && PPC_PSERIES
5314cf11afSPaul Mackerras
5477eafe10STseng-Hui (Frank) Linconfig IO_EVENT_IRQ
5577eafe10STseng-Hui (Frank) Lin	bool "IO Event Interrupt support"
5677eafe10STseng-Hui (Frank) Lin	depends on PPC_PSERIES
5777eafe10STseng-Hui (Frank) Lin	default y
5877eafe10STseng-Hui (Frank) Lin	help
5977eafe10STseng-Hui (Frank) Lin	  Select this option, if you want to enable support for IO Event
6077eafe10STseng-Hui (Frank) Lin	  interrupts. IO event interrupt is a mechanism provided by RTAS
6177eafe10STseng-Hui (Frank) Lin	  to return information about hardware error and non-error events
6277eafe10STseng-Hui (Frank) Lin	  which may need OS attention. RTAS returns events for multiple
6377eafe10STseng-Hui (Frank) Lin	  event types and scopes. Device drivers can register their handlers
6477eafe10STseng-Hui (Frank) Lin	  to receive events.
6577eafe10STseng-Hui (Frank) Lin
6677eafe10STseng-Hui (Frank) Lin	  This option will only enable the IO event platform code. You
6777eafe10STseng-Hui (Frank) Lin	  will still need to enable or compile the actual drivers
6877eafe10STseng-Hui (Frank) Lin	  that use this infrastruture to handle IO event interrupts.
6977eafe10STseng-Hui (Frank) Lin
7077eafe10STseng-Hui (Frank) Lin	  Say Y if you are unsure.
7177eafe10STseng-Hui (Frank) Lin
7214cf11afSPaul Mackerrasconfig LPARCFG
7382dfdcaeSPaul Mackerras	bool "LPAR Configuration Data"
7414cf11afSPaul Mackerras	depends on PPC_PSERIES || PPC_ISERIES
7514cf11afSPaul Mackerras	help
7614cf11afSPaul Mackerras	Provide system capacity information via human readable
7714cf11afSPaul Mackerras	<key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
7836f8a2c4SMichael Ellerman
7936f8a2c4SMichael Ellermanconfig PPC_PSERIES_DEBUG
8036f8a2c4SMichael Ellerman	depends on PPC_PSERIES && PPC_EARLY_DEBUG
8136f8a2c4SMichael Ellerman	bool "Enable extra debug logging in platforms/pseries"
8201cf6fe8SNishanth Aravamudan        help
8301cf6fe8SNishanth Aravamudan	  Say Y here if you want the pseries core to produce a bunch of
8401cf6fe8SNishanth Aravamudan	  debug messages to the system log. Select this if you are having a
8501cf6fe8SNishanth Aravamudan	  problem with the pseries core and want to see more of what is
8601cf6fe8SNishanth Aravamudan	  going on. This does not enable debugging in lpar.c, which must
8701cf6fe8SNishanth Aravamudan	  be manually done due to its verbosity.
8836f8a2c4SMichael Ellerman	default y
8984af458bSBrian King
9084af458bSBrian Kingconfig PPC_SMLPAR
9184af458bSBrian King	bool "Support for shared-memory logical partitions"
9284af458bSBrian King	depends on PPC_PSERIES
9384af458bSBrian King	select LPARCFG
9484af458bSBrian King	default n
9584af458bSBrian King	help
9684af458bSBrian King	  Select this option to enable shared memory partition support.
9784af458bSBrian King	  With this option a system running in an LPAR can be given more
9884af458bSBrian King	  memory than physically available and will allow firmware to
9984af458bSBrian King	  balance memory across many LPARs.
10084af458bSBrian King
10184af458bSBrian Kingconfig CMM
10284af458bSBrian King	tristate "Collaborative memory management"
1038be8cf5bSBrian King	depends on PPC_SMLPAR
10484af458bSBrian King	default y
10584af458bSBrian King	help
10684af458bSBrian King	  Select this option, if you want to enable the kernel interface
10784af458bSBrian King	  to reduce the memory size of the system. This is accomplished
10884af458bSBrian King	  by allocating pages of memory and put them "on hold". This only
10984af458bSBrian King	  makes sense for a system running in an LPAR where the unused pages
11084af458bSBrian King	  will be reused for other LPARs. The interface allows firmware to
11184af458bSBrian King	  balance memory across many LPARs.
112fc59a3fcSJeremy Kerr
113fc59a3fcSJeremy Kerrconfig DTL
114fc59a3fcSJeremy Kerr	bool "Dispatch Trace Log"
115fc59a3fcSJeremy Kerr	depends on PPC_SPLPAR && DEBUG_FS
116fc59a3fcSJeremy Kerr	help
117fc59a3fcSJeremy Kerr	  SPLPAR machines can log hypervisor preempt & dispatch events to a
118fc59a3fcSJeremy Kerr	  kernel buffer. Saying Y here will enable logging these events,
119fc59a3fcSJeremy Kerr	  which are accessible through a debugfs file.
120fc59a3fcSJeremy Kerr
121fc59a3fcSJeremy Kerr	  Say N if you are unsure.
122