Thread (26 messages) 26 messages, 6 authors, 2022-01-25

Re: earlyprintk=xdbc seems broken

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-12-17 15:19:27
Also in: lkml

On Fri, Dec 17, 2021 at 02:55:07PM +0100, Peter Zijlstra wrote:
On Fri, Dec 17, 2021 at 01:01:43PM +0200, Mathias Nyman wrote:
quoted
I can reproduce this.
Looks like problems started when driver converted to readl_poll_timeout_atomic() in:

796eed4b2342 usb: early: convert to readl_poll_timeout_atomic()
I can confirm, reverting that solves the boot hang, things aren't quite
working for me though.
quoted
Seems to hang when read_poll_timeout_atomic() calls ktime_* functions.
Maybe  it's too early for ktime.
It certainly is, using ktime for delay loops sounds daft to me anyhow.
It was a "find a pattern and replace it with a function call" type of
cleanup series.  It's obviously wrong, I will go revert it now.

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help