https://github.com/torvalds/linux
Revision 2d0ec7a19b5796aa958636eeeff072b506460501 authored by Joerg Roedel on 01 June 2015, 15:30:57 UTC, committed by Joerg Roedel on 02 June 2015, 06:46:32 UTC
This reverts commit 5fc872c7323534e8f7dc21bab635e7a9b9659e07.

The DMA-API does not strictly require that the memory
returned by dma_alloc_coherent is zeroed out. For that
another function (dma_zalloc_coherent) should be used. But
all other x86 DMA-API implementation I checked zero out the
memory, so that some drivers rely on it and break when it is
not.

It seems the (driver-)world is not yet ready for this
change, so revert it.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
1 parent c65b99f
History
Tip revision: 2d0ec7a19b5796aa958636eeeff072b506460501 authored by Joerg Roedel on 01 June 2015, 15:30:57 UTC
Revert "iommu/amd: Don't allocate with __GFP_ZERO in alloc_coherent"
Tip revision: 2d0ec7a
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 4.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.7 KB
Kbuild -rw-r--r-- 2.1 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 303.1 KB
Makefile -rw-r--r-- 53.1 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top