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

Commit 55f4a14f authored by Mitchel Humpherys's avatar Mitchel Humpherys
Browse files

iommu: msm: actually disable L2 redirect when CONFIG_IOMMU_PGTABLES_L2=n



We recently moved the L2 redirect configuration to a domain attribute
[dffd6f05e94f: "iommu: msm: move L2 redirect to a domain attribute"].
This allows us to do away with some divergence in the generic IOMMU
APIs.  However, that commit botched the case when
CONFIG_IOMMU_PGTABLES_L2 is disabled.  In that case we actually always
set the page tables to be shared, exactly the opposite of what we want.
Fix this.

Change-Id: I47837584ae88fbc0be578500d20c2a62a9b33bca
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent 27df4148
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