[RFC/RFT] b43: Relax requirement for descriptors to be in the DMA zone

Michael Büsch m at bues.ch
Wed Aug 24 15:53:09 EDT 2011


On Wed, 24 Aug 2011 14:40:24 -0500
Larry Finger <Larry.Finger at lwfinger.net> wrote:

> @Rafal - Incorporate this in your other patch.

I would rather like to have this as a separate patch and have
Rafal's other patch apply on _top_ of this.

> @@ -903,7 +896,7 @@ struct b43_dmaring *b43_setup_dmaring(st
>  			kfree(ring->txhdr_cache);
>  			ring->txhdr_cache = kcalloc(ring->nr_slots / TX_SLOTS_PER_FRAME,
>  						    b43_txhdr_size(dev),
> -						    GFP_KERNEL | GFP_DMA);
> +						    GFP_KERNEL);
>  			if (!ring->txhdr_cache)
>  				goto err_kfree_meta;
>  
> 

Why are you removing this? Seems wrong to me.
This seems to be part of the bounce-buffer mechanism, that we _do_ still need
for legacy 30bit devices.


-- 
Greetings, Michael.



More information about the b43-dev mailing list