
5 Mar
2019
5 Mar
'19
7:03 p.m.
On 3/5/19 12:50 PM, matthias.bgg@kernel.org wrote:
From: Matthias Brugger mbrugger@suse.com
Function term_read_reply tries to read from the serial console until the end_char was read. This can hang forever if we are, for some reason, not be able to read the full response (e.g. serial buffer too small, frame error). This patch moves the timeout detection into term_read_reply to assure we will make progress.
Fixes: 6bb591f704 ("efi_loader: query serial console size reliably") Signed-off-by: Matthias Brugger mbrugger@suse.com
Reviewed-by: Heinrich Schuchardt xypron.glpk@gmx.de