Skip to content

loglevel=pci:8,acpi:8,apic=12,dev:8 support v7

Yinghai Lu lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7add DEFINE_LOGLEVEL_SETUParch/x86/kernel/vmlinux_32.lds.S arch/x86/kernel/vmlinux_64.lds.S include/asm-generic/vmlinux.lds.h +4 more+259 -240 replies
2/7pci: add KERN_PCIdrivers/pci/pci.c include/linux/pci.h+4 -00 replies
3/7pci: using printk(KERN_PCI v3drivers/pci/probe.c+17 -110 replies
4/7acpi: add KERN_ACPI v3drivers/acpi/osl.c include/linux/acpi.h+3 -00 replies
5/7acpi: dump slit with printk(KERN_ACPI...)drivers/acpi/numa.c+9 -00 replies
6/7x86: add KERN_APICDocumentation/kernel-parameters.txt arch/x86/kernel/apic.c arch/x86/kernel/io_apic.c +5 more+188 -2240 replies
7/7pci: add KERN_PCIdrivers/base/core.c include/linux/device.h+7 -10 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/7] loglevel=pci:8,acpi:8,apic=12,dev:8 support v7

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
v7: expand msg_loglevel to 2 digi bits. so KERN_APIC could start from 10

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