[PATCH 0/7] PCI: Improve enumeration logging

Bjorn Helgaas posted 7 patches 2 years ago
drivers/pci/iov.c       |   7 +-
drivers/pci/pci.c       |  85 ++++++++++++++--
drivers/pci/pci.h       |   2 +
drivers/pci/probe.c     | 218 ++++++++++++++++++++++++----------------
drivers/pci/quirks.c    |  15 ++-
drivers/pci/setup-bus.c |  30 ++++--
drivers/pci/setup-res.c |  72 +++++++------
7 files changed, 286 insertions(+), 143 deletions(-)
[PATCH 0/7] PCI: Improve enumeration logging
Posted by Bjorn Helgaas 2 years ago
From: Bjorn Helgaas <bhelgaas@google.com>

This is based on Puranjay Mohan's work at
https://lore.kernel.org/all/20211106112606.192563-1-puranjay12@gmail.com/
which updated BAR resource logging to consistently use "BAR 0" instead of a
mix of "BAR 0", "reg 0x10", etc.

I added:

  - More BAR resource log updates
  - Device type (PCIe Root Port, Switch Port, etc) to initial message
  - Bridge info logging in logical order (bridge before downstream)

Bjorn Helgaas (5):
  PCI: Log device type during enumeration
  PCI: Move pci_read_bridge_windows() below individual window accessors
  PCI: Supply bridge device, not secondary bus, to read window details
  PCI: Log bridge windows conditionally
  PCI: Log bridge info when first enumerating bridge

Puranjay Mohan (2):
  PCI: Update BAR # and window messages
  PCI: Use resource names in PCI log messages

 drivers/pci/iov.c       |   7 +-
 drivers/pci/pci.c       |  85 ++++++++++++++--
 drivers/pci/pci.h       |   2 +
 drivers/pci/probe.c     | 218 ++++++++++++++++++++++++----------------
 drivers/pci/quirks.c    |  15 ++-
 drivers/pci/setup-bus.c |  30 ++++--
 drivers/pci/setup-res.c |  72 +++++++------
 7 files changed, 286 insertions(+), 143 deletions(-)

-- 
2.34.1