[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d6d82c0d-4a40-a191-0414-6b9a64547f65@lwfinger.net>
Date: Wed, 12 Jun 2019 14:41:06 -0500
From: Larry Finger <Larry.Finger@...inger.net>
To: Christoph Hellwig <hch@....de>
Cc: Aaro Koskinen <aaro.koskinen@....fi>,
Christian Zigotzky <chzigotzky@...osoft.de>,
Michael Ellerman <mpe@...erman.id.au>,
linux-kernel@...r.kernel.org, linux-wireless@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [BISECTED REGRESSION] b43legacy broken on G4 PowerBook
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
Powered by blists - more mailing lists