Merge "ARM: dts: msm8974: Update MPM mapping to bypass few GIC interrupts"
Merge "ARM: dts: msm: allow VDD_CX to operate in AUTO mode for MSM8974Pro"
Merge "Revert "ARM: dts: msm: add qti,cpr-quot-adjust-table for CPR on msm8226""
Merge "Revert "msm: cpr-regulator: add support for frequency based CPR quotient scaling""
Merge "ASoC: msm8974: Add voice2 dai-link"
ARM: dts: msm: change cpr SVS voltage for msm8x10

Change voltage of SVS mode for 8x10 as voltage plan updated.

Change-Id: Id46d939757ff8629e68d539f51e4304258334498
Signed-off-by: Ke Liu <keliu@codeaurora.org>
ASoC: msm: hold lock while allocating and freeing ASM clients

ASM client allocation and free have to happen atomically to avoid
ASM APR being in wrong state. So hold lock while allocating and freeing
ASM clients.

CRs-Fixed: 554249

Change-Id: Ie6d2e87445cc06de990c9e8bed6dbf88ac79cd3a
Signed-off-by: Kiran Kandi <kkandi@codeaurora.org>
msm: ipa: teth_bridge: bug fix in get_aggr_capabilities ioctl

Incorrect input validation may cause a kernel memory disclosure to user
space. This fix adds the correct input validation.

Change-Id: Iaca618529bd1f660a731ec2dd50942f0a2fb271f
CRs-Fixed: 555453
Signed-off-by: Gidon Studinski <gidons@codeaurora.org>
mmc: card: fix arbitrary write via read handler in mmc_block_test

In mmc_block_test, the debug_fs based read function handlers write to an
arbitrary buffer which is given by any user. We add an access_ok check
to verify that the address pointed by *buffer is not in kernel space.
Only if the buffer is valid, do we continue the read handler.

Change-Id: I1413f71be13509a3b4e56b919cfbcbd9fcc9d2bd
Signed-off-by: Lee Susman <lsusman@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
msm: cpr-regulator: add dummy read to bypass false register value

There is an issue in certain CPR HW, which requires ignoring the
first read of IRQ_STATUS register in ISR.

CRs-Fixed: 570495
Change-Id: Ib1a57a3da3c60ffb5af3669947a4eb09dbb8c255
Signed-off-by: Ke Liu <keliu@codeaurora.org>
msm: cpr-regulator: add debug message in cpr_scale

Add debug message in cpr_scale to show gcnt and quotient when ceiling or
floor is hit.

Change-Id: I6bb6f5160f9f0b3d9140384871b0258b0ecac388
Signed-off-by: Ke Liu <keliu@codeaurora.org>
msm: cpr-regulator: add support for virtual corner based quotient scaling

The current cpr-regulator driver implementation uses the same CPR target
quotient, which is read from a fuse, for all CPU frequencies handled by a
given voltage corner. This results in unnecessary additional power
consumption when operating the CPU at one of the lower frequencies handled
by one voltage corner. Hence change the driver to adjust the CPR quotient
value according to the virtual corner corresponding to the CPU frequency.

CRs-Fixed: 583719
Change-Id: Ia95688b8c6e88d14da1ac9311d73148802105d0a
Signed-off-by: Ke Liu <keliu@codeaurora.org>
msm: cpr-regulator: change CPR_CORNER to CPR_FUSE_CORNER

New changes introduce virtual corner concept as opposed to cpr_corner.
Cpr corners in existing code are all cpr fuse corners. Hence change them
to distinguish cpr fuse corner from cpr virtual corner.

Change-Id: I086b29cadb23edfdff583f21f29efad4b35be5e1
Signed-off-by: Ke Liu <keliu@codeaurora.org>
ARM: dts: update frequency to corner and quot mapping on msm8226 and msm8610

Some devices need to adjust their CPR quotient value according to the cpu
frequency. The existing configuration uses the same fuse target quotient
for each frequency in a given corner. This configuration is not power
efficient as some corners have a large range of frequencies. Hence use a
virtual corner for each frequency for power saving purposes.

CRs-Fixed: 583719
Change-Id: I90113c4ad26c792c849378ec192bfde4ff2ec199
Signed-off-by: Ke Liu <keliu@codeaurora.org>
Merge e399628f691ac5cd355c5cf51526eed5f81acb9e on remote branch

Change-Id: If5d90a45381828c32b01f08e2c7475b49c146b55
msm: mdss: Distinguish BL_DCS_CMD from DCS_CMD on 8x10

BL_DCS_CMD should be sent in HS mode on 8x10 as that could
reduce the dcs command transfer time in blank period.

Change-Id: I841dc788808ea10848f0b06d5b3f4fa010f51b17
Signed-off-by: Shuo Yan <shuoy@codeaurora.org>
msm: vidc: Send ABORT in FLUSH command from the Client

When session error is sent to the client, client issues FLUSH
and release buffers commands. But as instance state is INVALID,
these commands are never sent to the firmware, instead FLUSH
DONE and Release buffer done are sent back to client even
though firmware might be working on these buffers which may
result into page faults.
This change fixes the issue by sending ABORT command to the
firmware at the time when driver receives FLUSH command. Then
firmware will release all buffers, clean up session and send
ABORT_DONE back to the driver.

Change-Id: Ie4c79a312d2336c68b858f5f5e2a85331cf55f7b
CRs-fixed: 592920
Signed-off-by: Deepak Verma <dverma@codeaurora.org>
Merge "msm: kgsl: avoid zero length scatterlist allocation"
Merge "input: synaptics_i2c_rmi4: Reinitialize list after freeing it"
Merge "msm: cpr-regulator: add dummy read to bypass false register value"