1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 235a1245aSKumar Galaconfig PPC_PSERIES 328794d34SBenjamin Herrenschmidt depends on PPC64 && PPC_BOOK3S 435a1245aSKumar Gala bool "IBM pSeries & new (POWER5-based) iSeries" 58761f1abSRalf Baechle select HAVE_PCSPKR_PLATFORM 635a1245aSKumar Gala select MPIC 70f22dd39SGrant Likely select OF_DYNAMIC 8eb01d42aSChristoph Hellwig select FORCE_PCI 98a55c4baSMel Gorman select PCI_MSI 100b05ac6eSBenjamin Herrenschmidt select PPC_XICS 11eac1e731SCédric Le Goater select PPC_XIVE_SPAPR 120b05ac6eSBenjamin Herrenschmidt select PPC_ICP_NATIVE 130b05ac6eSBenjamin Herrenschmidt select PPC_ICP_HV 140b05ac6eSBenjamin Herrenschmidt select PPC_ICS_RTAS 1535a1245aSKumar Gala select PPC_I8259 1635a1245aSKumar Gala select PPC_RTAS 173d541c4bSBenjamin Herrenschmidt select PPC_RTAS_DAEMON 1835a1245aSKumar Gala select RTAS_ERROR_LOGGING 1935a1245aSKumar Gala select PPC_UDBG_16550 2035a1245aSKumar Gala select PPC_NATIVE 21e5e84f0aSIan Munsie select PPC_DOORBELL 22270e2dc9SMichael Ellerman select HOTPLUG_CPU 238d4887eeSMichael Ellerman select ARCH_RANDOM 24d4e58e59SMichael Neuling select PPC_DOORBELL 25270e2dc9SMichael Ellerman select FORCE_SMP 261a047cc7SAlexey Kardashevskiy select SWIOTLB 2735a1245aSKumar Gala default y 2814cf11afSPaul Mackerras 2914cf11afSPaul Mackerrasconfig PPC_SPLPAR 3014cf11afSPaul Mackerras depends on PPC_PSERIES 3114cf11afSPaul Mackerras bool "Support for shared-processor logical partitions" 3214cf11afSPaul Mackerras help 3314cf11afSPaul Mackerras Enabling this option will make the kernel run more efficiently 3414cf11afSPaul Mackerras on logically-partitioned pSeries systems which use shared 3514cf11afSPaul Mackerras processors, that is, which share physical processors between 3614cf11afSPaul Mackerras two or more partitions. 3714cf11afSPaul Mackerras 38e3a8446aSCody P Schaferconfig DTL 39e3a8446aSCody P Schafer bool "Dispatch Trace Log" 40e3a8446aSCody P Schafer depends on PPC_SPLPAR && DEBUG_FS 41e3a8446aSCody P Schafer help 42e3a8446aSCody P Schafer SPLPAR machines can log hypervisor preempt & dispatch events to a 43e3a8446aSCody P Schafer kernel buffer. Saying Y here will enable logging these events, 44e3a8446aSCody P Schafer which are accessible through a debugfs file. 45e3a8446aSCody P Schafer 46e3a8446aSCody P Schafer Say N if you are unsure. 47e3a8446aSCody P Schafer 485742bd85SVaidyanathan Srinivasanconfig PSERIES_ENERGY 495742bd85SVaidyanathan Srinivasan tristate "pSeries energy management capabilities driver" 505742bd85SVaidyanathan Srinivasan depends on PPC_PSERIES 515742bd85SVaidyanathan Srinivasan default y 525742bd85SVaidyanathan Srinivasan help 535742bd85SVaidyanathan Srinivasan Provides interface to platform energy management capabilities 545742bd85SVaidyanathan Srinivasan on supported PSERIES platforms. 555742bd85SVaidyanathan Srinivasan Provides: /sys/devices/system/cpu/pseries_(de)activation_hint_list 565742bd85SVaidyanathan Srinivasan and /sys/devices/system/cpu/cpuN/pseries_(de)activation_hint 575742bd85SVaidyanathan Srinivasan 5814cf11afSPaul Mackerrasconfig SCANLOG 5914cf11afSPaul Mackerras tristate "Scanlog dump interface" 6014cf11afSPaul Mackerras depends on RTAS_PROC && PPC_PSERIES 6114cf11afSPaul Mackerras 6277eafe10STseng-Hui (Frank) Linconfig IO_EVENT_IRQ 6377eafe10STseng-Hui (Frank) Lin bool "IO Event Interrupt support" 6477eafe10STseng-Hui (Frank) Lin depends on PPC_PSERIES 6577eafe10STseng-Hui (Frank) Lin default y 6677eafe10STseng-Hui (Frank) Lin help 6777eafe10STseng-Hui (Frank) Lin Select this option, if you want to enable support for IO Event 6877eafe10STseng-Hui (Frank) Lin interrupts. IO event interrupt is a mechanism provided by RTAS 6977eafe10STseng-Hui (Frank) Lin to return information about hardware error and non-error events 7077eafe10STseng-Hui (Frank) Lin which may need OS attention. RTAS returns events for multiple 7177eafe10STseng-Hui (Frank) Lin event types and scopes. Device drivers can register their handlers 7277eafe10STseng-Hui (Frank) Lin to receive events. 7377eafe10STseng-Hui (Frank) Lin 7477eafe10STseng-Hui (Frank) Lin This option will only enable the IO event platform code. You 7577eafe10STseng-Hui (Frank) Lin will still need to enable or compile the actual drivers 766b2aac42SMasanari Iida that use this infrastructure to handle IO event interrupts. 7777eafe10STseng-Hui (Frank) Lin 7877eafe10STseng-Hui (Frank) Lin Say Y if you are unsure. 7977eafe10STseng-Hui (Frank) Lin 8014cf11afSPaul Mackerrasconfig LPARCFG 8182dfdcaeSPaul Mackerras bool "LPAR Configuration Data" 823d066d77SStephen Rothwell depends on PPC_PSERIES 8314cf11afSPaul Mackerras help 8414cf11afSPaul Mackerras Provide system capacity information via human readable 8514cf11afSPaul Mackerras <key word>=<value> pairs through a /proc/ppc64/lparcfg interface. 8636f8a2c4SMichael Ellerman 8736f8a2c4SMichael Ellermanconfig PPC_PSERIES_DEBUG 8836f8a2c4SMichael Ellerman depends on PPC_PSERIES && PPC_EARLY_DEBUG 8936f8a2c4SMichael Ellerman bool "Enable extra debug logging in platforms/pseries" 904f44e8aeSEnrico Weigelt, metux IT consult default y 9101cf6fe8SNishanth Aravamudan help 9201cf6fe8SNishanth Aravamudan Say Y here if you want the pseries core to produce a bunch of 9301cf6fe8SNishanth Aravamudan debug messages to the system log. Select this if you are having a 9401cf6fe8SNishanth Aravamudan problem with the pseries core and want to see more of what is 9501cf6fe8SNishanth Aravamudan going on. This does not enable debugging in lpar.c, which must 9601cf6fe8SNishanth Aravamudan be manually done due to its verbosity. 9784af458bSBrian King 9884af458bSBrian Kingconfig PPC_SMLPAR 9984af458bSBrian King bool "Support for shared-memory logical partitions" 10084af458bSBrian King depends on PPC_PSERIES 10184af458bSBrian King select LPARCFG 10284af458bSBrian King help 10384af458bSBrian King Select this option to enable shared memory partition support. 10484af458bSBrian King With this option a system running in an LPAR can be given more 10584af458bSBrian King memory than physically available and will allow firmware to 10684af458bSBrian King balance memory across many LPARs. 10784af458bSBrian King 10884af458bSBrian Kingconfig CMM 10984af458bSBrian King tristate "Collaborative memory management" 1108be8cf5bSBrian King depends on PPC_SMLPAR 111*fe030c9bSDavid Hildenbrand select MEMORY_BALLOON 11284af458bSBrian King default y 11384af458bSBrian King help 11484af458bSBrian King Select this option, if you want to enable the kernel interface 11584af458bSBrian King to reduce the memory size of the system. This is accomplished 11684af458bSBrian King by allocating pages of memory and put them "on hold". This only 11784af458bSBrian King makes sense for a system running in an LPAR where the unused pages 11884af458bSBrian King will be reused for other LPARs. The interface allows firmware to 11984af458bSBrian King balance memory across many LPARs. 120fc59a3fcSJeremy Kerr 12130daeb6cSCody P Schaferconfig HV_PERF_CTRS 12230daeb6cSCody P Schafer bool "Hypervisor supplied PMU events (24x7 & GPCI)" 12330daeb6cSCody P Schafer default y 12430daeb6cSCody P Schafer depends on PERF_EVENTS && PPC_PSERIES 12530daeb6cSCody P Schafer help 12630daeb6cSCody P Schafer Enable access to hypervisor supplied counters in perf. Currently, 12730daeb6cSCody P Schafer this enables code that uses the hcall GetPerfCounterInfo and 24x7 12830daeb6cSCody P Schafer interfaces to retrieve counters. GPCI exists on Power 6 and later 1292e6553aaSThiago Jung Bauermann systems. 24x7 is available on Power 8 and later systems. 13030daeb6cSCody P Schafer 13130daeb6cSCody P Schafer If unsure, select Y. 132139ac5afSMichael Ellerman 133139ac5afSMichael Ellermanconfig IBMVIO 134139ac5afSMichael Ellerman depends on PPC_PSERIES 135139ac5afSMichael Ellerman bool 136139ac5afSMichael Ellerman default y 13730757de2SMichael Ellerman 13830757de2SMichael Ellermanconfig IBMEBUS 13990ee8762SMichael Ellerman depends on PPC_PSERIES && !CPU_LITTLE_ENDIAN 14030757de2SMichael Ellerman bool "Support for GX bus based adapters" 14130757de2SMichael Ellerman help 14230757de2SMichael Ellerman Bus device driver for GX bus based adapters. 143b5beae5eSOliver O'Halloran 144b5beae5eSOliver O'Halloranconfig PAPR_SCM 14514ebfec0SOliver O'Halloran depends on PPC_PSERIES && MEMORY_HOTPLUG && LIBNVDIMM 146b5beae5eSOliver O'Halloran tristate "Support for the PAPR Storage Class Memory interface" 147b5beae5eSOliver O'Halloran help 148b5beae5eSOliver O'Halloran Enable access to hypervisor provided storage class memory. 149136bc039SThiago Jung Bauermann 150136bc039SThiago Jung Bauermannconfig PPC_SVM 151136bc039SThiago Jung Bauermann bool "Secure virtual machine (SVM) support for POWER" 152136bc039SThiago Jung Bauermann depends on PPC_PSERIES 1532efbc58fSAnshuman Khandual select SWIOTLB 1542efbc58fSAnshuman Khandual select ARCH_HAS_MEM_ENCRYPT 1552efbc58fSAnshuman Khandual select ARCH_HAS_FORCE_DMA_UNENCRYPTED 156136bc039SThiago Jung Bauermann help 157136bc039SThiago Jung Bauermann There are certain POWER platforms which support secure guests using 158136bc039SThiago Jung Bauermann the Protected Execution Facility, with the help of an Ultravisor 159136bc039SThiago Jung Bauermann executing below the hypervisor layer. This enables support for 160136bc039SThiago Jung Bauermann those guests. 161136bc039SThiago Jung Bauermann 162136bc039SThiago Jung Bauermann If unsure, say "N". 163