[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190503035946.23608-1-fred@fredlawl.com>
Date: Thu, 2 May 2019 22:59:37 -0500
From: Frederick Lawler <fred@...dlawl.com>
To: bhelgaas@...gle.com
Cc: linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org,
mika.westerberg@...ux.intel.com, lukas@...ner.de,
andriy.shevchenko@...ux.intel.com, keith.busch@...el.com,
mr.nuke.me@...il.com, liudongdong3@...wei.com, thesven73@...il.com,
Frederick Lawler <fred@...dlawl.com>
Subject: [PATCH v2 0/9] PCI: Use PCIe service name in dmesg logs
In referrence to [1], PCIe services did not have uniform logging via pci_*()
printk wrappers. Add dev_fmt() to each service, clean up dmesg logs,
use pci_dbg() for hotplug debug messages, and lastly, uniformally
add Slot(%s) prefixes to hotplug ctrl_*() wrappers.
1. https://lore.kernel.org/linux-pci/20190308180149.GD214730@google.com/
Changes from v1:
- Split dev_fmt() additions into own patches per service
- Kept ctrl_*() wrappers and applied "Slot(%s)" prefix to messages
- Attempted to leave no log gaps between patches
Frederick Lawler (9):
PCI/AER: Cleanup dmesg logs
PCI/DPC: Prefix dmesg logs with PCIe service name
PCI/PME: Prefix dmesg logs with PCIe service name
PCI/LINK: Prefix dmesg logs with PCIe service name
PCI/AER: Prefix dmesg logs with PCIe service name
PCI: hotplug: Prefix dmesg logs with PCIe service name
PCI: hotplug: Prefer CONFIG_DYNAMIC_DEBUG/DEBUG for dmesg logs
PCI: hotplug: Remove unnecessary dbg/err/info/warn() printk() wrappers
PCI: hotplug: Prefix ctrl_*() dmesg logs with pciehp slot name
drivers/pci/hotplug/pciehp.h | 28 ++++----------
drivers/pci/hotplug/pciehp_core.c | 20 ++++++----
drivers/pci/hotplug/pciehp_ctrl.c | 60 ++++++++++++------------------
drivers/pci/hotplug/pciehp_hpc.c | 9 +++--
drivers/pci/hotplug/pciehp_pci.c | 2 +
drivers/pci/pcie/aer.c | 19 ++++++----
drivers/pci/pcie/aer_inject.c | 6 ++-
drivers/pci/pcie/bw_notification.c | 2 +
drivers/pci/pcie/dpc.c | 37 +++++++++---------
drivers/pci/pcie/pme.c | 2 +
10 files changed, 89 insertions(+), 96 deletions(-)
--
2.17.1
Powered by blists - more mailing lists