fmem: clean up tmem metadata before leaving T-state

In a misguided effort to reduce the latency for
the transition from T-state to C-state, clean up
of tmem metadata was postponed until we attempted
to enter T-state again. However, since some of
this metadata was stored in fmem, it was sometimes
overwritten while in C-state, causing panics and hangs.

Signed-off-by: Larry Bassel <lbassel@codeaurora.org>
(cherry picked from commit 653c46c43fb7e7c4f1e7647f277b2a16509af41f)

Change-Id: I19150646d3cc750a1175b1ea7e8b57c80c3ac9c2
Signed-off-by: Zhoulu Luo <zluo@codeaurora.org>
msm: iommu: remove HTC map range functionality

Change-Id: I691df8d3b249b1362bbaab77393d48937f97cde5

Conflicts:
	arch/arm/mach-msm/include/mach/iommu_domains.h
	arch/arm/mach-msm/iommu.c
msm: iommu: re-enable system IOMMU for KGSL

Change-Id: Idb4db36594284692f90e2b30793d28b8ddba02d2

Conflicts:
	arch/arm/mach-msm/devices-iommu.c