From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Arend van Spriel" Subject: Re: brcm80211 breakage.. Date: Thu, 12 Jan 2012 20:46:31 +0100 Message-ID: <4F0F3897.7040200@broadcom.com> References: <4F0D6806.4080201@broadcom.com> <4F0DC030.6090500@lwfinger.net> <4F0E3B7E.8040005@lwfinger.net> <4F0E5E57.9060204@lwfinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Cc: "Larry Finger" , "Alwin Beukers" , "Roland Vossen" , "John W. Linville" , "Network Development" , "Franky (Zhenhui) Lin" , =?ISO-8859-2?Q?Rafa=B3_Mi=B3ecki?= To: "Linus Torvalds" Return-path: Received: from mms2.broadcom.com ([216.31.210.18]:2974 "EHLO mms2.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755140Ab2ALTqr (ORCPT ); Thu, 12 Jan 2012 14:46:47 -0500 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On 01/12/2012 08:00 PM, Linus Torvalds wrote: > On Wed, Jan 11, 2012 at 11:13 PM, Linus Torvalds > wrote: >> >> All the BCMA changes make the revert somewhat non-trivial, could >> somebody who knows the code better please try to do it for me? It >> doesn't look complicated, and I can try to do it myself tomorrow if >> nobody else steps up, but I'd *really* prefer the guilty parties >> themselves to do it, ok? > > Since I had the hardware to test, I could work on this and try to > figure out exactly what went wrong in that commit. I was trying to get my hands on a card with SPROM to dig in and I still intend to get it because Apples are no pears. > The problem seems to be simple: the SPROM contents *have* to be read > as aligned 16-bit words. Anything else seems to return 0xff and just > fails the transaction. I was already wondering what aspect of the patch was causing the issue. The transaction size requirement seems likely and I was not aware. > I didn't check all the combinations, of course, so who knows what the > exact details are, but it does look like the sprom has very limited > pci decode and simply refuses to touch anything but the one case it > can handle. > > I'll send out a patch that seems to get things to a working state for > me. At least I have wireless connectivity again, I don't know if there > are some other problems remaining. > > Linus > Thanks for putting the effort into this in the middle of a merge window. Gr. AvS