ksm: Provide support to use deferred timers for scanner thread

KSM thread to scan pages is getting schedule on definite timeout.
That wakes up CPU from idle state and hence may affect the power
consumption. Provide an optional support to use deferred timer
which suites low-power use-cases.

To enable deferred timers,
$ echo 1 > /sys/kernel/mm/ksm/deferred_timer

Change-Id: I07fe199f97fe1f72f9a9e1b0b757a3ac533719e8
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
Merge "Merge "msm: socinfo: Add support for socinfo v9""
Merge "Merge "Merge "msm: socinfo: Add support for socinfo v9"""
Merge "Merge "msm: socinfo: Add support for socinfo v9""
Merge "Merge "Merge "msm: socinfo: Add support for socinfo v9"""
Merge "Merge "msm: socinfo: Add support for socinfo v9""
msm: mdss: protect command mode BW votes by tracking HW/SW states

Track two states where the BW is needed for the command mode panels
and prevent the BW vote to be released during any of those two states:
1. SW Commit State: This state is the time when the SW has requested
a BW vote, and it will be processing it; it starts at the beginning of
Commit and finish once the kickoff is issued.
2. HW MDP State: This state is the time when the HW is busy
doing the actual transaction, so bandwidth must be kept until
HW finishes; it starts at the beginning of the kickoff and finishes
once the ping pong done interrupt is received.

Change-Id: I2e56128be3ab25a1b065692ae76387a3cd383df3
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
rtc: qpnp-rtc: Set alarm control register properly

RTC Alarm enable bit does not get conserved during
RTC probe function. This patch fixes that issue.

CRs-Fixed: 636652
Change-Id: I28203b8e301510d34d2e726c0bd25e78737f7524
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
Merge "Merge "Merge "msm: socinfo: Add support for socinfo v9"""
Merge "Merge "rtc: alarm: update power_on alarm setting logic""
Merge "Merge "Merge "rtc: alarm: update power_on alarm setting logic"""
Merge "Merge "msm: vidc: Free OCMEM during power collapse""
Merge "Merge "Merge "msm: vidc: Free OCMEM during power collapse"""
Merge "Merge "mdss: mdp3: Group together resource enable, simplifying xo shutdown""
Merge "Merge "Merge "mdss: mdp3: Group together resource enable, simplifying xo shutdown"""
Merge "Merge "msm: mdss: indicate splash screen condition explicitly""
Merge "Merge "Merge "msm: mdss: indicate splash screen condition explicitly"""
Merge "Merge "msm: mdss: indicate splash screen condition explicitly""
Merge "Merge "Merge "msm: mdss: indicate splash screen condition explicitly"""
iommu: msm: Check VBIF state during IOMMU access timeout

Check whether halting the VBIF XIN when the TLB sync or IOMMU halt
times out clears the issue indicating an issue with the master not clearing
the VBIF FIFO.

Change-Id: I552f72db17e31a174ab2725bbecbf4ad98a9d378
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>