Kconfig

CONFIG_PCIEPORTBUS PCI Express Port Bus support

On

This enables PCI Express Port Bus support. Users can then enable support for Native Hot-Plug, Advanced Error Reporting, Power Management Events, and Downstream Port Containment.

If PCIEPORTBUS

CONFIG_HOTPLUG_PCI_PCIE PCI Express Hotplug driver

On

Say Y here if you have a motherboard that supports PCIe native hotplug.

Thunderbolt/USB4 PCIe tunneling depends on native PCIe hotplug.

When in doubt, say N.

CONFIG_PCIEAER PCI Express Advanced Error Reporting support

On

This enables PCI Express Root Port Advanced Error Reporting (AER) driver support. Error reporting messages sent to Root Port will be handled by PCI Express AER driver.

If PCIEAER

CONFIG_PCIEAER_INJECT PCI Express error injection support

  • Off
  • Module
  • Built in

This enables PCI Express Root Port Advanced Error Reporting (AER) software error injector.

Debugging AER code is quite difficult because it is hard
to trigger various real hardware errors. Software-based
error injection can fake almost all kinds of errors with the
help of a user space helper tool aer-inject, which can be
gotten from:
   https://github.com/intel/aer-inject.git

CONFIG_PCIE_ECRC PCI Express ECRC settings control

On

Used to override firmware/bios settings for PCI Express ECRC (transaction layer end-to-end CRC checking).

When in doubt, say N.

CONFIG_PCIEASPM PCI Express ASPM control

On

This enables OS control over PCI Express ASPM (Active State Power Management) and Clock Power Management. ASPM supports state L0/L0s/L1.

ASPM is initially set up by the firmware. With this option enabled, Linux can modify this state in order to disable ASPM on known-bad hardware or configurations and enable it when known-safe.

ASPM can be disabled or enabled at runtime via /sys/module/pcie_aspm/parameters/policy

When in doubt, say Y.

Default

If PCIEASPM

Default ASPM policy

CONFIG_PCIEASPM_DEFAULT BIOS default

On

Use the BIOS defaults for PCI Express ASPM.

CONFIG_PCIEASPM_POWERSAVE Powersave

Off

Enable PCI Express ASPM L0s and L1 where possible, even if the BIOS did not.

CONFIG_PCIEASPM_POWER_SUPERSAVE Power Supersave

Off

Same as PCIEASPM_POWERSAVE, except it also enables L1 substates where possible. This would result in higher power savings while staying in L1 where the components support it.

CONFIG_PCIEASPM_PERFORMANCE Performance

Off

Disable PCI Express ASPM L0s and L1, even if the BIOS enabled them.

End of Default ASPM policy

CONFIG_PCIE_DPC PCI Express Downstream Port Containment support

On

This enables PCI Express Downstream Port Containment (DPC) driver support. DPC events from Root and Downstream ports will be handled by the DPC driver. If your system doesn't have this capability or you do not want to use this feature, it is safe to answer N.

CONFIG_PCIE_PTM PCI Express Precision Time Measurement support

On

This enables PCI Express Precision Time Measurement (PTM) support.

This is only useful if you have devices that support PTM, but it is safe to enable even if you don't.

CONFIG_PCIE_EDR PCI Express Error Disconnect Recover support

On

This option adds Error Disconnect Recover support as specified in the Downstream Port Containment Related Enhancements ECN to the PCI Firmware Specification r3.2. Enable this if you want to support hybrid DPC model which uses both firmware and OS to implement DPC.