MA-18775 system will hang about 3s when boot up kernel
authorzhang sanshan <pete.zhang@nxp.com>
Fri, 5 Mar 2021 02:15:34 +0000 (10:15 +0800)
committerJi Luo <ji.luo@nxp.com>
Thu, 13 May 2021 01:49:19 +0000 (09:49 +0800)
commit581fd80c340e4ea5d6ecf778ddf14b48309dc657
treed03a1b242371b72ff3061b8fd69b63096c43a8bd
parentca4258ca0702e082ad975e08ee33fd05d518b690
MA-18775 system will hang about 3s when boot up kernel

system will hang at line 1834 which will hold console_waiter
1833    /* Owner will clear console_waiter on hand off */
1834    while (READ_ONCE(console_waiter))
1835           cpu_relax();
1836    spin_release(&console_owner_dep_map, _THIS_IP_);

It means  console_lock_spinning_disable_and_check is not called in time.
So console_unlock may not called in time.
remove earlycon as workaround.

Change-Id: I5742c0ade6e289d1a96a67b27b4e55f2e1732187
Signed-off-by: zhang sanshan <pete.zhang@nxp.com>
(cherry picked from commit 74938a70b5fece2d1f3f60e74596f393a40e5713)
(cherry picked from commit 9be7570228e5ede0b1ab0b015210aeb56585e39c)
arch/arm/dts/imx8mp-evk.dts