]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: Add pcie_print_tlp_log() to print TLP Header and Prefix Log
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 14 Jan 2025 17:08:40 +0000 (19:08 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 16 Jan 2025 18:05:43 +0000 (12:05 -0600)
commitf68ea779d98a01de0c05b618e35ba2090af590cf
tree65b36902fefd6ea3513ff4152f6cdb9f5b064cf7
parentad41ddeeac216417a52fbc1060577f3098f4e90e
PCI: Add pcie_print_tlp_log() to print TLP Header and Prefix Log

Add pcie_print_tlp_log() to print TLP Header and Prefix Log.  Print End-End
Prefixes only if they are non-zero.

Consolidate the few places which currently print TLP using custom
formatting.

Link: https://lore.kernel.org/r/20250114170840.1633-9-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
[bhelgaas: commit log]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/pci/pci.h
drivers/pci/pcie/aer.c
drivers/pci/pcie/dpc.c
drivers/pci/pcie/tlp.c