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

Michael Büsch
2011-08-24T19:53:09Z

On Wed, 24 Aug 2011 14:40:24 -0500
Larry Finger <Larry.Finger@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.