Return-path: Received: from smtp1.linux-foundation.org ([140.211.169.13]:46544 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965876Ab0BZUHZ (ORCPT ); Fri, 26 Feb 2010 15:07:25 -0500 Date: Fri, 26 Feb 2010 12:06:49 -0800 (PST) From: Linus Torvalds To: Larry Finger cc: "John W. Linville" , "David S. Miller" , wireless , Greg Kroah-Hartman Subject: Re: Make b43 driver fall back gracefully to PIO mode after fatal DMA errors In-Reply-To: Message-ID: References: <4B881C70.9030004@lwfinger.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-wireless-owner@vger.kernel.org List-ID: On Fri, 26 Feb 2010, Linus Torvalds wrote: > On Fri, 26 Feb 2010, Larry Finger wrote: > > > > Incidentally, we have learned today that the fault does not occur when running > > MMIO traces, and that it is not SMP related. > > Timing? I guess MMIO tracing will slow down the actual command setup part > a lot. Adding a "udelay(10)" to the "b43_write[16|32]()" functions doesn't make any difference on the machine I have access to, though. Ill happily test other ideas or patches. Automatically falling back to PIO makes things work, but I'd obviously _much_ rather have working DMA. Linus