Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp920771ybi; Fri, 7 Jun 2019 21:44:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqxOTrD2IdLJHCGIVa1oaLCjEYC3VMVY/VZX9r2f5NYEaOLR6w2+B1yQ8bHB3JpuIf4HaMx7 X-Received: by 2002:a17:902:6b07:: with SMTP id o7mr38264201plk.180.1559969090231; Fri, 07 Jun 2019 21:44:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559969090; cv=none; d=google.com; s=arc-20160816; b=JG8LuileJVVoHISm6XvnnfwgYixgDeYSjX5zwndFdevtn78xL9Ud6s1B7c11QD86X4 v2nFTjI5fEXxmayiutEHj1aoK654sHiWpaKku2i3//m64PKRevdf6efjnbGZ/pBZsAS+ euPrPJuEczkmwM5Tvl8eyQ/Um1GqUrNvWFePQit2d3eJ7JDi60K4hFxeyKvwkad8q39t Y7qXlANsV/szIouiWuA9Bk7Xr3FowVNrIY49FC65k3B/0/JkvyME4PnnrunXTMeR++1Z G6K09HyxMf161PVjsLyrs/aMXQ4QJB7jGO4T3gA0nPkzAsAGCaDQckaqQb95/ue8ZsQe jAfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=95QihignK/LP06VoO1yNYYyVQSLT8m+cSAwWXaUWoOY=; b=v8NPuIS4tCWxhUBOew+RXtm3wyf9OKWBniIfQ7wDbNGSwpHtxgznNLeeqCPwQUOThl VLt79PY+ClQvVThShp3Rn3AhW1LppynT5pU77mNJOg1iFkacdDbrbZrW50dRQ4JQBiUi fQiFDN+SME6FZCIL/mHPOKTKcDuF/kW7jnRPPCnLtB9VJ2DWhWssCMzoLFzRoHVyYvFt nL/dmaLqvjLE5YcTN62Q1YD+yB4EqYsaDs5tGeyH5OwtYaHBf74S8/ubhYC4SXOqAMWo dYIryBvrn9Euao2wE6Jl8c0erLOaaOrwk03PlOyu9O06Ma875dAr4vNrD0jhRaVRAXCV AXgg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z9si3713131pgh.21.2019.06.07.21.44.19; Fri, 07 Jun 2019 21:44:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726448AbfFHEWH (ORCPT + 99 others); Sat, 8 Jun 2019 00:22:07 -0400 Received: from gate.crashing.org ([63.228.1.57]:51244 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725308AbfFHEWG (ORCPT ); Sat, 8 Jun 2019 00:22:06 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id x584LPir014050; Fri, 7 Jun 2019 23:21:26 -0500 Message-ID: <7697a9d10777b28ae79fdffdde6d0985555f6310.camel@kernel.crashing.org> Subject: Re: [BISECTED REGRESSION] b43legacy broken on G4 PowerBook From: Benjamin Herrenschmidt To: Larry Finger , Aaro Koskinen , Christoph Hellwig , Christian Zigotzky , Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Date: Sat, 08 Jun 2019 14:21:23 +1000 In-Reply-To: <73da300c-871c-77ac-8a3a-deac226743ef@lwfinger.net> References: <20190605225059.GA9953@darkstar.musicnaut.iki.fi> <73da300c-871c-77ac-8a3a-deac226743ef@lwfinger.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org > Please try the attached patch. I'm not really pleased with it and I will > continue to determine why the fallback to a 30-bit mask fails, but at least this > one works for me. Your patch only makes sense if the device is indeed capable of addressing 31-bits. So either the driver is buggy and asks for a too small mask in which case your patch is ok, or it's not and you're just going to cause all sort of interesting random problems including possible memory corruption. Cheers, Ben.