Skip to content

loglevel=pci:8,acpi:8,apic=8 support v6

Yinghai Lu lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 25 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6add DEFINE_LOGLEVEL_SETUP v7arch/x86/kernel/vmlinux_32.lds.S arch/x86/kernel/vmlinux_64.lds.S include/asm-generic/vmlinux.lds.h +4 more+138 -50 replies
2/6pci: add KERN_PCIdrivers/pci/pci.c include/linux/pci.h+4 -00 replies
3/6pci: using printk(KERN_PCI v3drivers/pci/probe.c+17 -116 replies
4/6acpi: add KERN_ACPI v3drivers/acpi/osl.c include/linux/acpi.h+3 -00 replies
5/6apci: dump slit with printk(KERN_ACPI...)drivers/acpi/numa.c+9 -03 replies
6/6x86: add KERN_APICDocumentation/kernel-parameters.txt arch/x86/kernel/apic.c arch/x86/kernel/io_apic.c +5 more+178 -2245 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/6] loglevel=pci:8,acpi:8,apic=8 support v6

KERN_PCI
KERN_ACPI
v4: fix some checkpatch error and warning
v5: add default with DEFINE_LOGLEVE_SETUP_DEF
KERN_APIC
v6: set the default only one time

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=3,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