From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Subject: [REGRESSION] "of: Fix premature bootconsole disable with 'stdout-path'" breaks console on tty0 Date: Mon, 16 Mar 2015 17:31:00 +0100 Message-ID: <55070544.9010908@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Sender: stable-owner@vger.kernel.org To: Grant Likely , Leif Lindholm , Rob Herring , Greg Kroah-Hartman , Peter Hurley Cc: stable , devicetree@vger.kernel.org List-Id: devicetree@vger.kernel.org Hi All, While updating my local working tree to 4.0-rc4 this morning I noticed that I no longer get console / kernel messages output on the hdmi output of my ARM board / on tty0 This is caused by: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/of?id=2fa645cb2703d9b3786d850db815414dfeefa51d Reverting this commit fixes this for me. What is happening here is that the "add_preferred_console("stdout-path", 0, NULL);" happens before the tty0 registers stopping tty0 from becoming part of the console list since there already is a preferred console at that time. This is an undesirable behavior change caused by the commit in question, on boards where there is both video output, and a serial console configured through stdout-path we want to have console output on both as we do not know which of the 2 will actually be hooked up by the user. Regards, Hans