From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932556AbdBVLrP (ORCPT ); Wed, 22 Feb 2017 06:47:15 -0500 Received: from mx2.suse.de ([195.135.220.15]:55344 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932291AbdBVLrK (ORCPT ); Wed, 22 Feb 2017 06:47:10 -0500 Date: Wed, 22 Feb 2017 12:47:06 +0100 From: Petr Mladek To: Linus Torvalds Cc: Sergey Senozhatsky , Steven Rostedt , Peter Zijlstra , linux-kernel@vger.kernel.org Subject: [GIT PULL] printk for 4.11 Message-ID: <20170222114705.GA30336@linux.suse> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk.git for-linus to receive printk queue for 4.11 merge window: ========== - Add Petr Mladek, Sergey Senozhatsky as printk maintainers, and Steven Rostedt as the printk reviewer. This idea came up after the discussion about printk issues at Kernel Summit. It was formulated and discussed at lkml[1]. - Extend a lock-less NMI per-cpu buffers idea to handle recursive printk() calls by Sergey Senozhatsky[2]. It is the first step in sanitizing printk as discussed at Kernel Summit. The change allows to see messages that would normally get ignored or would cause a deadlock. Also it allows to enable lockdep in printk(). This already paid off. The testing in linux-next helped to discover two old problems that were hidden before[3][4]. - Remove unused parameter by Sergey Senozhatsky. Clean up after a past change. [1] http://lkml.kernel.org/r/1481798878-31898-1-git-send-email-pmladek@suse.com [2] http://lkml.kernel.org/r/20161227141611.940-1-sergey.senozhatsky@gmail.com [3] http://lkml.kernel.org/r/20170215044332.30449-1-sergey.senozhatsky@gmail.com [4] http://lkml.kernel.org/r/20170217015932.11898-1-sergey.senozhatsky@gmail.com ------------------------------------------------- Petr Mladek (1): MAINTAINERS: Add printk maintainers Sergey Senozhatsky (9): printk: use vprintk_func in vprintk() printk: rename nmi.c and exported api printk: introduce per-cpu safe_print seq buffer printk: always use deferred printk when flush printk_safe lines printk: report lost messages in printk safe/nmi contexts printk: use printk_safe buffers in printk printk: remove zap_locks() function printk: convert the rest to printk-safe printk: drop call_console_drivers() unused param MAINTAINERS | 8 + include/linux/printk.h | 21 ++- init/Kconfig | 16 +- init/main.c | 2 +- kernel/kexec_core.c | 2 +- kernel/panic.c | 4 +- kernel/printk/Makefile | 2 +- kernel/printk/internal.h | 79 +++++---- kernel/printk/nmi.c | 291 --------------------------------- kernel/printk/printk.c | 232 ++++++++++++-------------- kernel/printk/printk_safe.c | 385 ++++++++++++++++++++++++++++++++++++++++++++ lib/nmi_backtrace.c | 2 +- 12 files changed, 568 insertions(+), 476 deletions(-) delete mode 100644 kernel/printk/nmi.c create mode 100644 kernel/printk/printk_safe.c Best Regards, Petr Mladek