Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7927939ybi; Thu, 6 Jun 2019 03:59:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqxss+RpqLNfzgpmlq23x2vV+/IlzDbGfKTKRMKF54ANqhpjFdpBijuJ+dkpINGE2JuKTtI8 X-Received: by 2002:a17:902:aa88:: with SMTP id d8mr42661993plr.73.1559818757243; Thu, 06 Jun 2019 03:59:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559818757; cv=none; d=google.com; s=arc-20160816; b=CvWNkURMGMUAKmVrABDIOQtDq6KvetiBlarfn7crdIDcEJSqGNjQCUfNYtsxoo7Ei1 9e/rZykBmBX2YXYGEQXApDSrkPTxUDme5H8fCoj0k31UPY0afxNWdOxzRyepvXao203A Ig9xBPXEYUFqVsOUR5+sp3K/V2zmVrYC+x4t/t1j8dwszRAjc2WUacYVcgTeI5cY8p7f h+JE2MKgMm8RMDYWXki7z2hxmCi2CGcRxEH1pGJlfQsiWtCV8jJ2SQzlgM4H2sco+7zH WseUeczIIyX8IqeARccn5V+wEkX7cM4nxwmjhLV2ydsL/dvf91UA/OqO7xU25kC5l2xU dPWw== 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=ynV2TZ3nVVcUMm/fkpYi3DznebfC3D/+CeMLt/W2CKE=; b=YjAIyNqOVA3rEfVwWIbnAUfQ68iCs4OvtpsrldeKkHz/Ry3VrQ/lGFW+ELlt5YmuMs G/DHIKDH7JaPdiVImKVo0JpkvdIuJzmDSbDOjLFwvSyVsGxWRHSAZoAmfra96XZ4KMFF 4zqepOsiLaXQe9I4aFsdM9Pe64NfVP3kY8xUoUsDm8rABuWJCCD72A/0fFGAgYU/7LE0 rXzxOy/4xTi0bL9AEQcOWIVLD56zwphxhucrP3C1FTwunYkKU8s+jODPM/tR5ToCmYzJ at1BGT93Yr5Te7bNV6sPRtYB8edg4KfnyMtrelS5zaFp12qWWX8ePJlDAykg9CXbQZGU crww== 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 f22si1848889pgk.217.2019.06.06.03.59.01; Thu, 06 Jun 2019 03:59:17 -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 S1727552AbfFFK6K (ORCPT + 99 others); Thu, 6 Jun 2019 06:58:10 -0400 Received: from gate.crashing.org ([63.228.1.57]:37571 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725784AbfFFK6K (ORCPT ); Thu, 6 Jun 2019 06:58:10 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id x56Avni0032240; Thu, 6 Jun 2019 05:57:50 -0500 Message-ID: Subject: Re: [BISECTED REGRESSION] b43legacy broken on G4 PowerBook From: Benjamin Herrenschmidt To: Aaro Koskinen Cc: Christoph Hellwig , Christian Zigotzky , Michael Ellerman , Larry Finger , linuxppc-dev@lists.ozlabs.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 06 Jun 2019 20:57:49 +1000 In-Reply-To: References: <20190605225059.GA9953@darkstar.musicnaut.iki.fi> <20190606093149.GA11598@darkstar.musicnaut.iki.fi> 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 On Thu, 2019-06-06 at 20:56 +1000, Benjamin Herrenschmidt wrote: > On Thu, 2019-06-06 at 12:31 +0300, Aaro Koskinen wrote: > > Hi, > > > > On Thu, Jun 06, 2019 at 10:54:51AM +1000, Benjamin Herrenschmidt > > wrote: > > > On Thu, 2019-06-06 at 01:50 +0300, Aaro Koskinen wrote: > > > > Hi, > > > > > > > > When upgrading from v5.0 -> v5.1 on G4 PowerBook, I noticed WLAN > > > > does > > > > not work anymore: > > > > > > > > [ 42.004303] b43legacy-phy0: Loading firmware version 0x127, > > > > patch level 14 (2005-04-18 02:36:27) > > > > [ 42.184837] b43legacy-phy0 debug: Chip initialized > > > > [ 42.184873] b43legacy-phy0 ERROR: The machine/kernel does not > > > > support the required 30-bit DMA mask > > > > > > > > The same happens with the current mainline. > > > > > > How much RAM do you have ? > > > > The system has 1129 MB RAM. Booting with mem=1G makes it work. > > Wow... that's an odd amount. One thing we could possibly do is add code > to limit the amount of RAM when we detect that device.... Sent too quickly... I mean that *or* force swiotlb at 30-bits on those systems based on detecting the presence of that device in the device-tree. Cheers, Ben.