diff options
author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2025-01-14 19:08:34 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-01-14 17:38:18 -0600 |
commit | a71c59269e51f9fffd97a7be199ff74478759e1c (patch) | |
tree | fe677bee140235a7759c10d6d81190792f16d25b /drivers/pci/pcie/Makefile | |
parent | 013525583fdd79b6b83547b937535dfd406d3cd5 (diff) |
PCI: Move TLP Log handling to its own file
TLP Log is a PCIe feature and is processed only by AER and DPC.
Configwise, DPC depends AER being enabled. In lack of better place, the TLP
Log handling code was initially placed into pci.c but it can be easily
placed in a separate file.
Move TLP Log handling code to its own file under pcie/ subdirectory and
include it only when AER is enabled.
Link: https://lore.kernel.org/r/20250114170840.1633-3-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Yazen Ghannam <yazen.ghannam@amd.com>
Diffstat (limited to 'drivers/pci/pcie/Makefile')
-rw-r--r-- | drivers/pci/pcie/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pcie/Makefile b/drivers/pci/pcie/Makefile index 53ccab62314d..173829aa02e6 100644 --- a/drivers/pci/pcie/Makefile +++ b/drivers/pci/pcie/Makefile @@ -7,7 +7,7 @@ pcieportdrv-y := portdrv.o rcec.o obj-$(CONFIG_PCIEPORTBUS) += pcieportdrv.o bwctrl.o obj-y += aspm.o -obj-$(CONFIG_PCIEAER) += aer.o err.o +obj-$(CONFIG_PCIEAER) += aer.o err.o tlp.o obj-$(CONFIG_PCIEAER_INJECT) += aer_inject.o obj-$(CONFIG_PCIE_PME) += pme.o obj-$(CONFIG_PCIE_DPC) += dpc.o |