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] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.0910240800440.8254-100000@netrider.rowland.org>
Date:	Sat, 24 Oct 2009 08:04:49 -0400 (EDT)
From:	Alan Stern <stern@...land.harvard.edu>
To:	Ozan Çağlayan <ozan@...dus.org.tr>
cc:	Laurent Pinchart <laurent.pinchart@...asonboard.com>,
	<linux-media@...r.kernel.org>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	USB list <linux-usb@...r.kernel.org>
Subject: Re: uvcvideo causes ehci_hcd to halt

On Sat, 24 Oct 2009, [UTF-8] Ozan Çağlayan wrote:

> Alan Stern wrote:
> > Okay, that proves this really is a timing bug in the hardware.  But we
> > can't go around putting 2-millisecond delays in the kernel!  Maybe you
> > can test to see if smaller delays will fix the problem.  If 50
> > microseconds or less doesn't work then it will be necessary to add a
> > new timer to ehci-hcd.
> >   
> 
> Okay I'll check with smaller values there but I couldn't get the meaning
> of "if 50 us or less doesn't work then it will be necessary to add a new
> timer to ehci-hcd".

If everything works with a delay of 50 us or less then we probably can
just put the udelay() statement into the kernel.  If it doesn't (for
example, if the delay has to be longer than 100 us) then we can't --
the delay would be too long.  Instead we will have to add a new timer.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