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)