提交 e67ad935 编写于 作者: A Albert Zhou 提交者: Bjorn Helgaas

PCI: pciehp: Enable by default if USB4 enabled

Thunderbolt/USB4 PCIe tunneling depends on native PCIe hotplug.  Enable
pciehp by default if USB4 is enabled.

[bhelgaas: squash, update subject, commit logs, tidy whitespace]
Link: https://lore.kernel.org/r/20221115113857.35800-2-albert.zhou.50@gmail.com
Link: https://lore.kernel.org/r/20221115113857.35800-3-albert.zhou.50@gmail.comSigned-off-by: NAlbert Zhou <albert.zhou.50@gmail.com>
Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: NMika Westerberg <mika.westerberg@linux.intel.com>
上级 9abf2313
...@@ -6,11 +6,14 @@ ...@@ -6,11 +6,14 @@
menuconfig HOTPLUG_PCI menuconfig HOTPLUG_PCI
bool "Support for PCI Hotplug" bool "Support for PCI Hotplug"
depends on PCI && SYSFS depends on PCI && SYSFS
default y if USB4
help help
Say Y here if you have a motherboard with a PCI Hotplug controller. Say Y here if you have a motherboard with a PCI Hotplug controller.
This allows you to add and remove PCI cards while the machine is This allows you to add and remove PCI cards while the machine is
powered up and running. powered up and running.
Thunderbolt/USB4 PCIe tunneling depends on native PCIe hotplug.
When in doubt, say N. When in doubt, say N.
if HOTPLUG_PCI if HOTPLUG_PCI
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
# #
config PCIEPORTBUS config PCIEPORTBUS
bool "PCI Express Port Bus support" bool "PCI Express Port Bus support"
default y if USB4
help help
This enables PCI Express Port Bus support. Users can then enable This enables PCI Express Port Bus support. Users can then enable
support for Native Hot-Plug, Advanced Error Reporting, Power support for Native Hot-Plug, Advanced Error Reporting, Power
...@@ -15,9 +16,12 @@ config PCIEPORTBUS ...@@ -15,9 +16,12 @@ config PCIEPORTBUS
config HOTPLUG_PCI_PCIE config HOTPLUG_PCI_PCIE
bool "PCI Express Hotplug driver" bool "PCI Express Hotplug driver"
depends on HOTPLUG_PCI && PCIEPORTBUS depends on HOTPLUG_PCI && PCIEPORTBUS
default y if USB4
help help
Say Y here if you have a motherboard that supports PCI Express Native Say Y here if you have a motherboard that supports PCIe native
Hotplug hotplug.
Thunderbolt/USB4 PCIe tunneling depends on native PCIe hotplug.
When in doubt, say N. When in doubt, say N.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册