From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751154AbdEBNwi (ORCPT ); Tue, 2 May 2017 09:52:38 -0400 Received: from mx2.suse.de ([195.135.220.15]:55122 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750744AbdEBNwg (ORCPT ); Tue, 2 May 2017 09:52:36 -0400 Date: Tue, 2 May 2017 15:52:34 +0200 From: Petr Mladek To: Linus Torvalds Cc: Sergey Senozhatsky , Steven Rostedt , Peter Zijlstra , Aleksey Makarov , linux-kernel@vger.kernel.org Subject: [GIT PULL] printk for 4.12 Message-ID: <20170502135234.GC31170@pathway.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus, please pull the latest printk changes from git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk.git for-linus ========== - There is a situation when early console is not deregistered because the preferred one matches a wrong entry. It caused messages to appear twice. This is 2nd attempt to fix it. The first one was wrong, see the commit c6c7d83b9c9e6a8b3e6 ('Revert "console: don't prefer first registered if DT specifies stdout-path"'). The fix is coupled with some small code clean up. Well, the console registration code would deserve a big one. We need to think about it. - Do not lose information about the preemtive context when the console semaphore is re-taken. - Do not block CPU hotplug when someone else is already pushing messages to the console. ---------------------------------------------------------------- Aleksey Makarov (3): printk: fix name/type/scope of preferred_console var printk: rename selected_console -> preferred_console printk: fix double printing with earlycon Petr Mladek (1): printk: Correctly handle preemption in console_unlock() Sergey Senozhatsky (1): printk: use console_trylock() in console_cpu_notify() kernel/printk/printk.c | 81 ++++++++++++++++++++++++++++++++++---------------- 1 file changed, 56 insertions(+), 25 deletions(-) Best Regards, Petr Mladek