Skip to content

Commit

Permalink
feat: add support for hotplug of PCIE devices
Browse files Browse the repository at this point in the history
This PR adds PCIE hotplug support to the kernel. This is needed so that
NVME disks can be added to talos on the fly. This is especially
important with "nitro" instances in AWS (like the t3 series).

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
(cherry picked from commit e388321)
  • Loading branch information
rsmitty authored and talos-bot committed Jul 1, 2021
1 parent f499062 commit 7b2e126
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions kernel/kernel/config-amd64
Expand Up @@ -1713,7 +1713,7 @@ CONFIG_HAVE_PCI=y
CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_PCIEPORTBUS=y
# CONFIG_HOTPLUG_PCI_PCIE is not set
CONFIG_HOTPLUG_PCI_PCIE=y
CONFIG_PCIEAER=y
# CONFIG_PCIEAER_INJECT is not set
# CONFIG_PCIE_ECRC is not set
Expand All @@ -1739,7 +1739,8 @@ CONFIG_PCI_PASID=y
CONFIG_PCI_LABEL=y
# CONFIG_PCI_HYPERV is not set
CONFIG_HOTPLUG_PCI=y
# CONFIG_HOTPLUG_PCI_ACPI is not set
CONFIG_HOTPLUG_PCI_ACPI=y
# CONFIG_HOTPLUG_PCI_ACPI_IBM is not set
# CONFIG_HOTPLUG_PCI_CPCI is not set
# CONFIG_HOTPLUG_PCI_SHPC is not set

Expand Down
2 changes: 1 addition & 1 deletion kernel/kernel/config-arm64
Expand Up @@ -1801,7 +1801,7 @@ CONFIG_PCI_DOMAINS=y
CONFIG_PCI_DOMAINS_GENERIC=y
CONFIG_PCI_SYSCALL=y
CONFIG_PCIEPORTBUS=y
# CONFIG_HOTPLUG_PCI_PCIE is not set
CONFIG_HOTPLUG_PCI_PCIE=y
CONFIG_PCIEAER=y
# CONFIG_PCIEAER_INJECT is not set
# CONFIG_PCIE_ECRC is not set
Expand Down

0 comments on commit 7b2e126

Please sign in to comment.