diff options
author | Hari Kanigeri <h-kanigeri2@ti.com> | 2010-07-15 16:46:44 -0500 |
---|---|---|
committer | Ricardo Perez Olivares <x0081762@ti.com> | 2010-07-16 17:41:46 -0500 |
commit | 1900fd2891164562c37cd8ec7574a658cf61ab86 (patch) | |
tree | da0173389c2270b93eb2e9570626c7b7210b8ce3 | |
parent | 184de70057ae33df858639ed3f03e32d2cace1af (diff) |
SYSLINK: iommu temp hack set twl to false by default
With migration to userspace iommu programming, the step to
set twl to false was missing. If TWL is not set to false,
the TLB miss interrupts wouldn't get generated.
This is a temporary hack patch until the TWL is enabled.
Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
-rw-r--r-- | arch/arm/plat-omap/iommu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/iommu.c b/arch/arm/plat-omap/iommu.c index bd196a383332..2e603fe5d22e 100644 --- a/arch/arm/plat-omap/iommu.c +++ b/arch/arm/plat-omap/iommu.c @@ -862,6 +862,10 @@ static int omap_iommu_open(struct inode *inode, struct file *filp) filp->private_data = obj; iommu_get(obj->name); + /* Hack for now: This is required for ES1.0 until TWL + * fix is available. + */ + iommu_set_twl(obj, false); return ret; } |