diff options
author | Gavin Shan <shangw@linux.vnet.ibm.com> | 2013-04-25 15:20:58 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-04-26 02:09:58 -0400 |
commit | a486bdb0e9da8d876d6ff4efc3138d35e141c0b5 (patch) | |
tree | 0925a90c8e5e6570578b3a2f2530f73e763cf714 | |
parent | aa0c033f99d9c32a8dd6b1e07d41caf1fced0e1a (diff) |
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: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r-- | arch/powerpc/platforms/powernv/Kconfig | 5 | ||||
-rw-r--r-- | arch/powerpc/sysdev/Kconfig | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powernv/Kconfig b/arch/powerpc/platforms/powernv/Kconfig index 74fea5c21839..d3e840d643af 100644 --- a/arch/powerpc/platforms/powernv/Kconfig +++ b/arch/powerpc/platforms/powernv/Kconfig | |||
@@ -8,6 +8,11 @@ config PPC_POWERNV | |||
8 | select PPC_PCI_CHOICE if EMBEDDED | 8 | select PPC_PCI_CHOICE if EMBEDDED |
9 | default y | 9 | default y |
10 | 10 | ||
11 | config POWERNV_MSI | ||
12 | bool "Support PCI MSI on PowerNV platform" | ||
13 | depends on PCI_MSI | ||
14 | default y | ||
15 | |||
11 | config PPC_POWERNV_RTAS | 16 | config PPC_POWERNV_RTAS |
12 | depends on PPC_POWERNV | 17 | depends on PPC_POWERNV |
13 | bool "Support for RTAS based PowerNV platforms such as BML" | 18 | bool "Support for RTAS based PowerNV platforms such as BML" |
diff --git a/arch/powerpc/sysdev/Kconfig b/arch/powerpc/sysdev/Kconfig index 8223f7843498..ab4cb5476472 100644 --- a/arch/powerpc/sysdev/Kconfig +++ b/arch/powerpc/sysdev/Kconfig | |||
@@ -19,7 +19,7 @@ config PPC_MSI_BITMAP | |||
19 | default y if MPIC | 19 | default y if MPIC |
20 | default y if FSL_PCI | 20 | default y if FSL_PCI |
21 | default y if PPC4xx_MSI | 21 | default y if PPC4xx_MSI |
22 | default y if PPC_POWERNV | 22 | default y if POWERNV_MSI |
23 | 23 | ||
24 | source "arch/powerpc/sysdev/xics/Kconfig" | 24 | source "arch/powerpc/sysdev/xics/Kconfig" |
25 | 25 | ||