Skip to content

Commit ebd97be

Browse files
tpetazzoniJason Cooper
authored andcommitted
PCI: remove ARCH_SUPPORTS_MSI kconfig option
Now that we have weak versions for each of the PCI MSI architecture functions, we can actually build the MSI support for all platforms, regardless of whether they provide or not architecture-specific versions of those functions. For this reason, the ARCH_SUPPORTS_MSI hidden kconfig boolean becomes useless, and this patch gets rid of it. Signed-off-by: Thomas Petazzoni <[email protected]> Acked-by: Bjorn Helgaas <[email protected]> Acked-by: Benjamin Herrenschmidt <[email protected]> Tested-by: Daniel Price <[email protected]> Tested-by: Thierry Reding <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: [email protected] Cc: Martin Schwidefsky <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: [email protected] Cc: Russell King <[email protected]> Cc: Tony Luck <[email protected]> Cc: Fenghua Yu <[email protected]> Cc: [email protected] Cc: Ralf Baechle <[email protected]> Cc: [email protected] Cc: David S. Miller <[email protected]> Cc: [email protected] Cc: Chris Metcalf <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
1 parent 4287d82 commit ebd97be

File tree

9 files changed

+0
-13
lines changed

9 files changed

+0
-13
lines changed

arch/arm/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@ config ARCH_NETX
441441
config ARCH_IOP13XX
442442
bool "IOP13xx-based"
443443
depends on MMU
444-
select ARCH_SUPPORTS_MSI
445444
select CPU_XSC3
446445
select NEED_MACH_MEMORY_H
447446
select NEED_RET_TO_USER

arch/ia64/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ config IA64
99
select PCI if (!IA64_HP_SIM)
1010
select ACPI if (!IA64_HP_SIM)
1111
select PM if (!IA64_HP_SIM)
12-
select ARCH_SUPPORTS_MSI
1312
select HAVE_UNSTABLE_SCHED_CLOCK
1413
select HAVE_IDE
1514
select HAVE_OPROFILE

arch/mips/Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,6 @@ config CAVIUM_OCTEON_SOC
726726
select SYS_HAS_CPU_CAVIUM_OCTEON
727727
select SWAP_IO_SPACE
728728
select HW_HAS_PCI
729-
select ARCH_SUPPORTS_MSI
730729
select ZONE_DMA32
731730
select USB_ARCH_HAS_OHCI
732731
select USB_ARCH_HAS_EHCI
@@ -762,7 +761,6 @@ config NLM_XLR_BOARD
762761
select CEVT_R4K
763762
select CSRC_R4K
764763
select IRQ_CPU
765-
select ARCH_SUPPORTS_MSI
766764
select ZONE_DMA32 if 64BIT
767765
select SYNC_R4K
768766
select SYS_HAS_EARLY_PRINTK

arch/powerpc/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,6 @@ config PCI
727727
default y if !40x && !CPM2 && !8xx && !PPC_83xx \
728728
&& !PPC_85xx && !PPC_86xx && !GAMECUBE_COMMON
729729
default PCI_QSPAN if !4xx && !CPM2 && 8xx
730-
select ARCH_SUPPORTS_MSI
731730
select GENERIC_PCI_IOMAP
732731
help
733732
Find out whether your system includes a PCI bus. PCI is the name of

arch/s390/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,6 @@ menuconfig PCI
428428
bool "PCI support"
429429
default n
430430
depends on 64BIT
431-
select ARCH_SUPPORTS_MSI
432431
select PCI_MSI
433432
help
434433
Enable PCI support.

arch/sparc/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ config SPARC32
5252

5353
config SPARC64
5454
def_bool 64BIT
55-
select ARCH_SUPPORTS_MSI
5655
select HAVE_FUNCTION_TRACER
5756
select HAVE_FUNCTION_GRAPH_TRACER
5857
select HAVE_FUNCTION_GRAPH_FP_TEST

arch/tile/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,6 @@ config PCI
380380
select PCI_DOMAINS
381381
select GENERIC_PCI_IOMAP
382382
select TILE_GXIO_TRIO if TILEGX
383-
select ARCH_SUPPORTS_MSI if TILEGX
384383
select PCI_MSI if TILEGX
385384
---help---
386385
Enable PCI root complex support, so PCIe endpoint devices can

arch/x86/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2014,7 +2014,6 @@ menu "Bus options (PCI etc.)"
20142014
config PCI
20152015
bool "PCI support"
20162016
default y
2017-
select ARCH_SUPPORTS_MSI if (X86_LOCAL_APIC && X86_IO_APIC)
20182017
---help---
20192018
Find out whether you have a PCI motherboard. PCI is the name of a
20202019
bus system, i.e. the way the CPU talks to the other stuff inside

drivers/pci/Kconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
#
22
# PCI configuration
33
#
4-
config ARCH_SUPPORTS_MSI
5-
bool
6-
74
config PCI_MSI
85
bool "Message Signaled Interrupts (MSI and MSI-X)"
96
depends on PCI
10-
depends on ARCH_SUPPORTS_MSI
117
help
128
This allows device drivers to enable MSI (Message Signaled
139
Interrupts). Message Signaled Interrupts enable a device to

0 commit comments

Comments
 (0)