Commit graph

575862 commits

Author SHA1 Message Date
Linux Build Service Account
d396fc7c69 Merge "sched: Update the number of tune groups to 5" 2016-10-10 18:28:25 -07:00
Linux Build Service Account
7f3caa710f Merge "sched/tune: add initial support for CGroups based boosting" 2016-10-10 18:28:24 -07:00
Linux Build Service Account
db5b016bf7 Merge "qpnp-fg-gen3: add support to restart fuel gauge" 2016-10-10 18:28:21 -07:00
Linux Build Service Account
d610af9453 Merge "qpnp-fg-gen3: Add support to configure force battery profile loading" 2016-10-10 18:28:20 -07:00
Linux Build Service Account
6ce9b4fee4 Merge "msm: kgsl: Remove GPU BCL and LMH support" 2016-10-10 18:28:19 -07:00
Linux Build Service Account
8eea4dac61 Merge "mdss: DisplayPort: add support for multiple resolutions" 2016-10-10 18:28:16 -07:00
Linux Build Service Account
4d5d3bb023 Merge "msm: mdss: edid: limit resolutions support based on interface" 2016-10-10 18:28:16 -07:00
Linux Build Service Account
31e788f9f2 Merge "mdss: DisplayPort: update link-training settings and do DP reset" 2016-10-10 18:28:15 -07:00
Linux Build Service Account
5cdf898e80 Merge "ARM: dts: enable broadcast in nt35597 dual-dsi panels for msmcobalt" 2016-10-10 18:28:13 -07:00
Linux Build Service Account
587e8c28dd Merge "ARM: dts: reduce reset delays for nt35597 panels" 2016-10-10 18:28:12 -07:00
Linux Build Service Account
d0a8d1d591 Merge "msm: mdss: add mdp guard window property" 2016-10-10 18:28:11 -07:00
Linux Build Service Account
de4737612c Merge "msm: mdss: Fix concurrent writeback failures in end-to-end use cases" 2016-10-10 18:28:10 -07:00
Linux Build Service Account
cc67ae8322 Merge "usb: gadget: ncm: Add super speed descriptors for NCM function" 2016-10-10 18:28:09 -07:00
Linux Build Service Account
e552609350 Merge "fs: ext4: disable support for fallocate FALLOC_FL_PUNCH_HOLE" 2016-10-10 18:28:08 -07:00
Linux Build Service Account
b80f563674 Merge "msm: ipa: fix static analysis sign issue" 2016-10-10 18:28:07 -07:00
Linux Build Service Account
741ef4957e Merge "ARM: dts: msm: Add RFCLK2 for msmcobalt MTP/CDP" 2016-10-10 18:28:06 -07:00
Linux Build Service Account
67598d8428 Merge "cpuidle: lpm-levels: Consider cluster history for LPM selection" 2016-10-10 11:51:07 -07:00
Linux Build Service Account
fde72cf8cb Merge "defconfig: Enable CONFIG_ICNSS_DEBUG for msmfalcon" 2016-10-10 11:51:06 -07:00
Syed Rameez Mustafa
14b52227eb sched: Update the number of tune groups to 5
The schedtune controller will mimic the cpusets controller configuration
for now. For that we need to make 4 groups in addition to the root
group present by default.

Change-Id: I082f1e4e4ebf863e623cf66ee127eac70a3e2716
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
2016-10-10 11:10:41 -07:00
Patrick Bellasi
e89595cd93 sched/tune: add initial support for CGroups based boosting
To support task performance boosting, the usage of a single knob has the
advantage to be a simple solution, both from the implementation and the
usability standpoint.  However, on a real system it can be difficult to
identify a single value for the knob which fits the needs of multiple
different tasks. For example, some kernel threads and/or user-space
background services should be better managed the "standard" way while we
still want to be able to boost the performance of specific workloads.

In order to improve the flexibility of the task boosting mechanism this
patch is the first of a small series which extends the previous
implementation to introduce a "per task group" support.
This first patch introduces just the basic CGroups support, a new
"schedtune" CGroups controller is added which allows to configure
different boost value for different groups of tasks.
To keep the implementation simple but still effective for a boosting
strategy, the new controller:
  1. allows only a two layer hierarchy
  2. supports only a limited number of boost groups

A two layer hierarchy allows to place each task either:
  a) in the root control group
     thus being subject to a system-wide boosting value
  b) in a child of the root group
     thus being subject to the specific boost value defined by that
     "boost group"

The limited number of "boost groups" supported is mainly motivated by
the observation that in a real system it could be useful to have only
few classes of tasks which deserve different treatment.
For example, background vs foreground or interactive vs low-priority.
As an additional benefit, a limited number of boost groups allows also
to have a simpler implementation especially for the code required to
compute the boost value for CPUs which have runnable tasks belonging to
different boost groups.

