Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757123AbcJPSH2 (ORCPT ); Sun, 16 Oct 2016 14:07:28 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:42293 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754005AbcJPSH0 (ORCPT ); Sun, 16 Oct 2016 14:07:26 -0400 X-Auth-Info: /PGoDo+6ikRkvaF8/UXXjmlXh1kpUpihPtFeNHv5mQFC2afOCxRb+jxMOhpggqso From: Andreas Schwab To: Paul Burton Cc: , Ralf Baechle , Tejun Heo , Sergey Senozhatsky , Jiri Slaby , Daniel Vetter , Ivan Delalande , Thierry Reding , Borislav Petkov , Jan Kara , Petr Mladek , , Joe Perches , Greg Kroah-Hartman , , Rob Herring , Andrew Morton , Frank Rowand , linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH v2] console: Don't prefer first registered if DT specifies stdout-path References: <20160809125010.14150-1-paul.burton@imgtec.com> <20160809151937.26118-1-paul.burton@imgtec.com> X-Yow: Is this my STOP?? Date: Sun, 16 Oct 2016 20:07:18 +0200 In-Reply-To: <20160809151937.26118-1-paul.burton@imgtec.com> (Paul Burton's message of "Tue, 9 Aug 2016 16:19:37 +0100") Message-ID: <87bmyk88x5.fsf@linux-m68k.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 775 Lines: 19 On Aug 09 2016, Paul Burton wrote: > Fix this by not automatically preferring the first registered console if > one is specified by the device tree. This allows consoles to be > registered but not enabled, and once the driver for the console selected > by stdout-path calls of_console_check() the driver will be added to the > list of preferred consoles before any other console has been enabled. > When that console is then registered via register_console() it will be > enabled as expected. This breaks the console on PowerMac. There is no output and it panics eventually. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."