Skip to content

Add API for weak DMA masks

Michael Buesch linux-wireless lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Add dma_set_mask_weak() APIdrivers/base/dma-mapping.c include/linux/dma-mapping.h+40 -02 replies
2/3ssb: Add weak DMA-mask APIdrivers/ssb/main.c include/linux/ssb/ssb.h+22 -20 replies
3/3b43: Use the new weak DMA-mask APIdrivers/net/wireless/b43/dma.c+11 -210 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Add API for weak DMA masks

This patchset adds API and one user for a "weak" dma_set_mask(). Weak means that it will fallback to smaller masks in case the DMA subsystem rejects a big mask.
Currently such rejection may happen if the driver requests a 64bit mask on a VIA machine, for example. dma_set_mask_weak() will fallback to 32bit, in that case, and tell the caller about it by modifying the passed mask.

I'm not sure how we should merge this patchset.
I'd suggest we merge it all through John Linville for 2.6.27, as the only current user of the API is the b43 wireless driver.
We could split it and push the nonwireless parts to somebody else's tree, but I'm not sure it's worth the trouble.

Signature · 1 line
Greetings Michael.