Skip to content

loglevel=pci:7,acpi:6 support v3

Yinghai Lu lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5add DEFINE_LOGLEVEL_SETUP v4arch/x86/kernel/vmlinux_32.lds.S arch/x86/kernel/vmlinux_64.lds.S include/asm-generic/vmlinux.lds.h +4 more+133 -50 replies
2/5pci: add pci_printk v4drivers/pci/pci.c include/linux/pci.h+4 -00 replies
3/5pci: using pci_printk v2drivers/pci/probe.c+5 -50 replies
4/5acpi: add acpi_printk v3drivers/acpi/osl.c include/linux/acpi.h+3 -00 replies
5/5apci: dump slit v4drivers/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 v3

usage:
in .h to have
#define KERN_PCI "<pci>"
in .c to have
DEFINE_LOGLEVEL_SETUP(pci, KERN_PCI, "pci:");
then could use
printk(KERN_DEBUG KERN_PCI fmt, ...);
and command line
loglevel=pci:8

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