On Fri, 13 Sep 2024 17:36:26 +0300 Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx> wrote: > TLP Log is 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 own file under pcie/ subdirectory and > include it only when AER is enabled. > > Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> Can sort of see this might get used outside AER sometime in the future but for now this seems sensible. Jonathan