xref: /openbmc/linux/drivers/pci/hotplug/Kconfig (revision e67ad935)
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
9*e67ad935SAlbert 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
15*e67ad935SAlbert Zhou	  Thunderbolt/USB4 PCIe tunneling depends on native PCIe hotplug.
16*e67ad935SAlbert 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
641da177e4SLinus Torvaldsconfig HOTPLUG_PCI_ACPI_IBM
651da177e4SLinus Torvalds	tristate "ACPI PCI Hotplug driver IBM extensions"
661da177e4SLinus Torvalds	depends on HOTPLUG_PCI_ACPI
671da177e4SLinus Torvalds	help
681da177e4SLinus Torvalds	  Say Y here if you have an IBM system that supports PCI Hotplug using
691da177e4SLinus Torvalds	  ACPI.
701da177e4SLinus Torvalds
711da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
721da177e4SLinus Torvalds	  module will be called acpiphp_ibm.
731da177e4SLinus Torvalds
741da177e4SLinus Torvalds	  When in doubt, say N.
751da177e4SLinus Torvalds
761da177e4SLinus Torvaldsconfig HOTPLUG_PCI_CPCI
771da177e4SLinus Torvalds	bool "CompactPCI Hotplug driver"
781da177e4SLinus Torvalds	help
791da177e4SLinus Torvalds	  Say Y here if you have a CompactPCI system card with CompactPCI
801da177e4SLinus Torvalds	  hotswap support per the PICMG 2.1 specification.
811da177e4SLinus Torvalds
821da177e4SLinus Torvalds	  When in doubt, say N.
831da177e4SLinus Torvalds
841da177e4SLinus Torvaldsconfig HOTPLUG_PCI_CPCI_ZT5550
851da177e4SLinus Torvalds	tristate "Ziatech ZT5550 CompactPCI Hotplug driver"
86d4770143SJan Engelhardt	depends on HOTPLUG_PCI_CPCI && X86
871da177e4SLinus Torvalds	help
881da177e4SLinus Torvalds	  Say Y here if you have an Performance Technologies (formerly Intel,
891da177e4SLinus Torvalds	  formerly just Ziatech) Ziatech ZT5550 CompactPCI system card.
901da177e4SLinus Torvalds
911da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
921da177e4SLinus Torvalds	  module will be called cpcihp_zt5550.
931da177e4SLinus Torvalds
941da177e4SLinus Torvalds	  When in doubt, say N.
951da177e4SLinus Torvalds
961da177e4SLinus Torvaldsconfig HOTPLUG_PCI_CPCI_GENERIC
971da177e4SLinus Torvalds	tristate "Generic port I/O CompactPCI Hotplug driver"
9833ae6ef2SGreg Kroah-Hartman	depends on HOTPLUG_PCI_CPCI && X86
991da177e4SLinus Torvalds	help
1001da177e4SLinus Torvalds	  Say Y here if you have a CompactPCI system card that exposes the #ENUM
1011da177e4SLinus Torvalds	  hotswap signal as a bit in a system register that can be read through
1021da177e4SLinus Torvalds	  standard port I/O.
1031da177e4SLinus Torvalds
1041da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1051da177e4SLinus Torvalds	  module will be called cpcihp_generic.
1061da177e4SLinus Torvalds
1071da177e4SLinus Torvalds	  When in doubt, say N.
1081da177e4SLinus Torvalds
1091da177e4SLinus Torvaldsconfig HOTPLUG_PCI_SHPC
11082280f7aSMika Westerberg	bool "SHPC PCI Hotplug driver"
1111da177e4SLinus Torvalds	help
1121da177e4SLinus Torvalds	  Say Y here if you have a motherboard with a SHPC PCI Hotplug
1131da177e4SLinus Torvalds	  controller.
1141da177e4SLinus Torvalds
1151da177e4SLinus Torvalds	  When in doubt, say N.
1161da177e4SLinus Torvalds
11766725152SGavin Shanconfig HOTPLUG_PCI_POWERNV
11866725152SGavin Shan	tristate "PowerPC PowerNV PCI Hotplug driver"
11966725152SGavin Shan	depends on PPC_POWERNV && EEH
12066725152SGavin Shan	select OF_DYNAMIC
12166725152SGavin Shan	help
12266725152SGavin Shan	  Say Y here if you run PowerPC PowerNV platform that supports
12366725152SGavin Shan	  PCI Hotplug
12466725152SGavin Shan
12566725152SGavin Shan	  To compile this driver as a module, choose M here: the
12666725152SGavin Shan	  module will be called pnv-php.
12766725152SGavin Shan
12866725152SGavin Shan	  When in doubt, say N.
12966725152SGavin Shan
1301da177e4SLinus Torvaldsconfig HOTPLUG_PCI_RPA
1311da177e4SLinus Torvalds	tristate "RPA PCI Hotplug driver"
132c2b5acc3SBjorn Helgaas	depends on PPC_PSERIES && EEH
1331da177e4SLinus Torvalds	help
134cab00891SMatt LaPlante	  Say Y here if you have a RPA system that supports PCI Hotplug.
1351da177e4SLinus Torvalds
1361da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1371da177e4SLinus Torvalds	  module will be called rpaphp.
1381da177e4SLinus Torvalds
1391da177e4SLinus Torvalds	  When in doubt, say N.
1401da177e4SLinus Torvalds
1411da177e4SLinus Torvaldsconfig HOTPLUG_PCI_RPA_DLPAR
1421da177e4SLinus Torvalds	tristate "RPA Dynamic Logical Partitioning for I/O slots"
1431da177e4SLinus Torvalds	depends on HOTPLUG_PCI_RPA
1441da177e4SLinus Torvalds	help
1451da177e4SLinus Torvalds	  Say Y here if your system supports Dynamic Logical Partitioning
1461da177e4SLinus Torvalds	  for I/O slots.
1471da177e4SLinus Torvalds
1481da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1491da177e4SLinus Torvalds	  module will be called rpadlpar_io.
1501da177e4SLinus Torvalds
1511da177e4SLinus Torvalds	  When in doubt, say N.
1521da177e4SLinus Torvalds
1537441b062SJan Glauberconfig HOTPLUG_PCI_S390
15467f43f38SSebastian Ott	bool "System z PCI Hotplug Support"
1557441b062SJan Glauber	depends on S390 && 64BIT
1567441b062SJan Glauber	help
1577441b062SJan Glauber	  Say Y here if you want to use the System z PCI Hotplug
1587441b062SJan Glauber	  driver for PCI devices. Without this driver it is not
1597441b062SJan Glauber	  possible to access stand-by PCI functions nor to deconfigure
1607441b062SJan Glauber	  PCI functions.
1617441b062SJan Glauber
1627441b062SJan Glauber	  When in doubt, say Y.
1637441b062SJan Glauber
164d4770143SJan Engelhardtendif # HOTPLUG_PCI
165