kernel hang when initializing usb

2013-07-11 Thread Rao, Ravi
g this hang Below is the email in which Tony had mentioned that he is also seeing the hang even after applying all the prescribed patches. Tony were you able to find the cause for the hang ? If so can you please share what was the fix that you made. >>>> Re: [ 011/108] powerpc/usb:

Re: [PATCH] powerpc/usb: fix bug of kernel hang when initializing usb

2012-02-18 Thread Sergei Shtylyov
Hello. On 16-02-2012 14:02, Shengzhou Liu wrote: If USB UTMI PHY is not enable, writing to portsc register will lead to kernel hang during boot up. Signed-off-by: Shengzhou Liu [...] diff --git a/drivers/usb/host/ehci-fsl.h b/drivers/usb/host/ehci-fsl.h index bdf43e2..0e400c2 100644 --- a

RE: [PATCH] powerpc/usb: fix bug of kernel hang when initializing usb

2012-02-16 Thread Pan Jiafei-B37022
werpc/usb: fix bug of kernel hang when > initializing usb > > On Fri, 2012-02-17 at 03:20 +, Pan Jiafei-B37022 wrote: > > FYI, I once fixed this issue when backport P5020 BSP for WR Linux, The > > following is the patch which I have submitted to linuxbj-internal.

RE: [PATCH] powerpc/usb: fix bug of kernel hang when initializing usb

2012-02-16 Thread Pan Jiafei-B37022
werpc/usb: fix bug of kernel hang when > initializing usb > > On Fri, 2012-02-17 at 03:20 +, Pan Jiafei-B37022 wrote: > > FYI, I once fixed this issue when backport P5020 BSP for WR Linux, The > > following is the patch which I have submitted to linuxbj-internal.

RE: [PATCH] powerpc/usb: fix bug of kernel hang when initializing usb

2012-02-16 Thread Pan Jiafei-B37022
.@vger.kernel.org; linuxppc-dev@lists.ozlabs.org > Subject: RE: [PATCH] powerpc/usb: fix bug of kernel hang when > initializing usb > > > > -Original Message- > > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > > Sent: Friday, February 1

RE: [PATCH] powerpc/usb: fix bug of kernel hang when initializing usb

2012-02-16 Thread Benjamin Herrenschmidt
On Fri, 2012-02-17 at 03:20 +, Pan Jiafei-B37022 wrote: > FYI, I once fixed this issue when backport P5020 BSP for WR Linux, The > following is the patch which I have submitted to linuxbj-internal. Should I just apply this to upstream ? Cheers, Ben. > From: linuxbj-internal-boun...@linux.fre

RE: [PATCH] powerpc/usb: fix bug of kernel hang when initializing usb

2012-02-16 Thread Liu Shengzhou-B36685
> -Original Message- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > Sent: Friday, February 17, 2012 8:03 AM > To: Liu Shengzhou-B36685 > Cc: linux-...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH] powerpc/usb: fix bug o

Re: [PATCH] powerpc/usb: fix bug of kernel hang when initializing usb

2012-02-16 Thread Benjamin Herrenschmidt
On Fri, 2012-02-17 at 09:58 +1100, Benjamin Herrenschmidt wrote: > On Thu, 2012-02-16 at 18:02 +0800, Shengzhou Liu wrote: > > If USB UTMI PHY is not enable, writing to portsc register will lead to > > kernel hang during boot up. > > > > Signed-off-by: Shengzhou Liu > > --- > > Apply for master b

Re: [PATCH] powerpc/usb: fix bug of kernel hang when initializing usb

2012-02-16 Thread Benjamin Herrenschmidt
On Thu, 2012-02-16 at 18:02 +0800, Shengzhou Liu wrote: > If USB UTMI PHY is not enable, writing to portsc register will lead to > kernel hang during boot up. > > Signed-off-by: Shengzhou Liu > --- > Apply for master branch of > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.gi

Re: [PATCH] powerpc/usb: fix bug of kernel hang when initializing usb

2012-02-16 Thread Greg KH
On Thu, Feb 16, 2012 at 09:39:15PM +1100, Benjamin Herrenschmidt wrote: > On Thu, 2012-02-16 at 18:02 +0800, Shengzhou Liu wrote: > > If USB UTMI PHY is not enable, writing to portsc register will lead to > > kernel hang during boot up. > > Thanks, I'll try that tomorrow. > > Greg, you're picking

Re: [PATCH] powerpc/usb: fix bug of kernel hang when initializing usb

2012-02-16 Thread Benjamin Herrenschmidt
On Thu, 2012-02-16 at 18:02 +0800, Shengzhou Liu wrote: > If USB UTMI PHY is not enable, writing to portsc register will lead to > kernel hang during boot up. Thanks, I'll try that tomorrow. Greg, you're picking that up or should I ? Cheers, Ben. > Signed-off-by: Shengzhou Liu > --- > Apply fo

[PATCH] powerpc/usb: fix bug of kernel hang when initializing usb

2012-02-16 Thread Shengzhou Liu
If USB UTMI PHY is not enable, writing to portsc register will lead to kernel hang during boot up. Signed-off-by: Shengzhou Liu --- Apply for master branch of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git Tested on P5020DS, the issue was reported by Benjamin Herrenschmidt