lkml.org 
[lkml]   [2019]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [BISECTED REGRESSION] b43legacy broken on G4 PowerBook
From
Date
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

\
 
 \ /
  Last update: 2019-06-12 21:42    [W:0.059 / U:27.756 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site