Skip to content

dma-mapping:remove CONFIG_HAVE_DMA_ATTRS

[email protected] lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dma-mapping:remove CONFIG_HAVE_DMA_ATTRSinclude/linux/dma-attrs.h include/linux/dma-mapping.h+0 -270 replies
2/3dma-mapping:X86:remove CONFIG_HAVE_DMA_ATTRSarch/x86/Kconfig+0 -10 replies
3/3dma-mapping:IA64:remove CONFIG_HAVE_DMA_ATTRSarch/ia64/Kconfig+0 -10 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] dma-mapping:remove CONFIG_HAVE_DMA_ATTRS

This patch sets enable CONFIG_HAVE_DMA_ATTRS always, so remove it in dma-mapping and Kconfig of X86 and IA64 arch, based on the following ideas:

1,Currently asm-generic/dma-mapping-common.h has provided dma_map_*_attrs() and dma_unmap_*_attrs(), and more ARCHs will move to asm-generic/dma-mapping-common.h;

2,Disabling CONFIG_HAVE_DMA_ATTRS may lead to a compile failure;

3,X86 and IA64 has taken asm-generic/dma-mapping-common.h and always enabled the option now;

4,If CONFIG_HAVE_DMA_ATTRS is enabled, dma_set/get_attr support the passed attrs is NULL.