* Re: Is it needed to zero out the dma buffer for DMA_ATTR_NO_KERNEL_MAPPING
[not found] ` <20200904022801.15828-1-hdanton@sina.com>
@ 2020-09-04 9:10 ` Marek Szyprowski
0 siblings, 0 replies; only message in thread
From: Marek Szyprowski @ 2020-09-04 9:10 UTC (permalink / raw)
To: Hillf Danton, Christoph Hellwig
Cc: Kees Cook, linux-nvme, linux-kernel, James Bottomley, Matthew Wilcox
Hi
On 04.09.2020 04:28, Hillf Danton wrote:
> 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?
If it is not cleared then this is a bug. Please propose a patch fixing
this issue.
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-04 9:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20200904022817eucas1p1a565e1405b27460e17ecb3447831b8ba@eucas1p1.samsung.com>
[not found] ` <20200904022801.15828-1-hdanton@sina.com>
2020-09-04 9:10 ` Is it needed to zero out the dma buffer for DMA_ATTR_NO_KERNEL_MAPPING Marek Szyprowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).