linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] PCI: Update BAR #/window messages
@ 2021-11-06 11:26 Puranjay Mohan
  2021-11-06 11:26 ` [PATCH 1/2] PCI: Update BAR # and window messages Puranjay Mohan
  2021-11-06 11:26 ` [PATCH 2/2] PCI: Use resource names in PCI log messages Puranjay Mohan
  0 siblings, 2 replies; 6+ messages in thread
From: Puranjay Mohan @ 2021-11-06 11:26 UTC (permalink / raw)
  To: bhelgaas, linux-pci; +Cc: Puranjay Mohan

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(-)

-- 
2.30.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-11-24  4:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-06 11:26 [PATCH 0/2] PCI: Update BAR #/window messages Puranjay Mohan
2021-11-06 11:26 ` [PATCH 1/2] PCI: Update BAR # and window messages Puranjay Mohan
2021-11-06 11:58   ` Lukas Wunner
2021-11-19 21:43     ` Bjorn Helgaas
2021-11-24  4:28       ` Lukas Wunner
2021-11-06 11:26 ` [PATCH 2/2] PCI: Use resource names in PCI log messages Puranjay Mohan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).