lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 24 Feb 2012 16:45:50 +0200
From:	Felipe Balbi <balbi@...com>
To:	Liu Shengzhou-B36685 <B36685@...escale.com>
Cc:	"balbi@...com" <balbi@...com>, "Eibach, Dirk" <Eibach@...ys.de>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
	"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
	"stern@...land.harvard.edu" <stern@...land.harvard.edu>
Subject: Re: Commit 529febe breaks usb on Freescale P1022

On Fri, Feb 24, 2012 at 10:27:36AM +0000, Liu Shengzhou-B36685 wrote:
> 
> > -----Original Message-----
> > From: Felipe Balbi [mailto:balbi@...com]
> > Sent: Friday, February 24, 2012 6:15 PM
> > To: Eibach, Dirk
> > Cc: balbi@...com; Liu Shengzhou-B36685; linux-kernel@...r.kernel.org;
> > gregkh@...uxfoundation.org; linux-usb@...r.kernel.org;
> > stern@...land.harvard.edu
> > Subject: Re: Commit 529febe breaks usb on Freescale P1022
> > 
> > Hi,
> > 
> > On Fri, Feb 24, 2012 at 11:11:46AM +0100, Eibach, Dirk wrote:
> > >
> > >
> > > > > This commit introduces a check for the USB PHY clock.
> > > > > Problem is that CTRL_PHY_CLK_VALID bit seems not to be
> > > > present on all
> > > > > Freescale ehci implementations, at least P1022 does not have it.
> > > > > So this check always fails and the driver never gets loaded.
> > > >
> > > > hmm, you would need a revision check on that function then.
> > >
> > > Since I have no idea which Freescale platforms provide this bit and
> > > which platforms don't, I suggest withdrawing this commit and do some
> > > investigation on Freescales side to do this properly.
> > 
> > Could be, but I would like to hear from Shengzhou first. Not sure what
> > Greg thinks though :-)
> > 
> > --
> > balbi
> 
> Hello,  
> 
> Just now I checked it on P1022, P1022 does not have this bit.
> So far what I know as below: 
>        - P1023/P3041/P5020 have this bit, and mentions it in RM.
>        - P3060/4080/PSC913x do have this bit, but not mentioned in RM.
>        - P1022 have no this bit, not mention it in RM.
> 
> I'm confirming this on more chips and will work out a new patch to fix it.

Ok, Greg will have the final word whether the original commit should be
reverted or we wait for a fix from you.

Happy hacking

-- 
balbi

Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