Return-path: Received: from mail-ob0-f173.google.com ([209.85.214.173]:40296 "EHLO mail-ob0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423377Ab3CVX1c convert rfc822-to-8bit (ORCPT ); Fri, 22 Mar 2013 19:27:32 -0400 Received: by mail-ob0-f173.google.com with SMTP id dn14so4548691obc.18 for ; Fri, 22 Mar 2013 16:27:31 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <514a07c7.ZQz6MhmMaq58WJlA%Larry.Finger@lwfinger.net> References: <514a07c7.ZQz6MhmMaq58WJlA%Larry.Finger@lwfinger.net> Date: Sat, 23 Mar 2013 00:27:30 +0100 Message-ID: (sfid-20130323_002745_217498_DB6E8562) Subject: Re: [PATCH] b43: A fix for DMA transmission sequence errors From: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= To: Larry Finger Cc: John W Linville , isedev@gmail.com, chris@cvine.freeserve.co.uk, Michael Buesch , b43-dev@lists.infradead.org, linux-wireless@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: 2013/3/20 Larry Finger : > From: Iestyn C. Elfick > > Intermittently, b43 will report "Out of order TX status report on DMA ring". > When this happens, the driver must be reset before communication can resume. > The cause of the problem is believed to be an error in the closed-source > firmware; however, all versions of the firmware are affected. > > This change uses the observation that the expected status is always 2 less > than the observed value, and supplies a fake status report to skip one > header/data pair. > > Not all devices suffer from this problem, but it can occur several times > per second under heavy load. As each occurence kills the unmodified driver, > this patch makes if possible for the affected devices to function. The patch > logs only the first instance of the reset operation to prevent spamming > the logs. > > Tested-by: Chris Vine > Signed-off-by: Larry Finger > Cc: Stable I promised to perform some tests, unfortunately I didn't find enough time last weekend. Today I've plugged my 14e4:4315 and (unfortunately?) it's working pretty well. I hoped to reproduce some problems but failed to do so. I was transmitting for an hour with average speed 11MiB/s and didn't notice any DMA issues. I was using iperf with interval of 60 seconds and only 3 results showed some problems (8.5MiB/s, 2.5MiB/s, 4.5MiB/s). No disconnections however and no DMA errors. I just got "Group rekeying completed..." in wpa_supplicant. So as I can't reproduce this, I can't find any other fix for this issue, and there's no reason to stop this workaround. I'll just apply it and test over weekend to check for any regressions, but they are highly unlikely. -- RafaƂ