[LINUX PATCH] dma-mapping: Control memset operation using gfp flags

2019-09-25 Thread Dylan Yip
_ZERO. If present, we memset the buffer to 0 otherwise we skip memset. Signed-off-by: Dylan Yip --- arch/arm/mm/dma-mapping-nommu.c | 2 +- include/linux/dma-mapping.h | 11 +++ kernel/dma/coherent.c | 15 +-- kernel/dma/mapping.c| 2 +- 4 files ch

[LINUX PATCH] dma-mapping: Control memset operation using gfp flags

2019-09-19 Thread Dylan Yip
_ZERO. If present, we memset the buffer to 0 otherwise we skip memset. Signed-off-by: Dylan Yip --- arch/arm/mm/dma-mapping-nommu.c | 2 +- include/linux/dma-mapping.h | 11 +++ kernel/dma/coherent.c | 15 +-- kernel/dma/mapping.c| 2 +- 4 files ch