msm: msm_fb: remove mmio access through mmap

Disable access to mm io and add
appropriate range checks to ensure valid accesses
through framebuffer mmap. This prevents illegal
access into memory.

CRs-Fixed: 474706
Change-Id: If25166f2732433ef967e99c716440030b567aae9
Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
(cherry picked from commit b571bef36cf51f9bb4cd1ad3ba23e3cee6d1d3cb)

Conflicts:

	drivers/video/msm/msm_fb.c

Signed-off-by: Raviteja <adimur@codeaurora.org>
Squashed update of kernel from 3.4.51 to 3.4.52
Squashed update of kernel from 3.4.52 to 3.4.53
Squashed update of kernel from 3.4.53 to 3.4.54
Revert "ARM: 7765/1: perf: Record the user-mode PC in the call chain."

 * Causes battery charging to sometimes fail.

This reverts commit cd8bca6fe4862f5af7244a5f5e4b08788ccaff11.
Squashed update of kernel from 3.4.54 to 3.4.55