Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ea7a8a53 authored by Vinayak Menon's avatar Vinayak Menon
Browse files

drivers: dma-removed: use relaxed memory attributes



For mapping, dma-removed uses ioremap which on ARM translates
to Device nGnRE. But since the users of dma-removed maps RAM
and does not have restrictions on gathering, reordering, and
speculation while mapped, use ioremap_wc instead. This is
observed to perform better. This patch fixes the variable
address space markings too.

Change-Id: Ic73f38ceb446f19a86cb3f64cbf029a61de6d350
Signed-off-by: default avatarVinayak Menon <vinmenon@codeaurora.org>
parent 67c0cad6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment