ARM: dts: msm: Migrate 8x74 memory regions to CMA

CMA now fully supports removing regions from memory. Since CMA
is the preferred method for tracking these regions as well, migrate
all removed regions over to use CMA and CMA derivatives.

Change-Id: Ifc04abcb5f4d4b67ff37c23556afb9a55a9f0902
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
iommu: msm: Use dma memory for secure pagetable

Linux allocates memory for secure page tables which is passed to the secure
world. This memory is later protected from reads/writes from Linux. Using
kmalloc for this memory may allow speculative accesses to occur to
secured memory. Avoid speculative faults by using dma_alloc_coherent
with the NO_KERNEL_MAPPING attribute to avoid a non-secure mapping.

Change-Id: I3fcd82b2a1e5b82442641961c70306560ee778d8
CRs-Fixed: 621723
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
msm: iommu: Set reserved bits for IOMMU hardware

There are several hardware private bits that are required for
proper operations of IOMMU hardware blocks. Set those bits
appropriately.

Change-Id: I60bf08dc71f7081c03ac8b271e651714b70d26c7
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
iommu: msm: always use 32-bit physical addresses

TZ expects the physical address of the destination dump buffer to be
32-bits, even on LPAE targets. Always send a 32-bit integer. This
requires truncating the top 4 bytes of a 64-bit physical address, but
this shouldn't be a problem on current targets since all physical
addresses should be <4GB.

Change-Id: I486ed39e132be46ebfc80335024cb8d31d7ac1c2
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
ARM: dts: msm: Update device tree node for audio

Rename properties and compatible strings to return to the old
naming convention.

Change-Id: Ia58df9c4084e4d570d487aff1138522d3b862a58
Signed-off-by: Kumar Gala <galak@codeaurora.org>
msm: camera: Force SONY_CAM_V4L2 to select VIDEOBUF2

Change-Id: Ie05a312e3d368527ed0cbf2918b8ba52019acb03
ARM: dts: msm: Remove camera ION heap from Sony DT

Change-Id: I803c6175623aceb16ba6a0bf0168f90939b6fd7b
mdss: msm_fb: Allocate fb memory during mmap

Current design of display driver (overlay) is no more
using the physically contiguous memory for normal display
functionality.

However, we still need to be backward compatible for any client
using the legacy implementation (eg. pan display) functionality.
As soon as there is a mmap call, the allocation happens from
system heap and gets removed once the references to frame buffer
driver becomes NULL.

With this change one can remove the physically contiguous memory
which gets allocated at the boot time and the usage of physically
contiguous memory is optimized.

Change-Id: I1b6040187bda8095007faa4d9df7dc046aa30c6e
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
ARM: dts: msm: Remove fb memory allocation

Remove frame buffer contiguous memory allocation
at boot time as this memory is no longer being used.

Change-Id: Icdaa261ea06af7591d5d6348988902dbf932318d
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
RHINE: Disable boot logo

* Dynamic fb memory allocation causes boot logo to crash the kernel as
  framebuffer memory isn't available at that point.

Change-Id: Ib4fd69bbf29712e0326d3289f6fe97ba27d610f0