Change-Id: I1304e33a8440bfdad9c8bcf8129ff390216f2e32
cc: Tejun Heo <tj@kernel.org>
cc: Li Zefan <lizefan@huawei.com>
cc: Johannes Weiner <hannes@cmpxchg.org>
cc: Ingo Molnar <mingo@redhat.com>
cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
Git-commit: 13001f47c9
Git-repo: https://android.googlesource.com/kernel/common
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
2016-10-10 11:09:53 -07:00
Subbaraman Narayanamurthy
0edd25653c qpnp-fg-gen3: add support to restart fuel gauge
Add a module parameter "fg_restart" to restart the fuel gauge
without loading the battery profile. This will be useful in
geting a fresh SOC estimate whenever required.

Change-Id: I0c054ad523a0eab72f777d010807bb3a55f63f7e
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-10-10 09:44:05 -07:00
Subbaraman Narayanamurthy
bd811f3afd qpnp-fg-gen3: Add support to configure force battery profile loading
Currently, FG_GEN3 driver loads the battery profile if it finds
out the profile loaded earlier doesn't match with the available
profile. This will be done when the profile integrity bit is
set already. Make this force profile loading as a configurable
parameter through a device tree property.

While at it, add a module parameter to dump the profile contents
conditionally. This will be helpful in debugging.

Change-Id: Ibaff55aa5434ee283e6d597485d193e9e52bb74e
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-10-10 09:44:04 -07:00
Nicholas Troast
9435c04228 qpnp-fg-gen3: disable msoc-full and bsoc-delta IRQs as wakeup sources
msoc-full is not used to determine when the battery is full. The charger
will wakeup the device when it has terminated charging indicating that
the battery is full. Disable the msoc-full IRQ as a wakeup source.

The msoc-delta IRQ is used to wakeup the device when the SOC changes
therefore having the bsoc-delta IRQ as a wakeup source is unnecessary.
Disable the bsoc-delta IRQ as a wakeup source.

Change-Id: Iab7087ce3d6727abc852d3a84590cfa570ec584d
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2016-10-10 09:44:03 -07:00
Subbaraman Narayanamurthy
5b6c4f8f1b qpnp-fg-gen3: change the encoding for delta soc threshold
Currently, delta SOC threshold is written as a 8 bit value but
the encoding is in 11 bits. This will cause the delta SOC
threshold programmed to a lower value causing interrupts to fire
quickly. Change the numerator of delta SOC SRAM parameter so that
the delta SOC threshold will be set correctly. Maximum possible
threshold will be 12.45% (1/2048 * 255).

Change-Id: Ia908c917d71939b9d72b16ddca3400a692540bf3
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-10-10 09:44:02 -07:00
Subbaraman Narayanamurthy
16b979380c ARM: dts: msm: add CC_CV threshold to itech/ascent FG_GEN3 battery profiles
Configure CC_CV threshold voltage to 4.34V for both itech and
ascent battery profiles that will be used by GEN3 fuel gauge
on pmicobalt.

CRs-Fixed: 1068593
Change-Id: I7df3d343afa62ffdbf6f5db8c7fc7d94e2f0e3a0
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-10-10 09:44:02 -07:00
Subbaraman Narayanamurthy
5870397614 power: qpnp-fg-gen3: add support to configure VBtGTFltTh and VBtFull
Based on the battery profile parameters, Vbatt greater than float
voltage and full voltage thresholds needs to be configured. Add
support for the same. Since this needs the battery profile
parameters to be read in advance before the hardware is
initialized, shuffle the code to get battery profile early.

CRs-Fixed: 1068593
Change-Id: If5df62d933cc653a276967b3d16c080c6d4ecb2e
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-10-10 09:43:33 -07:00
Hardik Kantilal Patel
a421f9710c defconfig: Enable CONFIG_ICNSS_DEBUG for msmfalcon
Enable CONFIG_ICNSS_DEBUG to enable driver debugging.

CRs-fixed: 1076049
Change-Id: I0d97a9aca9525da4aee6a9ddbf97849cd9c11a55
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
2016-10-10 06:14:51 -07:00
Linux Build Service Account
1fac7f53bd Merge "input: misc: pat9125: fix issues found in static analysis" 2016-10-10 05:57:59 -07:00
Linux Build Service Account
d1df49872e Merge "ASoC: msm: create backend dailink for wcd934x MAD" 2016-10-10 05:57:59 -07:00
Linux Build Service Account
f6179aab9b Merge "ASoC: soundwire: add null check before pointer dereference." 2016-10-10 05:57:50 -07:00
Himanshu Aggarwal
01e2708af5 input: misc: pat9125: fix issues found in static analysis
Fix the following issues found in static analysis:
- missing blank lines after declarations
- unnecessary return in a void function
- exporting world writable files is usually an error
- block comments use * on subsequent and trailing lines
- Add DT binding description and vendor prefixe for the
driver.
- Add Linux Foundation copyright markings.

