Skip to content

RFC kmsg macros and script.

Martin Schwidefsky linux-s390 lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest15 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15kmsg: Kernel message catalog macros.arch/s390/Kconfig include/asm-s390/kmsg.h+133 -05 replies
2/15kmsg: Kernel message catalog script.Makefile scripts/Makefile.build scripts/kmsg-doc+389 -06 replies
3/15kmsg: convert cio message to kmsg api.Documentation/s390/kmsg/cio drivers/s390/cio/blacklist.c drivers/s390/cio/chsc.c +3 more+126 -140 replies
4/15kmsg: convert vmcp to kmsg api.Documentation/s390/kmsg/vmcp drivers/s390/char/vmcp.c+19 -20 replies
5/15kmsg: convert cpcmd to kmsg api.Documentation/s390/kmsg/cpcmd arch/s390/kernel/cpcmd.c+23 -20 replies
6/15kmsg: convert vmur to kmsg api.Documentation/s390/kmsg/vmur drivers/s390/char/vmur.c+41 -50 replies
7/15kmsg: convert xpram messages to kmsg api.Documentation/s390/kmsg/xpram drivers/s390/block/xpram.c+73 -220 replies
8/15kmsg: convert cpacf printk messages to kmsg api.Documentation/s390/kmsg/aes_s390 arch/s390/crypto/aes_s390.c+41 -50 replies
9/15kmsg: convert time printk messages to kmsg api.Documentation/s390/kmsg/time arch/s390/kernel/time.c+48 -50 replies
10/15kmsg: convert hypfs printk messages to kmsg api.Documentation/s390/kmsg/hypfs arch/s390/hypfs/hypfs_diag.c arch/s390/hypfs/inode.c+73 -90 replies
11/15kmsg: convert setup printk messages to kmsg api.Documentation/s390/kmsg/setup arch/s390/kernel/setup.c+213 -290 replies
12/15kmsg: convert appldata printk messages to kmsg api.Documentation/s390/kmsg/appldata arch/s390/appldata/appldata.h arch/s390/appldata/appldata_base.c +1 more+107 -210 replies
13/15kmsg: convert monreader printk messages to kmsg api.Documentation/s390/kmsg/monreader drivers/s390/char/monreader.c+151 -230 replies
14/15kmsg: convert s390 debug feature to kmsg apiDocumentation/s390/kmsg/s390dbf arch/s390/kernel/debug.c+103 -180 replies
15/15kmsg: convert monwriter printk messages to kmsg api.Documentation/s390/kmsg/monwriter drivers/s390/char/monwriter.c+20 -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 00/15] [RFC] kmsg macros and script.

Greetings,
this is the next step of our project to document all s390 specific kernel messages. The message cleanup patches have been integrated into the upstream kernel. After we removed the meaningless messages it is now time to brush up the remaining messages.

The first patch introduces a new set of wrapper macros around printk. These macros add a prefix to each message and a message id can be specified. The second patch adds a script to help writing the kmsg comments that describe a kmsg and it can be used to write man pages for the documented messages. The remaining 13 patches convert some of the printk messages found in the s390 architecture files and some of the s390 device drivers to demonstrate how all this is supposed to work.

The code is currently only usable for s390. Should this be of interest to other architectures as well we have to think about where to put things. We'd be happy to get feedback on this.

Signature · 4 lines
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.