Skip to content

loglevel=pci:7,acpi:6 support

Yinghai Lu lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5add DEFINE_LOGLEVEL_SETUP v3arch/x86/kernel/vmlinux_32.lds.S arch/x86/kernel/vmlinux_64.lds.S include/asm-generic/vmlinux.lds.h +3 more+82 -15 replies
2/5pci: add pci_printk v3drivers/pci/pci.c include/linux/pci.h+4 -00 replies
3/5pci: using pci_printkdrivers/pci/probe.c+5 -50 replies
4/5acpi: add acpi_printk v2drivers/acpi/osl.c include/linux/acpi.h+3 -00 replies
5/5apci: dump slit v3drivers/acpi/numa.c+8 -00 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/5] loglevel=pci:7,acpi:6 support

usage:
in .c to have
DEFINE_LOGLEVEL_SETUP(pci, "pci:");
in .h to have
DECLARE_LOGLEVE(pci);
then could use
pci_printk(KERN_LOG_DEBUG, fmt, ...);
and command line
loglevel=pci:7

you can add different printk to different files of one subsys if you like not just one susbsys one tag, and don't need to update kernel.h to add more tags

YH