crypto: msm: Add support for aead

Add support for aead mode algorithms (simultaneous auth
and cipher operations)

Change-Id: I22cc530f8fe822504649cb3c60030a729e1305c2
Signed-off-by: Mona Hossain <mhossain@codeaurora.org>
Signed-off-by: Hariprasad Dhalinarasimha <hnamgund@codeaurora.org>
msm: mdss: refactor phase step scaling

Move calculation of phase step to overlay parameters setup. This is done
to detect early whether the calculation may lead to potential overflow
in phase step. This can lead to interrupts not getting triggered for
ping pong. By detecting early and failing parameters user app can use
fallback solution.

CRs-Fixed: 486751
Change-Id: Iae402d8e97a9ef1d882ffb3e7fee92982f8b65f6
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
gpu: ion: Flush the chunk list before passing it to trustzone

Previously, the function scm_call used to take care of flushing
the caches to ensure all data was written back to memory before
going into the secure world. The behavior of scm_call is changing
such that clients are expected to flush caches themselves. Since
the address that the chunk list is written to is cached, we need
to ensure that the data is actually written back. Add the appropriate
cache operations on the chunk list.

Change-Id: I05e6fa868409255e66f1f37f98199c5a7e81882c
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
msm: pil: Proxy unvote after pil_shutdown() when using IRQs

Subsystems might use an IRQ for removal of proxy votes via the
power/clock ready interrupt. So, if a peripheral shutdown is triggered
before the power/clock ready interrupt is received, remove the proxy
votes and bypass the unvoting in the power/clock ready interrupt handler.
Conversely, if the power/clock interrupt is received before shutdown is
triggered, bypass the unvoting during pil shutdown.

Also, remove the hack to proxy unvote directly from the pil-q6v5-mss
driver.

Change-Id: I254ab5a1595ceb27a2cfcac99c4c1d2f2443b7c7
Signed-off-by: Seemanta Dutta <seemanta@codeaurora.org>
arm/dt: msm8974: Enable MDSS memory and logic rail retention

Avoid collapsing the MDSS power rails. These will be collapsed
and restored by the RPM.

CRs-Fixed: 500585
Change-Id: I9d44205623f0e3ce430d3365a05ede0e02586c53
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
arm/dt: msm8974: Enable Venus memory and logic rail retention

Avoid collapsing the Venus power rails. These will be collapsed
and restored by the RPM.

CRs-Fixed: 500624
Change-Id: Ia7cf58c31b83329fae00c39460044c3dfba16d89
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
defconfig: add Hi256 defconfig  for msm8x10 qrd board

Add  macro definations for Hi256 module.
It is a 2M camera sensor from Hynix.

Change-Id: Ibe7354cffc99729315bff7d9006f9f014b1910d4
Signed-off-by: Li Sun <sunli@codeaurora.org>
msm: camera: add Hi256 driver Kconfig for msm8x10 qrd board

add Kconfig support for Hi256, a sensor chip form Hynix.

Change-Id: If27cc6abd60c2eb599d430a5bf17b1a5292f320b
Signed-off-by: Li Sun <sunli@codeaurora.org>
Merge "arm/dt: msm8610: Disable MPP 2 and MPP 3 to avoid duplicate ownership"
Merge "ARM: Flush the caches for non panicking CPUs in case of a kernel panic"
Merge "input: ft5x06_ts: Add support for protocol B"
Merge "input: ft5x06_ts: Add debugfs entry for dump info"
Merge "defconfig: msm8226: Enable SCSI support"
Merge "Revert "USB: dwc3: ep0.c: Disable U1 and U2 low power modes""
Merge "ASoC: msm: qdsp6v2: Update the routing for aux pcm usecase"
Merge "msm: ipa: fix for bam_isr crash during TX"
Merge "defconfig:msm8610 Enable camera front sensor (sp1628) for 8x10"
Merge "dtc: import latest upstream dtc"
Merge "dtc: fix for_each_*() to skip first object if deleted"
Merge "script: dtc: clean generated files"