Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a486bdb0 authored by Gavin Shan's avatar Gavin Shan Committed by Benjamin Herrenschmidt
Browse files

powerpc/powernv: Add option CONFIG_POWERNV_MSI



As Michael Ellerman suggested, to add CONFIG_POWERNV_MSI for PowerNV
platform. That's similar to CONFIG_PSERIES_MSI for pSeries platform.
For now, we don't make it dependent on CONFIG_EEH since it's not ready
to enable that yet.

Apart from that, we also enable CONFIG_PPC_MSI_BITMAP on selecting
CONFIG_POWERNV_MSI.

Signed-off-by: default avatarGavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent aa0c033f
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -8,6 +8,11 @@ config PPC_POWERNV
	select PPC_PCI_CHOICE if EMBEDDED
	select PPC_PCI_CHOICE if EMBEDDED
	default y
	default y


config POWERNV_MSI
	bool "Support PCI MSI on PowerNV platform"
	depends on PCI_MSI
	default y

config PPC_POWERNV_RTAS
config PPC_POWERNV_RTAS
	depends on PPC_POWERNV
	depends on PPC_POWERNV
	bool "Support for RTAS based PowerNV platforms such as BML"
	bool "Support for RTAS based PowerNV platforms such as BML"
+1 −1
Original line number Original line Diff line number Diff line
@@ -19,7 +19,7 @@ config PPC_MSI_BITMAP
	default y if MPIC
	default y if MPIC
	default y if FSL_PCI
	default y if FSL_PCI
	default y if PPC4xx_MSI
	default y if PPC4xx_MSI
	default y if PPC_POWERNV
	default y if POWERNV_MSI


source "arch/powerpc/sysdev/xics/Kconfig"
source "arch/powerpc/sysdev/xics/Kconfig"