]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
powerpc/powernv: Add option CONFIG_POWERNV_MSI
authorGavin Shan <shangw@linux.vnet.ibm.com>
Thu, 25 Apr 2013 19:20:58 +0000 (19:20 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 26 Apr 2013 06:09:58 +0000 (16:09 +1000)
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: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/Kconfig
arch/powerpc/sysdev/Kconfig

index 74fea5c21839d3eac70aeb4b28dfdfadc38fb2c5..d3e840d643af5135dc0b4e0acb6cec114967264a 100644 (file)
@@ -8,6 +8,11 @@ config PPC_POWERNV
        select PPC_PCI_CHOICE if EMBEDDED
        default y
 
+config POWERNV_MSI
+       bool "Support PCI MSI on PowerNV platform"
+       depends on PCI_MSI
+       default y
+
 config PPC_POWERNV_RTAS
        depends on PPC_POWERNV
        bool "Support for RTAS based PowerNV platforms such as BML"
index 8223f7843498d087782a205839a3ff37a5fff724..ab4cb54764721870b06e3b08ee42121fc7fb7ea4 100644 (file)
@@ -19,7 +19,7 @@ config PPC_MSI_BITMAP
        default y if MPIC
        default y if FSL_PCI
        default y if PPC4xx_MSI
-       default y if PPC_POWERNV
+       default y if POWERNV_MSI
 
 source "arch/powerpc/sysdev/xics/Kconfig"