]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc/64: Limit ZONE_DMA32 to 4GiB in swiotlb_detect_4g()
authorScott Wood <scottwood@freescale.com>
Fri, 8 Aug 2014 23:40:44 +0000 (18:40 -0500)
committerScott Wood <scottwood@freescale.com>
Wed, 3 Sep 2014 22:58:22 +0000 (17:58 -0500)
commitcf5621032fbe7354c0c3fff17958b7029bbc9f30
tree4500f41857757277438950e22d5950c4ae3a3784
parent6397fc3fb05e73062b9790cfe2760e209ebd7b95
powerpc/64: Limit ZONE_DMA32 to 4GiB in swiotlb_detect_4g()

A DMA zone is still needed with swiotlb, for coherent allocations.
This doesn't affect platforms that don't use swiotlb or that don't call
swiotlb_detect_4g().

Signed-off-by: Scott Wood <scottwood@freescale.com>
Cc: Shaohui Xie <Shaohui.Xie@freescale.com>
arch/powerpc/kernel/dma-swiotlb.c