xref: /linux/drivers/pci/hotplug/Kconfig (revision bbfd5594756011167b8f8de9a00e0c946afda1e6)
17328c8f4SBjorn Helgaas# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# PCI Hotplug support
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
6d4770143SJan Engelhardtmenuconfig HOTPLUG_PCI
77cd29f4bSBjorn Helgaas	bool "Support for PCI Hotplug"
840b31360SStephen Rothwell	depends on PCI && SYSFS
9e67ad935SAlbert Zhou	default y if USB4
10a7f7f624SMasahiro Yamada	help
111da177e4SLinus Torvalds	  Say Y here if you have a motherboard with a PCI Hotplug controller.
121da177e4SLinus Torvalds	  This allows you to add and remove PCI cards while the machine is
13654143eeSPavel Machek	  powered up and running.
141da177e4SLinus Torvalds
15e67ad935SAlbert Zhou	  Thunderbolt/USB4 PCIe tunneling depends on native PCIe hotplug.
16e67ad935SAlbert Zhou
171da177e4SLinus Torvalds	  When in doubt, say N.
181da177e4SLinus Torvalds
19d4770143SJan Engelhardtif HOTPLUG_PCI
20d4770143SJan Engelhardt
211da177e4SLinus Torvaldsconfig HOTPLUG_PCI_COMPAQ
221da177e4SLinus Torvalds	tristate "Compaq PCI Hotplug driver"
2312a9da0fSAlex Chiang	depends on X86 && PCI_BIOS
241da177e4SLinus Torvalds	help
251da177e4SLinus Torvalds	  Say Y here if you have a motherboard with a Compaq PCI Hotplug
261da177e4SLinus Torvalds	  controller.
271da177e4SLinus Torvalds
281da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
291da177e4SLinus Torvalds	  module will be called cpqphp.
301da177e4SLinus Torvalds
311da177e4SLinus Torvalds	  When in doubt, say N.
321da177e4SLinus Torvalds
331da177e4SLinus Torvaldsconfig HOTPLUG_PCI_COMPAQ_NVRAM
341da177e4SLinus Torvalds	bool "Save configuration into NVRAM on Compaq servers"
351da177e4SLinus Torvalds	depends on HOTPLUG_PCI_COMPAQ
361da177e4SLinus Torvalds	help
371da177e4SLinus Torvalds	  Say Y here if you have a Compaq server that has a PCI Hotplug
381da177e4SLinus Torvalds	  controller.  This will allow the PCI Hotplug driver to store the PCI
391da177e4SLinus Torvalds	  system configuration options in NVRAM.
401da177e4SLinus Torvalds
411da177e4SLinus Torvalds	  When in doubt, say N.
421da177e4SLinus Torvalds
431da177e4SLinus Torvaldsconfig HOTPLUG_PCI_IBM
441da177e4SLinus Torvalds	tristate "IBM PCI Hotplug driver"
453b57eff0SGreg Kroah-Hartman	depends on X86_IO_APIC && X86 && PCI_BIOS
461da177e4SLinus Torvalds	help
471da177e4SLinus Torvalds	  Say Y here if you have a motherboard with a IBM PCI Hotplug
481da177e4SLinus Torvalds	  controller.
491da177e4SLinus Torvalds
501da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
511da177e4SLinus Torvalds	  module will be called ibmphp.
521da177e4SLinus Torvalds
531da177e4SLinus Torvalds	  When in doubt, say N.
541da177e4SLinus Torvalds
551da177e4SLinus Torvaldsconfig HOTPLUG_PCI_ACPI
566037a803SJiang Liu	bool "ACPI PCI Hotplug driver"
576037a803SJiang Liu	depends on HOTPLUG_PCI=y && ((!ACPI_DOCK && ACPI) || (ACPI_DOCK))
581da177e4SLinus Torvalds	help
591da177e4SLinus Torvalds	  Say Y here if you have a system that supports PCI Hotplug using
601da177e4SLinus Torvalds	  ACPI.
611da177e4SLinus Torvalds
621da177e4SLinus Torvalds	  When in doubt, say N.
631da177e4SLinus Torvalds
64820f59edSD Scott Phillipsconfig HOTPLUG_PCI_ACPI_AMPERE_ALTRA
65820f59edSD Scott Phillips	tristate "ACPI PCI Hotplug driver Ampere Altra extensions"
66820f59edSD Scott Phillips	depends on HOTPLUG_PCI_ACPI
67820f59edSD Scott Phillips	depends on HAVE_ARM_SMCCC_DISCOVERY
68820f59edSD Scott Phillips	help
69820f59edSD Scott Phillips	  Say Y here if you have an Ampere Altra system.
70820f59edSD Scott Phillips
71820f59edSD Scott Phillips	  To compile this driver as a module, choose M here: the
72820f59edSD Scott Phillips	  module will be called acpiphp_ampere_altra.
73820f59edSD Scott Phillips
74820f59edSD Scott Phillips	  When in doubt, say N.
75820f59edSD Scott Phillips
761da177e4SLinus Torvaldsconfig HOTPLUG_PCI_ACPI_IBM
771da177e4SLinus Torvalds	tristate "ACPI PCI Hotplug driver IBM extensions"
781da177e4SLinus Torvalds	depends on HOTPLUG_PCI_ACPI
791da177e4SLinus Torvalds	help
801da177e4SLinus Torvalds	  Say Y here if you have an IBM system that supports PCI Hotplug using
811da177e4SLinus Torvalds	  ACPI.
821da177e4SLinus Torvalds
831da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
841da177e4SLinus Torvalds	  module will be called acpiphp_ibm.
851da177e4SLinus Torvalds
861da177e4SLinus Torvalds	  When in doubt, say N.
871da177e4SLinus Torvalds
881da177e4SLinus Torvaldsconfig HOTPLUG_PCI_CPCI
891da177e4SLinus Torvalds	bool "CompactPCI Hotplug driver"
901da177e4SLinus Torvalds	help
911da177e4SLinus Torvalds	  Say Y here if you have a CompactPCI system card with CompactPCI
921da177e4SLinus Torvalds	  hotswap support per the PICMG 2.1 specification.
931da177e4SLinus Torvalds
941da177e4SLinus Torvalds	  When in doubt, say N.
951da177e4SLinus Torvalds
961da177e4SLinus Torvaldsconfig HOTPLUG_PCI_CPCI_ZT5550
971da177e4SLinus Torvalds	tristate "Ziatech ZT5550 CompactPCI Hotplug driver"
98d4770143SJan Engelhardt	depends on HOTPLUG_PCI_CPCI && X86
991da177e4SLinus Torvalds	help
100*f4e026f4SBjorn Helgaas	  Say Y here if you have a Performance Technologies (formerly Intel,
1011da177e4SLinus Torvalds	  formerly just Ziatech) Ziatech ZT5550 CompactPCI system card.
1021da177e4SLinus Torvalds
1031da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1041da177e4SLinus Torvalds	  module will be called cpcihp_zt5550.
1051da177e4SLinus Torvalds
1061da177e4SLinus Torvalds	  When in doubt, say N.
1071da177e4SLinus Torvalds
1081da177e4SLinus Torvaldsconfig HOTPLUG_PCI_CPCI_GENERIC
1091da177e4SLinus Torvalds	tristate "Generic port I/O CompactPCI Hotplug driver"
11033ae6ef2SGreg Kroah-Hartman	depends on HOTPLUG_PCI_CPCI && X86
1111da177e4SLinus Torvalds	help
1121da177e4SLinus Torvalds	  Say Y here if you have a CompactPCI system card that exposes the #ENUM
1131da177e4SLinus Torvalds	  hotswap signal as a bit in a system register that can be read through
1141da177e4SLinus Torvalds	  standard port I/O.
1151da177e4SLinus Torvalds
1161da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1171da177e4SLinus Torvalds	  module will be called cpcihp_generic.
1181da177e4SLinus Torvalds
1191da177e4SLinus Torvalds	  When in doubt, say N.
1201da177e4SLinus Torvalds
121e434e54dSShijith Thottonconfig HOTPLUG_PCI_OCTEONEP
122e434e54dSShijith Thotton	bool "Marvell OCTEON PCI Hotplug driver"
123e434e54dSShijith Thotton	depends on HOTPLUG_PCI
124e434e54dSShijith Thotton	help
125e434e54dSShijith Thotton	  Say Y here if you have an OCTEON PCIe device with a hotplug
126e434e54dSShijith Thotton	  controller. This driver enables the non-controller functions of the
127e434e54dSShijith Thotton	  device to be registered as hotplug slots.
128e434e54dSShijith Thotton
129e434e54dSShijith Thotton	  When in doubt, say N.
130e434e54dSShijith Thotton
1311da177e4SLinus Torvaldsconfig HOTPLUG_PCI_SHPC
13282280f7aSMika Westerberg	bool "SHPC PCI Hotplug driver"
1331da177e4SLinus Torvalds	help
1341da177e4SLinus Torvalds	  Say Y here if you have a motherboard with a SHPC PCI Hotplug
1351da177e4SLinus Torvalds	  controller.
1361da177e4SLinus Torvalds
1371da177e4SLinus Torvalds	  When in doubt, say N.
1381da177e4SLinus Torvalds
13966725152SGavin Shanconfig HOTPLUG_PCI_POWERNV
14066725152SGavin Shan	tristate "PowerPC PowerNV PCI Hotplug driver"
14166725152SGavin Shan	depends on PPC_POWERNV && EEH
14266725152SGavin Shan	select OF_DYNAMIC
14366725152SGavin Shan	help
14466725152SGavin Shan	  Say Y here if you run PowerPC PowerNV platform that supports
14566725152SGavin Shan	  PCI Hotplug
14666725152SGavin Shan
14766725152SGavin Shan	  To compile this driver as a module, choose M here: the
14866725152SGavin Shan	  module will be called pnv-php.
14966725152SGavin Shan
15066725152SGavin Shan	  When in doubt, say N.
15166725152SGavin Shan
1521da177e4SLinus Torvaldsconfig HOTPLUG_PCI_RPA
1531da177e4SLinus Torvalds	tristate "RPA PCI Hotplug driver"
154c2b5acc3SBjorn Helgaas	depends on PPC_PSERIES && EEH
1551da177e4SLinus Torvalds	help
156cab00891SMatt LaPlante	  Say Y here if you have a RPA system that supports PCI Hotplug.
1571da177e4SLinus Torvalds
1581da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1591da177e4SLinus Torvalds	  module will be called rpaphp.
1601da177e4SLinus Torvalds
1611da177e4SLinus Torvalds	  When in doubt, say N.
1621da177e4SLinus Torvalds
1631da177e4SLinus Torvaldsconfig HOTPLUG_PCI_RPA_DLPAR
1641da177e4SLinus Torvalds	tristate "RPA Dynamic Logical Partitioning for I/O slots"
1651da177e4SLinus Torvalds	depends on HOTPLUG_PCI_RPA
1661da177e4SLinus Torvalds	help
1671da177e4SLinus Torvalds	  Say Y here if your system supports Dynamic Logical Partitioning
1681da177e4SLinus Torvalds	  for I/O slots.
1691da177e4SLinus Torvalds
1701da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1711da177e4SLinus Torvalds	  module will be called rpadlpar_io.
1721da177e4SLinus Torvalds
1731da177e4SLinus Torvalds	  When in doubt, say N.
1741da177e4SLinus Torvalds
1757441b062SJan Glauberconfig HOTPLUG_PCI_S390
17667f43f38SSebastian Ott	bool "System z PCI Hotplug Support"
1777441b062SJan Glauber	depends on S390 && 64BIT
1787441b062SJan Glauber	help
1797441b062SJan Glauber	  Say Y here if you want to use the System z PCI Hotplug
1807441b062SJan Glauber	  driver for PCI devices. Without this driver it is not
1817441b062SJan Glauber	  possible to access stand-by PCI functions nor to deconfigure
1827441b062SJan Glauber	  PCI functions.
1837441b062SJan Glauber
1847441b062SJan Glauber	  When in doubt, say Y.
1857441b062SJan Glauber
186d4770143SJan Engelhardtendif # HOTPLUG_PCI
187