Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751792AbdH1Q6Q (ORCPT ); Mon, 28 Aug 2017 12:58:16 -0400 Received: from smtprelay4.synopsys.com ([198.182.47.9]:48530 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751677AbdH1Q6O (ORCPT ); Mon, 28 Aug 2017 12:58:14 -0400 From: Eugeniy Paltsev To: Petr Mladek , Sergey Senozhatsky Cc: Steven Rostedt , Hans de Goede , linux-snps-arc@lists.infradead.org, linux-kernel@vger.kernel.org, Eugeniy Paltsev Subject: [PATCH v2 0/2] console: don't select first registered console if stdout-path used Date: Mon, 28 Aug 2017 19:58:05 +0300 Message-Id: <20170828165807.8408-1-Eugeniy.Paltsev@synopsys.com> X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 594 Lines: 17 Don't select first registered console if one is specified by the device tree via the stdout-path (or linux,stdout-path) chosen node properties. Eugeniy Paltsev (2): OF: move extern declarations of of_stdout inside ifdef console: don't select first registered console if stdout-path used Changes v1->v2: * Add exception for "tty0" console as current tty0 behavior is widely used by ARM and powerpc boards. include/linux/of.h | 4 ++- kernel/printk/printk.c | 84 +++++++++++++++++++++++++++++++++++++++++--------- 2 files changed, 72 insertions(+), 16 deletions(-) -- 2.9.3