Presently fastmap iommu feature allocates page tables for
full 4GB virtual address space. This can be optimized to
consider virtual address range [base, size] needed by
client and prepare page tables only for applicable
region.
CRs-Fixed: 2011508
Change-Id: Ie6c23cb8e1702a823567e126f452b1e72d851f71
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
[@lmark@codeaurora.org: modify downstream struct instead]
Signed-off-by: Liam Mark <lmark@codeaurora.org>
Fastmap uses the same page table format as arm_lpae_s1_cfg,
so they can share the same data structure format. Additionally,
arm-smmu.c *assumes* that struct arm_lpae_s1_cfg is in use.
This has not caused any issues so far because the formats of
av8l_fast_cfg and arm_lpae_s1_cfg are sufficiently similar.
Change-Id: I93dc42f82d988318af35125df3a5fa0739ebae6a
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
Fix up a bunch of headers so that they pass KERNEL_HEADER_TEST to ensure
that they are self-contained.
Change-Id: Ic0dedbad91f70263452c9a809333fe93c8ee2266
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
This patch merges all of the IOMMU/SMMU, DMA mapping, fast, and
lazy mapping changes from msm-4.19 into msm-lahaina.
Change-Id: If7c1f641a8c836dbb799e2f3439f443ff299b299
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>