Re: earlyprintk=xdbc seems broken

From: Greg KH
Date: Fri Dec 17 2021 - 10:19:28 EST


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:
> > 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.
>
> > 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