Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934401AbcJQKeN (ORCPT ); Mon, 17 Oct 2016 06:34:13 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:28371 "EHLO imgpgp01.kl.imgtec.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932335AbcJQKeE (ORCPT ); Mon, 17 Oct 2016 06:34:04 -0400 X-PGP-Universal: processed; by imgpgp01.kl.imgtec.org on Mon, 17 Oct 2016 11:33:39 +0100 From: Paul Burton To: Andreas Schwab 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 , Subject: Re: [PATCH v2] console: Don't prefer first registered if DT specifies stdout-path Date: Mon, 17 Oct 2016 11:33:55 +0100 Message-ID: <4033254.tBrl4yKcsP@np-p-burton> Organization: Imagination Technologies User-Agent: KMail/5.3.2 (Linux/4.7.6-1-ARCH; KDE/5.27.0; x86_64; ; ) In-Reply-To: <87bmyk88x5.fsf@linux-m68k.org> References: <20160809125010.14150-1-paul.burton@imgtec.com> <20160809151937.26118-1-paul.burton@imgtec.com> <87bmyk88x5.fsf@linux-m68k.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3065225.SPOVmq47Dl"; micalg=pgp-sha256; protocol="application/pgp-signature" X-Originating-IP: [10.100.200.11] X-ESG-ENCRYPT-TAG: 1cc78754 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1908 Lines: 48 --nextPart3065225.SPOVmq47Dl Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Sunday, 16 October 2016 20:07:18 BST Andreas Schwab wrote: > 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. Hi Andreas, Could you share the device tree from your system? Thanks, Paul --nextPart3065225.SPOVmq47Dl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIcBAABCAAGBQJYBKkTAAoJEIIg2fppPBxl1oAP/RAIYEhMTK2tf/pX7/5z4Y4m x2cl84qdY844A2UNXEP89g3CuqMaEefDBSU/8HKitoCl+Cu+bR2RKQPYBiiVNTnv 77tgOCK1J4IYwqZi0xT+QcmUwAGvJ69+HdiXorIgzPWzXqgAPBql75mOtQMoTXZy XVdpHnW2GVwV5kRdEG0HalLjMvNTh6hLAMK2YDVdyuV0+Ox8XPPTXskmMqHb092m ATVfilJ5x8AHQIA7EHuYA72lPLEFE8aokeO317EH3k0GL2cUDTh1/IqXYvrS2g/f BMcAzkXujR53jp/8PGztyEWEzjToc7p2dapQ8dmqWId965D3CUdO9y279EdUUUmV MvI2HLzX1joW5W6MMBH3ts1QZVrtHkb8cSoudSgbyhY5+TR3GCJ6li5e4FIduLFp Ttl5YoNWHZdylSEXA6vY2ZKdzcAONz481tJIwaabEtbktPiTWrl95Vc+X+ejC7up 3/50FdPlpt31NuGaqNMiu2AOB2NIxRMazxDhrlf7ee3UEve0xsRy9UjJrl3lP1iQ 6sJhRUhaqBk92cvP/HV5HCWhRUcQmyicUMJB5JTYv0zELxJQSGtq9eXAgv7q+E5J 3jRTAIZ3chWxUona9nMiu5Q1jgyhDcmBKJatFGilcTzHi0fLijdOTMgq4woC+biW Yr7i8EOdJDRYShgWsxKz =hh/A -----END PGP SIGNATURE----- --nextPart3065225.SPOVmq47Dl--