netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: akpm@linux-foundation.org
Cc: davem@davemloft.net, linux-kernel@vger.kernel.org,
	netdev@vger.kernel.org
Subject: [PATCHSET REPOST] printk, netconsole: implement extended console support
Date: Thu, 14 May 2015 12:06:19 -0400	[thread overview]
Message-ID: <1431619586-29187-1-git-send-email-tj@kernel.org> (raw)

This is the combined repost of the following two patches with only
minor updates - warning message and comments added as suggested by
Andrew.  I think it'd be best to route the changes through -mm.

[1] [PATCHSET] printk: implement extended console support
[2] [PATCHSET v3] netconsole: implement extended console support

The netconsole part has been reviewed by David[3].

This patchset updates netconsole so that it can emit messages with the
same header as used in /dev/kmsg which gives neconsole receiver full
log information which enables things like structured logging and
detection of lost messages.

Please see the head messages of the original postings for more
detailed info.

 0001-printk-guard-the-amount-written-per-line-by-devkmsg_.patch
 0002-printk-factor-out-message-formatting-from-devkmsg_re.patch
 0003-printk-implement-support-for-extended-console-driver.patch
 0004-netconsole-remove-unnecessary-netconsole_target_get-.patch
 0005-netconsole-make-netconsole_target-enabled-a-bool.patch
 0006-netconsole-make-all-dynamic-netconsoles-share-a-mute.patch
 0007-netconsole-implement-extended-console-support.patch

0001-0003 implement extended console support in printk.

0004-0007 update netconsole to support extended console.

The patchset is also available in the following git branch.

 git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git review-netconsole-ext-console

diffstat follows.  Thanks.

 Documentation/ABI/testing/dev-kmsg      |    9 +
 Documentation/networking/netconsole.txt |   35 +++++
 drivers/net/netconsole.c                |  169 ++++++++++++++++++++++---
 include/linux/console.h                 |    1 
 include/linux/printk.h                  |    2 
 kernel/printk/printk.c                  |  214 +++++++++++++++++++++-----------
 6 files changed, 341 insertions(+), 89 deletions(-)

--
tejun

[1] http://lkml.kernel.org/g/1430318704-32374-1-git-send-email-tj@kernel.org
[2] http://lkml.kernel.org/g/1431362494-9874-1-git-send-email-tj@kernel.org
[3] http://lkml.kernel.org/g/20150514.003917.1450039994643712704.davem@davemloft.net

             reply	other threads:[~2015-05-14 16:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-14 16:06 Tejun Heo [this message]
2015-05-14 16:06 ` [PATCH 1/7] printk: guard the amount written per line by devkmsg_read() Tejun Heo
2015-05-15 12:44   ` Petr Mladek
2015-05-14 16:06 ` [PATCH 2/7] printk: factor out message formatting from devkmsg_read() Tejun Heo
2015-05-15 12:45   ` Petr Mladek
2015-05-14 16:06 ` [PATCH 3/7] printk: implement support for extended console drivers Tejun Heo
2015-05-15 13:20   ` Petr Mladek
2015-05-14 16:06 ` [PATCH 4/7] netconsole: remove unnecessary netconsole_target_get/out() from write_msg() Tejun Heo
2015-05-14 16:06 ` [PATCH 5/7] netconsole: make netconsole_target->enabled a bool Tejun Heo
2015-05-14 16:06 ` [PATCH 6/7] netconsole: make all dynamic netconsoles share a mutex Tejun Heo
2015-05-14 16:06 ` [PATCH 7/7] netconsole: implement extended console support Tejun Heo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1431619586-29187-1-git-send-email-tj@kernel.org \
    --to=tj@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).