loglevel=pci:7,acpi:6 support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | add DEFINE_LOGLEVEL_SETUP v3arch/ arch/ include/ +3 more | +82 | 5 replies | |
| 2/5 | pci: add pci_printk v3drivers/ include/ | +4 | 0 replies | |
| 3/5 | pci: using pci_printkdrivers/ | +5 | 0 replies | |
| 4/5 | acpi: add acpi_printk v2drivers/ include/ | +3 | 0 replies | |
| 5/5 | apci: dump slit v3drivers/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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