Is it needed to zero out the dma buffer for DMA_ATTR_NO_KERNEL_MAPPING
Hi Folks
Currently the DMA_ATTR_NO_KERNEL_MAPPING buffer allocated is not cleared while dma core always zero it out for coherent allocations.
Is it making sense to do memset for the attr?
Thanks
Hillf
_______________________________________________
Linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme
Hi
Quoted 4 lines · Hillf Danton
Currently the
DMA_ATTR_NO_KERNEL_MAPPINGbuffer allocated is not cleared while dma core always zero it out for coherent allocations.Is it making sense to do memset for the attr?
If it is not cleared then this is a bug. Please propose a patch fixing this issue.
Best regards
Signature · 2 lines
Marek Szyprowski, PhD Samsung R&D Institute Poland