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