commit | b67a8b29df7e6410c605c2759707c96512b15578 | [log] [tgz] |
---|---|---|
author | Jisheng Zhang <jszhang@marvell.com> | Wed Jun 08 15:53:46 2016 +0800 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Tue Jun 21 16:54:53 2016 +0100 |
tree | 8917ea75962d34806f07f38d1281b70b1871c1cd | |
parent | 83ce0efc12811c1b11f71a8164949ff4f6117054 [diff] |
arm64: mm: only initialize swiotlb when necessary we only initialize swiotlb when swiotlb_force is true or not all system memory is DMA-able, this trivial optimization saves us 64MB when swiotlb is not necessary. Signed-off-by: Jisheng Zhang <jszhang@marvell.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>