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

Skip to content
Commit 538facd0 authored by Archana Sriram's avatar Archana Sriram
Browse files

iommu: Do not set COHERENT flag for secure pagetable allocation



Do not set COHERENT flag while allocating secure pagetables
using dma_alloc_attrs(), as this will eventually invoke
__dma_clear_buffer() which does dmac_flush_range() only
when COHERENT flag is false. This will prevent stale entries
which otherwise will lead to XPU violation in case of access
to this protected address range by hlos.

Change-Id: I3f9e646231c409f94801a334c0dd81adee524a0b
Signed-off-by: default avatarArchana Sriram <apsrir@codeaurora.org>
parent a2c17c17
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