Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935220AbcJRS67 (ORCPT ); Tue, 18 Oct 2016 14:58:59 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:54483 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932426AbcJRS66 (ORCPT ); Tue, 18 Oct 2016 14:58:58 -0400 X-Auth-Info: ePpnGbAp6NdtG6v4C6sAub+JNGt+F8vXNdlt+0UYxszPyjsk8Rll876nJAv/bhqa From: Andreas Schwab To: Paul Burton Cc: , Andrew Morton , Petr Mladek , "Sergey Senozhatsky" , Borislav Petkov , Tejun Heo , Subject: Re: [PATCH] console: use first console if stdout-path device doesn't appear References: <87oa2ij2mq.fsf@linux-m68k.org> <20161018091852.14776-1-paul.burton@imgtec.com> X-Yow: Someone is DROOLING on my collar!! Date: Tue, 18 Oct 2016 20:58:49 +0200 In-Reply-To: <20161018091852.14776-1-paul.burton@imgtec.com> (Paul Burton's message of "Tue, 18 Oct 2016 10:18:52 +0100") Message-ID: <87mvi1cwly.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: 964 Lines: 23 On Okt 18 2016, Paul Burton wrote: > If a device tree specified a preferred device for kernel console output > via the stdout-path or linux,stdout-path chosen node properties there's > no guarantee that it will have specified a device for which we have a > driver. It may also be the case that we do have a driver but it doesn't > call of_console_check() to register as a preferred console (eg. offb > driver as used on powermac systems). In these cases try to ensure that > we provide some console output by enabling the first console in the > console_drivers list. > > As I don't have access to an affected system this has only been build > tested - testing would be most appreciated. Unfortunately that doesn't work. The initial console still cannot be opened. 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."