[BISECTED REGRESSION] b43legacy broken on G4 PowerBook

Larry Finger Larry.Finger at lwfinger.net
Sat Jun 8 03:25:54 AEST 2019


On 6/5/19 5:50 PM, Aaro Koskinen wrote:
> Hi,
> 
> When upgrading from v5.0 -> v5.1 on G4 PowerBook, I noticed WLAN does
> not work anymore:
> 
> [   42.004303] b43legacy-phy0: Loading firmware version 0x127, patch level 14 (2005-04-18 02:36:27)
> [   42.184837] b43legacy-phy0 debug: Chip initialized
> [   42.184873] b43legacy-phy0 ERROR: The machine/kernel does not support the required 30-bit DMA mask
> 
> The same happens with the current mainline.
> 
> Bisected to:
> 
> 	commit 65a21b71f948406201e4f62e41f06513350ca390
> 	Author: Christoph Hellwig <hch at lst.de>
> 	Date:   Wed Feb 13 08:01:26 2019 +0100
> 
> 	    powerpc/dma: remove dma_nommu_dma_supported
> 
> 	    This function is largely identical to the generic version used
> 	    everywhere else.  Replace it with the generic version.
> 
> 	    Signed-off-by: Christoph Hellwig <hch at lst.de>
> 	    Tested-by: Christian Zigotzky <chzigotzky at xenosoft.de>
> 	    Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>

Aaro,

Please try the attached patch. I'm not really pleased with it and I will 
continue to determine why the fallback to a 30-bit mask fails, but at least this 
one works for me.

Larry


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-b43legacy-Fix-DMA-breakage-from-commit-commit-65a21b.patch
Type: text/x-patch
Size: 2675 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20190607/28f299fa/attachment.bin>


More information about the Linuxppc-dev mailing list