Skip to content
Commit b67a8b29 authored by Jisheng Zhang's avatar Jisheng Zhang Committed by Catalin Marinas
Browse files

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: default avatarJisheng Zhang <jszhang@marvell.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 83ce0efc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment