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

2012-08-21 Thread Alan Stern
On Mon, 20 Aug 2012, Kumar Gala wrote: Subject: Re: [PATCH 2/2] powerpc/usb: fix bug of CPU hang when missing USB PHY clock On Aug 10, 2012, at 5:48 AM, Shengzhou Liu wrote: when missing USB PHY clock, kernel booting up will hang during USB initialization. We should check

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

2012-08-20 Thread Kumar Gala
...@linuxfoundation.org Subject: Re: [PATCH 2/2] powerpc/usb: fix bug of CPU hang when missing USB PHY clock On Aug 10, 2012, at 5:48 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

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

2012-08-20 Thread Tabi Timur-B04825
On Fri, Aug 10, 2012 at 5:48 AM, Shengzhou Liu shengzhou@freescale.com wrote: + for (timeout = 1000; timeout 0; timeout--) { + /* check PHY_CLK_VALID to get phy clk valid */ + if (in_be32(non_ehci + FSL_SOC_USB_CTRL) +

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

2012-08-12 Thread Liu Shengzhou-B36685
-Original Message- From: Kumar Gala [mailto:ga...@kernel.crashing.org] Sent: Friday, August 10, 2012 9:50 PM To: Liu Shengzhou-B36685 Cc: linuxppc-dev@lists.ozlabs.org list; linux-...@vger.kernel.org; gre...@linuxfoundation.org Subject: Re: [PATCH 2/2] powerpc/usb: fix bug of CPU

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

2012-08-10 Thread Kumar Gala
On Aug 10, 2012, at 5:48 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 shengzhou@freescale.com ---