msm: audio: qdsp6v2: Add size safety check to ACDB driver

Check that the size sent by userspace is not larger
then the internal amount allowed. This protects
against overflowing the stack due to an invalid size.

Change-Id: I8230fdb00a7b57d398929e8ab0eb6587476f3db1
CRs-fixed: 470222
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
msm: HTC: m7: use Linux kernel style

Change-Id: Ie2e97d300978a89f65982855c769bafe6f6fc37f
msm: HTC: m7: use CAF style memory allocation

* Set SF heap size to 0 when IOMMU is enabled
* Update ION reservation function

Change-Id: I480b30a47c78e4e47eae18ac77a3f52f1460d189