[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87y40zd60d.fsf@linux-m68k.org>
Date: Fri, 04 Nov 2016 09:05:38 +0100
From: Andreas Schwab <schwab@...ux-m68k.org>
To: Paul Burton <paul.burton@...tec.com>
Cc: Larry Finger <Larry.Finger@...inger.net>,
Michael Ellerman <mpe@...erman.id.au>,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Borislav Petkov <bp@...e.de>, Petr Mladek <pmladek@...e.com>,
Tejun Heo <tj@...nel.org>, <linux-kernel@...r.kernel.org>,
<linuxppc-dev@...ts.ozlabs.org>
Subject: Re: [PATCH v3] console: use first console if stdout-path device doesn't appear
On Nov 03 2016, Paul Burton <paul.burton@...tec.com> 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 usable registered console, which we keep track of
> with the of_fallback_console variable. Affected systems will enable
> their console later than they did prior to commit 05fd007e4629
> ("console: don't prefer first registered if DT specifies stdout-path")
> but should otherwise produce the same output.
>
> Tested in QEMU with a PowerPC pseries_defconfig kernel.
Unfortunately, that still doesn't work on PowerMac.
Andreas.
--
Andreas Schwab, schwab@...ux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Powered by blists - more mailing lists