1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
255190f88SBenjamin Herrenschmidtconfig PPC_POWERNV
355190f88SBenjamin Herrenschmidt	depends on PPC64 && PPC_BOOK3S
455190f88SBenjamin Herrenschmidt	bool "IBM PowerNV (Non-Virtualized) platform support"
5c2857374SNicholas Piggin	select PPC_HASH_MMU_NATIVE if PPC_64S_HASH_MMU
655190f88SBenjamin Herrenschmidt	select PPC_XICS
755190f88SBenjamin Herrenschmidt	select PPC_ICP_NATIVE
8243e2511SBenjamin Herrenschmidt	select PPC_XIVE_NATIVE
955190f88SBenjamin Herrenschmidt	select PPC_P7_NAP
10eb01d42aSChristoph Hellwig	select FORCE_PCI
11a311e738SMichael Ellerman	select PCI_MSI
1283920c49SBenjamin Herrenschmidt	select EPAPR_BOOT
133fafe9c2SBenjamin Herrenschmidt	select PPC_INDIRECT_PIO
148a05dd85SBenjamin Herrenschmidt	select PPC_UDBG_16550
1581f35902SGautham R. Shenoy	select CPU_FREQ
16d4e58e59SMichael Neuling	select PPC_DOORBELL
17abfe8026SAlistair Popple	select MMU_NOTIFIER
1840e27565SMichael Ellerman	select FORCE_SMP
19*70d4cbc8SLaurent Dufour	select ARCH_SUPPORTS_PER_VMA_LOCK
2055190f88SBenjamin Herrenschmidt	default y
210d7cd855SJeremy Kerr
220d7cd855SJeremy Kerrconfig OPAL_PRD
231e2e5e82SJuerg Haefliger	tristate "OPAL PRD driver"
240d7cd855SJeremy Kerr	depends on PPC_POWERNV
250d7cd855SJeremy Kerr	help
260d7cd855SJeremy Kerr	  This enables the opal-prd driver, a facility to run processor
270d7cd855SJeremy Kerr	  recovery diagnostics on OpenPower machines
289d5171a8SRashmica Gupta
299d5171a8SRashmica Guptaconfig PPC_MEMTRACE
300bd4b96dSDavid Hildenbrand	bool "Enable runtime allocation of RAM for tracing"
310bd4b96dSDavid Hildenbrand	depends on PPC_POWERNV && MEMORY_HOTPLUG && CONTIG_ALLOC
329d5171a8SRashmica Gupta	help
330bd4b96dSDavid Hildenbrand	  Enabling this option allows for runtime allocation of memory (RAM)
340bd4b96dSDavid Hildenbrand	  for hardware tracing.
354dea2d1aSSukadev Bhattiprolu
3608a456aaSAndrew Donnellanconfig SCOM_DEBUGFS
3708a456aaSAndrew Donnellan	bool "Expose SCOM controllers via debugfs"
3808a456aaSAndrew Donnellan	depends on DEBUG_FS
39