From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62BCFC43218 for ; Tue, 11 Jun 2019 06:58:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 409672089E for ; Tue, 11 Jun 2019 06:58:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404081AbfFKG6h (ORCPT ); Tue, 11 Jun 2019 02:58:37 -0400 Received: from gate.crashing.org ([63.228.1.57]:33661 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403964AbfFKG6h (ORCPT ); Tue, 11 Jun 2019 02:58:37 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id x5B6wCTA031913; Tue, 11 Jun 2019 01:58:14 -0500 Message-ID: Subject: Re: [BISECTED REGRESSION] b43legacy broken on G4 PowerBook From: Benjamin Herrenschmidt To: Christoph Hellwig Cc: Larry Finger , Aaro Koskinen , Christian Zigotzky , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 11 Jun 2019 16:58:12 +1000 In-Reply-To: <20190611060816.GA20158@lst.de> References: <20190605225059.GA9953@darkstar.musicnaut.iki.fi> <73da300c-871c-77ac-8a3a-deac226743ef@lwfinger.net> <7697a9d10777b28ae79fdffdde6d0985555f6310.camel@kernel.crashing.org> <3ed1ccfe-d7ca-11b9-17b3-303d1ae1bb0f@lwfinger.net> <20190611060816.GA20158@lst.de> 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 Tue, 2019-06-11 at 08:08 +0200, Christoph Hellwig wrote: > On Tue, Jun 11, 2019 at 03:56:33PM +1000, Benjamin Herrenschmidt > wrote: > > The reason I think it sort-of-mostly-worked is that to get more > > than > > 1GB of RAM, those machines use CONFIG_HIGHMEM. And *most* network > > buffers aren't allocated in Highmem.... so you got lucky. > > > > That said, there is such as thing as no-copy send on network, so I > > wouldn't be surprised if some things would still have failed, just > > not > > frequent enough for you to notice. > > Unless NETIF_F_HIGHDMA is set on a netdev, the core networkign code > will bounce buffer highmem pages for the driver under all > circumstances. ... which b43legacy doesn't set to the best of my knowledge ... Which makes me wonder how come it didn't work even with your patches ? AFAIK, we have less than 1GB of lowmem unless the config has been tweaked.... Cheers, Ben.