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:	Wed, 2 Apr 2008 09:56:59 -0700
From:	David Brownell <david-b@...bell.net>
To:	Mark Lord <lkml@....ca>
Cc:	stern@...land.harvard.edu, pavel@...e.cz, oliver@...kum.org,
	linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
	jikos@...e.cz, gregkh@...e.de, akpm@...ux-foundation.org
Subject: Re: [PATCH] usb ehci_iaa_watchdog fix

On Wednesday 02 April 2008, Mark Lord wrote:
> David Brownell wrote:
> >> Also, check out the thread on LKML started by Tino Keitel.  He had
> >> similar problems and found that reverting commit
> >> e82cc1288fa57857c6af8c57f3d07096d4bcd9d9 fixed them.
> > 
> > And try the change I suggested there:  taking the
> > HC_IS_RUNNING test out of ehci_iaa_watchdog().
> ..
> 
> Yup, that does indeed cure it.

Given your immediately-preceding experience, I'll wait for a
bit more confirmation ... but this seems like a candidate to
merge while 2.6.25 still hasn't frozen!!


> Here's a patch, in case you didn't already generate one:

I hadn't; thanks.

 
> Signed-off-by: Mark Lord <mlord@...ox.com>
> 
> --- rc8/drivers/usb/host/ehci-hcd.c	2008-03-11 11:18:40.000000000 -0400
> +++ linux/drivers/usb/host/ehci-hcd.c	2008-04-02 12:16:40.000000000 -0400
> @@ -289,9 +289,7 @@
>  	 * (a) SMP races against real IAA firing and retriggering, and
>  	 * (b) clean HC shutdown, when IAA watchdog was pending.
>  	 */
> -	if (ehci->reclaim
> -			&& !timer_pending(&ehci->iaa_watchdog)
> -			&& HC_IS_RUNNING(ehci_to_hcd(ehci)->state)) {
> +	if (ehci->reclaim && !timer_pending(&ehci->iaa_watchdog)) {
>  		u32 cmd, status;
>  
>  		/* If we get here, IAA is *REALLY* late.  It's barely
> 


--
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