linux-parisc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ensure dma_alloc_coherent always returns zeroed memory
@ 2018-12-14  8:25 Christoph Hellwig
  2018-12-14  8:25 ` [PATCH 1/2] dma-mapping: zero memory returned from dma_alloc_* Christoph Hellwig
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Christoph Hellwig @ 2018-12-14  8:25 UTC (permalink / raw)
  To: iommu
  Cc: Michal Simek, Ashutosh Dixit, linux-alpha, linux-snps-arc,
	linux-c6x-dev, linux-m68k, openrisc, linux-parisc, linux-s390,
	sparclinux, linux-xtensa, linux-kernel

For security reasons we already returned zeroed memory from
dma_alloc_coherent on most common platforms, but some implementation
missed out.  Make sure we provide a consistent behavior.

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2018-12-20 17:37 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-14  8:25 ensure dma_alloc_coherent always returns zeroed memory Christoph Hellwig
2018-12-14  8:25 ` [PATCH 1/2] dma-mapping: zero memory returned from dma_alloc_* Christoph Hellwig
2018-12-14  9:54   ` Geert Uytterhoeven
2018-12-14  9:55     ` Geert Uytterhoeven
2018-12-14 11:47     ` Christoph Hellwig
2018-12-14 12:36       ` Geert Uytterhoeven
2018-12-14 14:14       ` Greg Ungerer
2018-12-17 11:59         ` Christoph Hellwig
2018-12-14 12:12   ` Eugeniy Paltsev
2018-12-14 12:21     ` hch
2018-12-14 18:10   ` Sam Ravnborg
2018-12-14 18:35     ` Christoph Hellwig
2018-12-14  8:25 ` [PATCH 2/2] dma-mapping: deprecate dma_zalloc_coherent Christoph Hellwig
2018-12-14 13:33 ` ensure dma_alloc_coherent always returns zeroed memory Christoph Hellwig
2018-12-19 16:59 ` Christoph Hellwig
2018-12-20 14:32   ` Eugeniy Paltsev
2018-12-20 14:34     ` hch
2018-12-20 14:39       ` Eugeniy Paltsev
2018-12-20 14:46         ` hch
2018-12-20 17:37           ` hch

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).