Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 282777
b: refs/heads/master
c: 8342727
h: refs/heads/master
i:
  282775: 5761788
v: v3
  • Loading branch information
Ohad Ben-Cohen authored and Joerg Roedel committed Nov 10, 2011
1 parent 43d79e5 commit 7384d47
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 66bc8cf3b1f70227a7847c88c24a36b4886bb3c3
refs/heads/master: 83427275546a6e36076d4f1a0545335b1bb2afc2
6 changes: 5 additions & 1 deletion trunk/drivers/iommu/msm_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ __asm__ __volatile__ ( \
#define RCP15_PRRR(reg) MRC(reg, p15, 0, c10, c2, 0)
#define RCP15_NMRR(reg) MRC(reg, p15, 0, c10, c2, 1)

/* bitmap of the page sizes currently supported */
#define MSM_IOMMU_PGSIZES (SZ_4K | SZ_64K | SZ_1M | SZ_16M)

static int msm_iommu_tex_class[4];

DEFINE_SPINLOCK(msm_iommu_lock);
Expand Down Expand Up @@ -679,7 +682,8 @@ static struct iommu_ops msm_iommu_ops = {
.map = msm_iommu_map,
.unmap = msm_iommu_unmap,
.iova_to_phys = msm_iommu_iova_to_phys,
.domain_has_cap = msm_iommu_domain_has_cap
.domain_has_cap = msm_iommu_domain_has_cap,
.pgsize_bitmap = MSM_IOMMU_PGSIZES,
};

static int __init get_tex_class(int icp, int ocp, int mt, int nos)
Expand Down

0 comments on commit 7384d47

Please sign in to comment.