mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 23:45:31 +08:00
66c29da678
We currently have a user visible CONFIG_POWERNV_MSI option, but it doesn't actually disable MSI for powernv. The MSI code is always built, what it does disable is the inclusion of the MSI bitmap code, which leads to a build error. eg, with PPC_POWERNV=y and POWERNV_MSI=n we get: arch/powerpc/platforms/built-in.o: In function `.pnv_teardown_msi_irqs': pci.c:(.text+0x3558): undefined reference to `.msi_bitmap_free_hwirqs' We don't really need a POWERNV_MSI symbol, just have the MSI bitmap code depend directly on PPC_POWERNV. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Reviewed-by: Gavin Shan <shangw@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
37 lines
608 B
Plaintext
37 lines
608 B
Plaintext
# For a description of the syntax of this configuration file,
|
|
# see Documentation/kbuild/kconfig-language.txt.
|
|
#
|
|
|
|
config PPC4xx_PCI_EXPRESS
|
|
bool
|
|
depends on PCI && 4xx
|
|
default n
|
|
|
|
config PPC4xx_MSI
|
|
bool
|
|
depends on PCI_MSI
|
|
depends on PCI && 4xx
|
|
default n
|
|
|
|
config PPC_MSI_BITMAP
|
|
bool
|
|
depends on PCI_MSI
|
|
default y if MPIC
|
|
default y if FSL_PCI
|
|
default y if PPC4xx_MSI
|
|
default y if PPC_POWERNV
|
|
|
|
source "arch/powerpc/sysdev/xics/Kconfig"
|
|
|
|
config PPC_SCOM
|
|
bool
|
|
|
|
config SCOM_DEBUGFS
|
|
bool "Expose SCOM controllers via debugfs"
|
|
depends on PPC_SCOM && DEBUG_FS
|
|
default n
|
|
|
|
config GE_FPGA
|
|
bool
|
|
default n
|