msm: cpr: Avoid suspend while executing the IRQ handler

The regulator operation is over i2c which can sleep.
Fail suspend if the CPR interrupt has not returned.

CRs-Fixed: 443675
Change-Id: I301c56349a58112384f5973d98643a98613002c7
Signed-off-by: Kaushal Kumar <kaushalk@codeaurora.org>
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
msm: board7627a: bring CMA regions even lower

With earlier limit of 768 MB, CMA regions were overlapping
with the HIGHMEM, which was leading to many issues. So,
bring down CMA region limit of 0x26000000, so that they
never fall into HIGHMEM regions.

Change-Id: I480dd6c38fe1446c4b2c3701c8a4b013d0764bcf
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
Merge "msm: board7627a: bring CMA regions even lower"
Merge "msm: cpr: Avoid suspend while executing the IRQ handler"
use clamp_t in UNAME26 fix

The min/max call needed to have explicit types on some architectures
(e.g. mn10300). Use clamp_t instead to avoid the warning:

  kernel/sys.c: In function 'override_release':
  kernel/sys.c:1287:10: warning: comparison of distinct pointer types lacks a cast [enabled by default]

Change-Id: Ie1e1c69919186f9d80e212a9e2fb5071bc627b8c
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ram Kumar Chakravarthy Chebathini <rcheba@codeaurora.org>
Signed-off-by: Akhila Musunuri <makhila@codeaurora.org>
Merge "use clamp_t in UNAME26 fix"
msm: irq-vic: Add FIQ and PBUS interrupts to fake wakeup list

Add fiq and pbus interrupts to fake wakeup list so that
when system decides to enter IdlePC these interrupts are ignored.

CRs-Fixed: 453160
Change-Id: If71c65acbdddac0673bf788affe86293128fde03
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Revert "Revert "Revert "msm: 7627a-defconfig: Enable CMA"""

This reverts commit 77a86596cc7ae4149e09a524e307097719d529fc.

Change-Id: I5c8ddb8b6af51b2ea0067d8d7cb9c85c8e62f7c6
Signed-off-by: Ram Kumar Chakravarthy Chebathini <rcheba@codeaurora.org>
Revert "mm: cma: don't replace lowmem pages with highmem"

This reverts commit ffb28bb0ff2a27d7babc75c8ff38a92d8b5c6957.

Change-Id: Ia4cecb1fed9198765bf3df56deaf36f9fc41578b
Signed-off-by: Ram Kumar Chakravarthy Chebathini <rcheba@codeaurora.org>
msm: camera: Update new register settings for OV5648

Change-Id: I8501c2153d78c0969c56977fa2746486f8b47a47
Signed-off-by: Krupal Divvela <kdivvela@codeaurora.org>
(cherry picked from commit aa411f637278ec41a4ff5d003a73b572bd6cf741)

Signed-off-by: Ram Kumar Chakravarthy Chebathini <rcheba@codeaurora.org>
Merge "msm: irq-vic: Add FIQ and PBUS interrupts to fake wakeup list"
Merge "Revert "Revert "Revert "msm: 7627a-defconfig: Enable CMA""""
Merge "Revert "mm: cma: don't replace lowmem pages with highmem""
Merge "msm: camera: Update new register settings for OV5648"