Skip to content

Commit a486bdb

Browse files
shangwozbenh
authored andcommitted
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>
1 parent aa0c033 commit a486bdb

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

‎arch/powerpc/platforms/powernv/Kconfig‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ config PPC_POWERNV
88
select PPC_PCI_CHOICE if EMBEDDED
99
default y
1010

11+
config POWERNV_MSI
12+
bool "Support PCI MSI on PowerNV platform"
13+
depends on PCI_MSI
14+
default y
15+
1116
config PPC_POWERNV_RTAS
1217
depends on PPC_POWERNV
1318
bool "Support for RTAS based PowerNV platforms such as BML"

‎arch/powerpc/sysdev/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ config PPC_MSI_BITMAP
1919
default y if MPIC
2020
default y if FSL_PCI
2121
default y if PPC4xx_MSI
22-
default y if PPC_POWERNV
22+
default y if POWERNV_MSI
2323

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

0 commit comments

Comments
 (0)