Skip to content

PCI: pci_printk() removal (+ related cleanups)

Ilpo Järvinen linux-pci linuxppc-dev lkml 1 version Applied

Status from this message: I applied the above to pci/hotplug for v6.15, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4PCI: shpchp: Remove logging from module init/exit functionsdrivers/pci/hotplug/shpchp_core.c+1 -90 replies
2/4PCI: shpchp: Change dbg() -> ctrl_dbg()drivers/pci/hotplug/shpchp_hpc.c+1 -10 replies
3/4PCI: shpchp: Cleanup logging and debug wrappersdrivers/pci/hotplug/shpchp.h drivers/pci/hotplug/shpchp_core.c+1 -202 replies
4/4PCI: Descope pci_printk() to aer_printk()drivers/pci/pcie/aer.c include/linux/pci.h+7 -63 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/4] PCI: pci_printk() removal (+ related cleanups)

include/linux/pci.h provides pci_printk() which is a low-level interface with level that is only useful for AER due to error severity variations.

This series cleans up shpchp logging wrappers to avoid using low-level pci_printk() unnecessarily and replaces pci_printk() with aer_printk().

Ilpo Järvinen (4):
PCI: shpchp: Remove logging from module init/exit functions
PCI: shpchp: Change dbg() -> ctrl_dbg()
PCI: shpchp: Cleanup logging and debug wrappers
PCI: Descope pci_printk() to aer_printk()

 drivers/pci/hotplug/shpchp.h      | 18 +-----------------
 drivers/pci/hotplug/shpchp_core.c | 13 +------------
 drivers/pci/hotplug/shpchp_hpc.c  |  2 +-
 drivers/pci/pcie/aer.c            | 10 +++++++---
 include/linux/pci.h               |  3 ---
 5 files changed, 10 insertions(+), 36 deletions(-)
Signature · 1 line
2.39.5