Skip to content

PCI: Update BAR #/window messages

Puranjay Mohan linux-pci 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PCI: Update BAR # and window messagesdrivers/pci/pci.c drivers/pci/pci.h+49 -03 replies
2/2PCI: Use resource names in PCI log messagesdrivers/pci/probe.c+11 -90 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/2] PCI: Update BAR #/window messages

The log messages in the PCI subsystem print the register offsets of the BARs that can't be easily understood. At some places it prints the BAR numbers. These should all be more meaningful, e.g., "BAR 0", "I/O window" ,"Prefetchable MMIO window", etc.

The first patch in this series adds a helper function that returns the name of the PCI resource when called with index of the resource. The second patch uses this function and updates the messages in one of the places.

Many more messages have to be updated to make this a uniform process, I will be sending subsequent patches that do the same.

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

 drivers/pci/pci.c   | 47 +++++++++++++++++++++++++++++++++++++++++++++
 drivers/pci/pci.h   |  2 ++
 drivers/pci/probe.c | 20 ++++++++++---------
 3 files changed, 60 insertions(+), 9 deletions(-)
Signature · 1 line
2.30.1