linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Regression] powerpc/usb: fix issue of CPU halt when missing USB PHY clock
@ 2012-02-27 16:10 Ben Collins
  2012-02-28 10:09 ` Liu Shengzhou-B36685
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Collins @ 2012-02-27 16:10 UTC (permalink / raw)
  To: Shengzhou Liu; +Cc: linux-kernel

Hello,

The patch that checks the CTRL_PHY_CLK_VALID bit is failing incorrectly on my system (P4080DS). If I revert it, my system goes back to working correctly, but as is, it fails and wont allow my USB to work properly.

I've tried adding a loop to poll this bit 10,000 times with a udelay(1) on each loop and it still fails, so it doesn't appear to be a timing issue.

Is this check valid for all systems?

--
Bluecherry: http://www.bluecherrydvr.com/
SwissDisk : http://www.swissdisk.com/
Ubuntu    : http://www.ubuntu.com/
My Blog   : http://ben-collins.blogspot.com/


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [Regression] powerpc/usb: fix issue of CPU halt when missing USB PHY clock
  2012-02-27 16:10 [Regression] powerpc/usb: fix issue of CPU halt when missing USB PHY clock Ben Collins
@ 2012-02-28 10:09 ` Liu Shengzhou-B36685
  0 siblings, 0 replies; 2+ messages in thread
From: Liu Shengzhou-B36685 @ 2012-02-28 10:09 UTC (permalink / raw)
  To: Ben Collins; +Cc: linux-kernel


> -----Original Message-----
> From: Ben Collins [mailto:benmcollins13@gmail.com]
> Sent: Tuesday, February 28, 2012 12:11 AM
> To: Liu Shengzhou-B36685
> Cc: linux-kernel@vger.kernel.org
> Subject: [Regression] powerpc/usb: fix issue of CPU halt when missing
> USB PHY clock
> 
> Hello,
> 
> The patch that checks the CTRL_PHY_CLK_VALID bit is failing incorrectly
> on my system (P4080DS). If I revert it, my system goes back to working
> correctly, but as is, it fails and wont allow my USB to work properly.
> 
> I've tried adding a loop to poll this bit 10,000 times with a udelay(1)
> on each loop and it still fails, so it doesn't appear to be a timing
> issue.
> 
> Is this check valid for all systems?
> 

This check is valid for P3060/P3041/P5020/P1023 platform.
on some platforms, there is this bit, but not on other some platforms.
For P4080, just revert this patch, then USB is able to work.
I'll post a new patch to fix it after getting some confirmations from silicon team.

Thanks,
Shengzhou



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-28 10:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-27 16:10 [Regression] powerpc/usb: fix issue of CPU halt when missing USB PHY clock Ben Collins
2012-02-28 10:09 ` Liu Shengzhou-B36685

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).