PCI: Use PCIe service name in dmesg logs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 10 repliesIn review
- v14 patches 10 repliesSuperseded
Changes in v2 from the cover letter
- 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
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | PCI/AER: Cleanup dmesg logsdrivers/ | +5 | 2 replies | |
| 2/9 | PCI/DPC: Prefix dmesg logs with PCIe service namedrivers/ | +18 | 2 replies | |
| 3/9 | PCI/PME: Prefix dmesg logs with PCIe service namedrivers/ | +2 | 1 reply | |
| 4/9 | PCI/LINK: Prefix dmesg logs with PCIe service namedrivers/ | +2 | 1 reply | |
| 5/9 | PCI/AER: Prefix dmesg logs with PCIe service namedrivers/ drivers/ | +11 | 0 replies | |
| 6/9 | PCI: hotplug: Prefix dmesg logs with PCIe service namedrivers/ drivers/ drivers/ +2 more | +21 | 2 replies | |
| 7/9 | PCI: hotplug: Prefer CONFIG_DYNAMIC_DEBUG/DEBUG for dmesg logsdrivers/ | +2 | 1 reply | |
| 8/9 | PCI: hotplug: Remove unnecessary dbg/err/info/warn() printk() wrappersdrivers/ drivers/ | +2 | 0 replies | |
| 9/9 | PCI: hotplug: Prefix ctrl_*() dmesg logs with pciehp slot namedrivers/ drivers/ drivers/ +1 more | +38 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [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/[email protected]/
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