Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5387845ybi; Wed, 12 Jun 2019 01:30:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKhJaKIAiR6KL6BhLPL0xKQ4fNgtHyNsPgxFXczbk6ywoOXHNV9Zq0wYJINfF5P+2zmGZl X-Received: by 2002:a62:ce4f:: with SMTP id y76mr2323250pfg.21.1560328224307; Wed, 12 Jun 2019 01:30:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560328224; cv=none; d=google.com; s=arc-20160816; b=aVPu+tkxv/E3JsQas5KK3Cy6rjE9uYYiWgXocbEHGat7itOvn9zQOBOrcpJC3KidVP ZKBzSIXJ9XPPiaKZ1s5Ga03b+VaMGx28YHWiuZXCaAn0CqdsqXavG1XAS07DR8qrOz7Y aVsI7IlOYbiR5AcEgglytC+IGCvNzyzPosfxGlLsaeIsfcuD4EC7A3LKx3iyDNQOHx4u lllH4oR7xWAgIeX7o89slrvvh7K1YeaocdLIO95yVm27kcth38h/yLEYwREA3kUxpHXT /3Fqqg6v/hO7uswOo7+NEM4mvunO704jGkwVBb4ebG9U9kHtPJrP9Zb+0qq0c9f5uIIB XerQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=bhN6iLiwHixSZfvrii6LrvYGfISd6dJ74mDeGh6YBCc=; b=BOpBtwKwwzXLqhGHlWgdGVpW0XtvF2uoICLKS7FAxiGg+s3q7tlpRC0lG36LP2ES5G fgiLG3MkeSUbhhxQ32/91RGQ2OTFHG6N/6ibp9rilO6paeFbYHYJgf93RIY1QBkNwXj4 NgSROor2FTYj1VBemzNj1aIWFHjNfBHcQvxF+EOLWBq9uTZBuamyKEqYsToZCgcyMkQL eX/EMLnAHkcHI1It8pgCyHAa2fPEY6tjujuCTvGVjyjZ1r7waAQ/gIS641qkVxSr44vl zsJgElLFfPf6WJatYH+yHmx9xC4h6HpysZzm+PiXCb4TuFv63j9b5Y4Db/ARpOQpu5aX YeFw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 g24si14610517pgh.130.2019.06.12.01.30.09; Wed, 12 Jun 2019 01:30:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731283AbfFLG42 (ORCPT + 99 others); Wed, 12 Jun 2019 02:56:28 -0400 Received: from verein.lst.de ([213.95.11.211]:57293 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726714AbfFLG42 (ORCPT ); Wed, 12 Jun 2019 02:56:28 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id 8993E68AFE; Wed, 12 Jun 2019 08:55:58 +0200 (CEST) Date: Wed, 12 Jun 2019 08:55:58 +0200 From: Christoph Hellwig To: Larry Finger Cc: Christoph Hellwig , Aaro Koskinen , Christian Zigotzky , Michael Ellerman , linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [BISECTED REGRESSION] b43legacy broken on G4 PowerBook Message-ID: <20190612065558.GA19585@lst.de> References: <20190605225059.GA9953@darkstar.musicnaut.iki.fi> <73da300c-871c-77ac-8a3a-deac226743ef@lwfinger.net> <20190607172902.GA8183@lst.de> <30000803-3772-3edf-f4a9-55122d504f3f@lwfinger.net> <20190610081825.GA16534@lst.de> <153c13f5-a829-1eab-a3c5-fecfb84127ff@lwfinger.net> <20190611060521.GA19512@lst.de> <5aaa600b-5b59-1f68-454f-20403c318f1a@lwfinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5aaa600b-5b59-1f68-454f-20403c318f1a@lwfinger.net> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 11, 2019 at 05:20:12PM -0500, Larry Finger wrote: > Your first patch did not work as the configuration does not have > CONFIG_ZONE_DMA. As a result, the initial value of min_mask always starts > at 32 bits and is taken down to 31 with the maximum pfn minimization. When > I forced the initial value of min_mask to 30 bits, the device worked. Ooops, yes. But I think we could just enable ZONE_DMA on 32-bit powerpc. Crude enablement hack below: diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 8c1c636308c8..1dd71a98b70c 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -372,7 +372,7 @@ config PPC_ADV_DEBUG_DAC_RANGE config ZONE_DMA bool - default y if PPC_BOOK3E_64 + default y config PGTABLE_LEVELS int