]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
powerpc: Look for "stdout-path" when setting up legacy consoles
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 30 Nov 2018 03:54:09 +0000 (14:54 +1100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commitb992764e0a5e323d26b86820fa71d3855b86f10f
treee582c4c4f38a092f9c6d235de544204c1f756459
parentae6c5da12d05eebed9f6abc8c46172b8ebb45f2f
powerpc: Look for "stdout-path" when setting up legacy consoles

BugLink: https://bugs.launchpad.net/bugs/1837257
commit bf3d6afbb234156749b640b6c50f714967a85964 upstream.

Commit 78e5dfea84dc ("powerpc: dts: replace 'linux,stdout-path' with
'stdout-path'") broke the default console on a number of embedded
PowerPC systems, because it failed to also update the code in
arch/powerpc/kernel/legacy_serial.c to look for that property in
addition to the old one.

This fixes it.

Fixes: 78e5dfea84dc ("powerpc: dts: replace 'linux,stdout-path' with 'stdout-path'")
Cc: stable@vger.kernel.org # v4.17+
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/powerpc/kernel/legacy_serial.c