Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6029017ybi; Wed, 12 Jun 2019 12:42:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqxYIArhTONtF5xeNmR+gsS491HLEL0NUe9n+1Y+20f9t5J7IbnoY4cQK5J5PU9/YJPc/Das X-Received: by 2002:a63:31d8:: with SMTP id x207mr25240404pgx.403.1560368554893; Wed, 12 Jun 2019 12:42:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560368554; cv=none; d=google.com; s=arc-20160816; b=H+2F9me2XEHo5G8JEEXq4llPsw7nH3mIFZCLXLz0hS9aSkdHu7ZXoJPuV6zkr7132t FH7zoDoiCMxBZ32ctrW+abb3K1oxLfuPUgh7Rd1zv/YwTLrqXQfORYGWCLP5t3S0uqwD NOZIvlTePMe798digp/1aVJAvdJyN3GfYoBRHR6K/Z07r9XdmzBhoRW6SJ5mT35c04Ap 5dzJU6XMpLPdzBhPGGDCLqQfKdGb9TTJMQpxMPug7QYdvZ4N3Dl16Z2XF8xtylcRX216 DWQMf4v7HJJutkt0n//FKBzAosGsEcHP4nUydr/bKZg6wsz4RyqhUxp2Oci3zyA1mEp+ tDfg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=35Xbx5eIJiLu1334ETcHUE8k0RsFsLJfyaYcwmmsQOE=; b=EOpSwt/GrqCUPIc0AqB/FGFIZ6aoruoXmcm5iPovvtFYfchv2Z4rdmT79/BBYC0tqK TYNSsOVcqsZhgg+R0U8C87egmjK/0oqVgAgEnrATQB+V1zKVZJ8JrmWBIhwZuP3aXweO y5KeeSri+DN/h+SXpJ+6//i/0/gUE6J+KQZohLkDrm9O0u929+vGvFrQKBldahDgqx2p o5+Pcjg8ZmqjnkKeQCx9mhne5PTHNySwQf7Fn/ItKz3/hA0YlKz/lm6yEHRavTl2mCfH d5XbkKhm823zfHlqT+MkdNJK7ef+9WgO23DkRB5ZZjloWzqt477yIUECquewyYeVYmka pyVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=MqMi8TsA; 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 b4si476225plz.225.2019.06.12.12.42.19; Wed, 12 Jun 2019 12:42:34 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=MqMi8TsA; 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 S1728432AbfFLTlJ (ORCPT + 99 others); Wed, 12 Jun 2019 15:41:09 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:42957 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727496AbfFLTlJ (ORCPT ); Wed, 12 Jun 2019 15:41:09 -0400 Received: by mail-oi1-f193.google.com with SMTP id s184so12589071oie.9; Wed, 12 Jun 2019 12:41:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=35Xbx5eIJiLu1334ETcHUE8k0RsFsLJfyaYcwmmsQOE=; b=MqMi8TsAvOKjHHb0Ft14EKeSpcsfan3MLs4PKi8JS09THBUJxlOaSbogg1bJ88b8uI CqDdjbyxSJ0OXMG0UZC1eCnrX/Mem8MH/5DGQDxMHWzfdXJXcG8iBLKiCrW3+utkSkDp 6jsLNE3D2FabHudbp5cdiomfkj6kP44JU12FRp3NrBUb+1If9YC+nwMrJuozemfwXoj3 IcjBbrExeDy6bLjoeAwu6d5hDZr0i+6w8JPwRE1xcQqlCUH/5M59qhTxHBIJAWTYKbdt jOrXzHWO1eoeArRYVOKnfmm5AXsX3/4idpsnDSeEUjRWV/VuBjarAHc1J+MpTVX4gjj1 FRgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=35Xbx5eIJiLu1334ETcHUE8k0RsFsLJfyaYcwmmsQOE=; b=qzkA2lMBrQFeCX1tevLV7DPMXCG3G6QA6u0Sszl0ph6yAksMRxC3fbjtl8oSBpLn8I 1QfmQbVZj+oP//Crip+xH7WJjXG7gRAXJT4PGYCCSt4nx/gqmBezsE/kj2OshMcIckKu CsPlKCxF77qyEQtsAz0b+92Ew6QdZ5yUYdlG+nQH0AuyobLkaHbKxbAEy4t/CAiimbYl kU6tSdv89wr7WOZxXYygrgdQapE0GhHuDOhEWHun2SWdsJGkuSE1YB7UpW9igAM9XpPY yTSwdv7W0eywN1Ht/T6LbVpPvX29rKSxE6gRmsixlfLgYylOpN3L6ziw0h7aJRl+zezz WzjQ== X-Gm-Message-State: APjAAAUAnVA/cXc3y9mEBZyGTFCN+TWzKyrsAWhe4qHUGJeikaj9cWR0 KvYdnXhqsfQMHw8J54PbQrs= X-Received: by 2002:aca:5346:: with SMTP id h67mr548323oib.55.1560368468775; Wed, 12 Jun 2019 12:41:08 -0700 (PDT) Received: from [192.168.1.112] (cpe-24-31-245-230.kc.res.rr.com. [24.31.245.230]) by smtp.gmail.com with ESMTPSA id f4sm242934oih.39.2019.06.12.12.41.07 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jun 2019 12:41:07 -0700 (PDT) Subject: Re: [BISECTED REGRESSION] b43legacy broken on G4 PowerBook To: Christoph Hellwig Cc: Aaro Koskinen , Christian Zigotzky , Michael Ellerman , linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, linuxppc-dev@lists.ozlabs.org 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> <20190612065558.GA19585@lst.de> From: Larry Finger Message-ID: Date: Wed, 12 Jun 2019 14:41:06 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190612065558.GA19585@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/12/19 1:55 AM, Christoph Hellwig wrote: > > 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 > With the patch for Kconfig above, and the original patch setting ARCH_ZONE_DMA_BITS to 30, everything works. Do you have any ideas on what should trigger the change in ARCH_ZONE_BITS? Should it be CONFIG_PPC32 defined, or perhaps CONFIG_G4_CPU defined? Larry