Re: [PATCH AUTOSEL 5.4 31/80] kgdb: Make "kgdbcon" work properly with "kgdb_earlycon"

2020-10-27 Thread Daniel Thompson
On Mon, Oct 26, 2020 at 07:54:27PM -0400, Sasha Levin wrote: > From: Douglas Anderson > > [ Upstream commit b18b099e04f450cdc77bec72acefcde7042bd1f3 ] > > On my system the kernel processes the "kgdb_earlycon" parameter before > the "kgdbcon" parameter. When we setup "kgdb_earlycon" we'll end

[PATCH AUTOSEL 5.4 31/80] kgdb: Make "kgdbcon" work properly with "kgdb_earlycon"

2020-10-26 Thread Sasha Levin
From: Douglas Anderson [ Upstream commit b18b099e04f450cdc77bec72acefcde7042bd1f3 ] On my system the kernel processes the "kgdb_earlycon" parameter before the "kgdbcon" parameter. When we setup "kgdb_earlycon" we'll end up in kgdb_register_callbacks() and "kgdb_use_con" won't have been set yet