Skip to content

PCI: Improve enumeration logging

Bjorn Helgaas linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7PCI: Log device type during enumerationdrivers/pci/probe.c+40 -21 reply
2/7PCI: Update BAR # and window messagesdrivers/pci/pci.c drivers/pci/pci.h+62 -00 replies
3/7PCI: Use resource names in PCI log messagesdrivers/pci/iov.c drivers/pci/pci.c drivers/pci/probe.c +3 more+103 -720 replies
4/7PCI: Move pci_read_bridge_windows() below individual window accessorsdrivers/pci/probe.c+51 -510 replies
5/7PCI: Supply bridge device, not secondary bus, to read window detailsdrivers/pci/probe.c+6 -150 replies
6/7PCI: Log bridge windows conditionallydrivers/pci/probe.c+15 -90 replies
7/7PCI: Log bridge info when first enumerating bridgedrivers/pci/probe.c+19 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] PCI: Improve enumeration logging

From: Bjorn Helgaas <[email protected]>

This is based on Puranjay Mohan's work at
https://lore.kernel.org/all/[email protected]/
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(-)
Signature · 1 line
2.34.1