Rafał Miłecki dfcf8a8dbe ar71xx: fix nondeterministic hangs during bootconsole/console handover
Reconfiguring the UART when the FIFO is not empty may cause the boot to
hang. This hang is extremely suspectible to timing differences; recompiling
the kernel with the same configuration, but different UTS_VERSION
timestamps can yield images that hang more or less often. Sometimes images
are produced that hang reproducibly.

This patch should also make it into one of the next linux-stable releases,
but it's better to get this fixed as soon as possible.

Fixes #21773, #21857.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

Backport of r49156

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-04-20 06:05:56 +00:00
..
2015-04-11 10:28:06 +00:00
2015-05-28 13:45:33 +00:00
2015-05-27 14:57:38 +00:00
2015-03-13 03:02:34 +00:00
2015-05-29 11:28:33 +00:00
2016-02-08 09:22:12 +00:00
2015-06-17 10:22:04 +00:00
2015-05-29 11:28:20 +00:00
2015-05-27 15:34:30 +00:00
2016-04-19 21:01:34 +00:00
2015-05-21 19:32:46 +00:00
2015-03-28 13:20:52 +00:00