Re: [PATCH v2] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-09-18 Thread Greg KH
On Tue, Sep 18, 2012 at 12:35:09AM -0500, Kumar Gala wrote: > > On Aug 22, 2012, at 5:17 AM, Shengzhou Liu wrote: > > > when missing USB PHY clock, kernel booting up will hang during USB > > initialization. We should check USBGP[PHY_CLK_VALID] bit to avoid > > CPU hanging in this case. > > > > S

RE: [PATCH v2] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-09-18 Thread Liu Shengzhou-B36685
> -Original Message- > From: Kumar Gala [mailto:ga...@kernel.crashing.org] > Sent: Tuesday, September 18, 2012 1:35 PM > To: Greg KH > Cc: Liu Shengzhou-B36685; linuxppc-...@lists.ozlabs.org list; linux- > u...@vger.kernel.org > Subject: Re: [PATCH v2] powerpc/usb

Re: [PATCH v2] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-09-17 Thread Kumar Gala
On Aug 22, 2012, at 5:17 AM, Shengzhou Liu wrote: > when missing USB PHY clock, kernel booting up will hang during USB > initialization. We should check USBGP[PHY_CLK_VALID] bit to avoid > CPU hanging in this case. > > Signed-off-by: Shengzhou Liu > --- > v2 changes: use spin_event_timeout() in

[PATCH v2] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-08-22 Thread Shengzhou Liu
when missing USB PHY clock, kernel booting up will hang during USB initialization. We should check USBGP[PHY_CLK_VALID] bit to avoid CPU hanging in this case. Signed-off-by: Shengzhou Liu --- v2 changes: use spin_event_timeout() instead. drivers/usb/host/ehci-fsl.c | 58 ++