msm: kgsl: Add ASID to iommu pagetable for IOMMU

Create a new pagetable structure for IOMMU with ASID variable that
can be used to assign different application specific ID to pagetables.
ASID value is set to the CONTEXTIDR register of IOMMU and tlb entries
are tagged with this value. Since different pagetables have different
ASID's we can flush the tlb selectively based on ASID which improves
tlb management and keeps valid entries in tlb longer.

Change-Id: I6a71c1a8ff125753a4c84e0732eb3dc954d0e631
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
4 files changed