Change-Id: Id2ed9a6d4e31bd2acd3185bf7ef9c78f8a41cf36
Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
Signed-off-by: Vevek Venkatesan <vevekv@codeaurora.org>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-10-09 23:21:05 -07:00
Lawrence Liao
4e09168fe6 This is the reference driver source code for Pixart OTS PAT9125.
Change-Id: Ie366894e9e89707fa2950a7ffbfe4e93059a19a3
Signed-off-by: Lawrence Liao <lawrence_liao@pixart.com>
(cherry picked from commit dfc4349a8aa02bb0b7b0639ad5368a5c85f6520f)
Git-commit: dfc4349a8aa02bb0b7b0639ad5368a5c85f6520f
Git-repo: https://github.com/PixartOpen/pixart-sensor-db810-linux-driver
[shjain@codeaurora.org: removed below listed files from original
commit as they are not needed and to resolve trivial merge conflicts:
1. arch/arm/boot/dts/qcom/apq8094-dragonboard.dtsi
2. arch/arm/boot/dts/qcom/msm8994-pinctrl.dtsi
3. arch/arm/boot/dts/qcom/msm8994.dtsi
4. drivers/input/misc/Makefile
5. drivers/input/misc/ots_pat9125/Makefile
Remove the unused pieces of algorithm from the reference
driver of Pixart PAT9125 Rotating side button.]
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-10-10 11:48:08 +05:30
Linux Build Service Account
6bbaf84de6 Merge "wil6210: initial support for FTM and AOA" 2016-10-09 21:17:55 -07:00
Linux Build Service Account
8463e7300c Merge "ARM: dts: msm: Add IMEM dload-type entry for MSM8996 and MSMCOBALT" 2016-10-09 21:17:53 -07:00
Linux Build Service Account
34b3dfc782 Merge "soc: qcom: handle wdsp glink state notifications" 2016-10-09 21:17:52 -07:00
Linux Build Service Account
7bc3eae82e Merge "regulator: correct name used in debug consumer regulator_get call" 2016-10-09 21:17:51 -07:00
Linux Build Service Account
31131180a1 Merge "genirq: Avoid race between cpu hot plug and irq_desc() allocation paths" 2016-10-09 21:17:51 -07:00
Linux Build Service Account
132aa7560b Merge "ARM: dts: msm: Add icnss node for msmtriton" 2016-10-09 21:17:50 -07:00
Linux Build Service Account
62575a58aa Merge "ARM: dts: msm: Add icnss node for msmfalcon" 2016-10-09 21:17:49 -07:00
Linux Build Service Account
cd3b78c8ff Merge "ARM: dts: msm: add ion heaps for msmtriton" 2016-10-09 21:17:49 -07:00
Linux Build Service Account
8e23ae41f3 Merge "qcom-charger: update qc charger detection for PMICv2" 2016-10-09 21:17:46 -07:00
Abhimanyu Kapur
ddc2bf61b5 ARM: dts: msm: Add IMEM dload-type entry for MSM8996 and MSMCOBALT
Add IMEM dload-entry to support emmc dload feature
for msm8996 and msmcobalt SOCs.

CRs-Fixed: 993510
Change-Id: I0d26049817ce8d8172ee364b5d7a31ebdcb64194
Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org>
2016-10-09 20:22:00 -07:00
Walter Yang
3b29155a55 ASoC: msm: create backend dailink for wcd934x MAD
To support ADSP SVA on wcd934x, dedicated backend dailink needs
to be created. Add the dailink associating the specific cpu dai
and the MAD codec dai.

CRs-Fixed: 1070327
Change-Id: I4152d81e4e951216a8ecdd93562eb1740dbb962c
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
2016-10-09 19:43:51 -07:00
Linux Build Service Account
34b975e502 Merge "ARM: dts: msm: Update DCVS table for msmcobalt v2" 2016-10-08 18:29:38 -07:00
Linux Build Service Account
89fd48e0ae Merge "msm: vidc: Keep v4l2 plane count instance-specific" 2016-10-08 18:29:36 -07:00
Linux Build Service Account
5f659ecb42 Merge "icnss: Wait uninterruptible for unregister driver" 2016-10-08 06:35:54 -07:00
Linux Build Service Account
062b309db9 Merge "icnss: Prevent suspend while processing events" 2016-10-08 06:35:53 -07:00
Linux Build Service Account
3ffe336b5e Merge "msm: vidc: Selectively handle SYS_ERROR as FATAL" 2016-10-07 22:15:44 -07:00
Linux Build Service Account
dc9ba857fb Merge "msm: sde: Reject 0 size image for SDE rotator" 2016-10-07 22:15:43 -07:00
Linux Build Service Account
7685c7eae7 Merge "msm: kgsl: Get GPU snapshot if wait for global timestamp timeout" 2016-10-07 22:15:42 -07:00