Commit graph

577550 commits

Author SHA1 Message Date
Linux Build Service Account
82933a003b Merge "msm: mdss: Enable secure display and camera feature for msmcobalt" 2016-11-08 11:18:40 -08:00
Linux Build Service Account
a273d731af Merge "msm: mdss: Add support for secure camera" 2016-11-08 11:18:39 -08:00
Linux Build Service Account
cb51868198 Merge "msm: mdss: add multiple partial update support" 2016-11-08 11:18:38 -08:00
Linux Build Service Account
f4317920e6 Merge "msm: mdss: fix 32-bit compilation issues for MDSS DP driver" 2016-11-08 11:18:37 -08:00
Linux Build Service Account
0286d48411 Merge "msm: mdss: Dynamic resolution switch with DSC on/off" 2016-11-08 11:18:36 -08:00
Linux Build Service Account
a1ca88555c Merge "mdss: Fix solid fill unpack pattern" 2016-11-08 11:18:35 -08:00
Linux Build Service Account
2fd83abdb7 Merge "ARM: dts: msm: update VDD_GFX CPR aging and loop parameters for msmcobalt" 2016-11-08 11:18:34 -08:00
Linux Build Service Account
b8335ae36f Merge "ANDROID: binder: Add strong ref checks" 2016-11-08 11:18:33 -08:00
Linux Build Service Account
a44eb7063b Merge "cgroup: Disable IRQs while holding css_set_lock" 2016-11-08 11:18:32 -08:00
Linux Build Service Account
761d80f153 Merge "msm: msm_bus: limit max chars read by sscanf" 2016-11-08 11:18:31 -08:00
Linux Build Service Account
6065cb4544 Merge "soc: qcom: Initialize structure with default values" 2016-11-08 11:18:30 -08:00
Linux Build Service Account
c2760c8999 Merge "qseecom: whitelist support for kernel client and listener" 2016-11-08 11:18:29 -08:00
Linux Build Service Account
7ae255717a Merge "msm: vidc: Print secure info for a session" 2016-11-08 11:18:27 -08:00
Linux Build Service Account
0b672e32a0 Merge "qpnp-smb2: force HVDCP to 5V before reboot" 2016-11-08 11:18:25 -08:00
Linux Build Service Account
54525872ba Merge "ARM: dts: msm: Enable ACD on msmcobalt v2" 2016-11-08 11:18:23 -08:00
Linux Build Service Account
93529fd59f Merge "msm: kgsl: Add MEMDESC_MAPPED back to for legacy mappings" 2016-11-08 11:18:22 -08:00
Abhijeet Dharmapurikar
9c08064350 spmi: pmic-arb: support show_resume_irq
show_resume_irq is used to debug interrupts that cause wakeup.
Support it for spmi arbiter's interrupt controller.

Change-Id: I52d51c09d7ff316248542c84a1cd65a28e2283da
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2016-11-08 10:23:45 -08:00
Benjamin Chan
23742f3058 mdss: sde: Add register read/write debugfs for SDE rotator
Add SDE rotator register read/write access in the debugfs for debugging
support and verification purpose.

CRs-Fixed: 1083137
Change-Id: Ib6c18253f5d8be0f6eba4cfb741c4492b33a4c3f
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
2016-11-08 06:47:20 -08:00
Linux Build Service Account
cd316285c5 Merge "drivers: soc: implement notify_tx_abort()" 2016-11-07 22:29:10 -08:00
Linux Build Service Account
ec7b10c39a Merge "ASoC: msm: q6dspv2: wake up tasks when ADSP goes down" 2016-11-07 22:29:09 -08:00
Linux Build Service Account
e6db870831 Merge "sched/hmp: Fix memory leak when task fork fails" 2016-11-07 22:29:08 -08:00
Linux Build Service Account
93b6c4955a Merge "sched/hmp: Use GFP_KERNEL for top task memory allocations" 2016-11-07 22:29:07 -08:00
Linux Build Service Account
2e7559c2bb Merge "coresight: set appropriate clock rate for coresight devices" 2016-11-07 22:29:06 -08:00
Linux Build Service Account
a1029ef3e5 Merge "msm: ADSPRPC: Use secure session device while freeing memory" 2016-11-07 22:29:05 -08:00
Linux Build Service Account
a42da00388 Merge "qpnp-fg-gen3: extend profile integrity word usage" 2016-11-07 22:29:04 -08:00
Linux Build Service Account
688bc66ff7 Merge "qpnp-fg-gen3: expose a fake battery SOC for debug board" 2016-11-07 22:29:04 -08:00
Linux Build Service Account
2300a2a8f5 Merge "ASoC: pcm: change capture_active to unsigned int" 2016-11-07 22:29:03 -08:00
Linux Build Service Account
7115eafa5b Merge "ARM: dts: msm: Add camera dtsi file for msmcobalt qrd skuk board" 2016-11-07 22:29:02 -08:00
Linux Build Service Account
21a4717e4f Merge "msm: kgsl: Allow mempools to configure from the device tree" 2016-11-07 22:29:02 -08:00
Linux Build Service Account
2047ab822d Merge "defconfig: msm: Add support for GCC clocks" 2016-11-07 22:29:01 -08:00
Linux Build Service Account
c98650b20a Merge "clk: qcom: gcc: Cleanup code for GCC clocks" 2016-11-07 22:29:00 -08:00
Linux Build Service Account
65f1a53da4 Merge "soc: qcom: pil: Using devm_ioremap for mapping restart reg of modem" 2016-11-07 22:29:00 -08:00
Linux Build Service Account
758544f23c Merge "defconfig: msm: update msmfalcon defconfigs" 2016-11-07 22:28:59 -08:00
Linux Build Service Account
cd30687897 Merge "ASoC: add 352800Hz into the pcm known rates" 2016-11-07 22:28:58 -08:00
Linux Build Service Account
8592867f6f Merge "msm: ipa: fix division by 0 for DMA pipes" 2016-11-07 22:28:57 -08:00
Linux Build Service Account
300fd3f33b Merge "drivers: mfd: Fix 32-bit audio compile" 2016-11-07 22:28:56 -08:00
Hareesh Gundu
f84d6e3c6c msm: kgsl: Add speed bin read capabilities for A306a GPU
A306a GPU have the two different frequency plans. The frequency
plan needs to be loaded dynamically based on the speed bin
information. Add support for A306a gpu to read the speed bin
information and choose frequency plan dynamically.

Change-Id: Iba53d4381d61f23ce1195a147493b0d292cd3723
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2016-11-07 22:07:36 -08:00
Zhenhua Huang
32eed90428 ARM: dts: msm: Add QRD interposer dts file for msmcobalt
Add device tree support for msmcobalt interposer platform
using msmfalcon QRD.

CRs-Fixed: 1086541
Change-Id: If17aa7a60832b71a94d75718da07158e1474ef31
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
2016-11-08 14:05:24 +08:00
Ashwanth Goli
c5d496664e ARM64: config: Add VPN support
Add native android VPN support for msm_falcon

Change-Id: I2689d42402befd849aff05353196c7c0a4d32d56
Signed-off-by: Ashwanth Goli <ashwanth@codeaurora.org>
2016-11-07 20:21:27 -08:00
Phani Kumar Uppalapati
6db3939dbf ASoC: wcd934x: Fix fake button press for headset insertion
Fix fake button press when headset is inserted by properly
disabling micbias after the detection is completed.

CRs-Fixed: 1086418
Change-Id: I241a49dd36746c083b410a58c8c899ee0e9390ad
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-11-07 19:16:42 -08:00
Olav Haugan
af04b3a2ba sched: Ensure watchdog is enabled before disabling
There is a race between watchdog being enabled by hotplug and core
isolation disabling the watchdog. When a CPU is hotplugged in and
the hotplug lock has been released the watchdog thread might not
have run yet to enable the watchdog.  We have to wait for the
watchdog to be enabled before proceeding.

Change-Id: I88f73603b6d389a46f8e819d9b490091d5ba4fe9
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-11-07 17:51:48 -08:00
Olav Haugan
34a3cdf14e sched/core: Keep rq online after cpu isolation
To move tasks off a cpu when offlining the rq needs to be offlined to
un-throttle tasks.  However, tasks might still run on the CPU even after
the CPU has been isolated (per-CPU threads). Thus we should leave the rq
in online state after tasks have been moved.

Change-Id: I61486e8648af0dbb82595fe699e1bc158e837362
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-11-07 17:51:42 -08:00
Olav Haugan
411a978bce sched: Fix race condition with active balance
There is a race condition between checking for whether an active load
balance request has been set and clearing the request. A cpu might have
an active load balance request set and queued but not executed yet.
Before the load balance request is executed the request flag might be
cleared by cpu isolation. Then subsequently the load balancer or tick
might try to do another active load balance.  This can cause the same
active load balance work to be queued twice causing report of list
corruption.

Fix this by moving the clearing of the request to the stopper thread and
ensuring that load balance will not try to queue a request on an
already isolated cpu.

Change-Id: I5c900d2ee161fa692d66e3e66012398869715662
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-11-07 17:51:25 -08:00
Harshdeep Dhatt
c2682f2a06 msm: kgsl: Increase fault detection threshold value
The current value is leading to spurious fault interrupts
from the GPU. Increase the threshold 4 times so that hardware
fault detection won't be triggered as quickly.

CRs-Fixed: 1073836
Change-Id: Ie780cec4de818c94a407461580f9d80de7e4ec84
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2016-11-07 16:17:04 -07:00
Syed Rameez Mustafa
b9b63b0c62 sched/hmp: Fix memory leak when task fork fails
The scheduler allocates memory for the task load structures during
fork. It then relies to sched_exit() to be called to free that memory.
However, if the fork itself fails at any point after the allocation,
the memory is left unclaimed forever. Fix this memory leak by freeing
the allocated memory under error conditions.

Change-Id: I14a8290c9fcc4174ec80560e9f9d7bcdb119761f
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
2016-11-07 14:46:22 -08:00
Syed Rameez Mustafa
576259be4a sched/hmp: Use GFP_KERNEL for top task memory allocations
Task load structure allocations can consume a lot of memory as the
number of tasks begin to increase. Also they might exhaust the atomic
memory pool pretty quickly if a workload starts spawning lots of
threads in a short amount of time thus increasing the possibility of
failed allocations. Move the call to init_new_task_load() outside
atomic context and start using GFP_KERNEL for allocations. There is
no need for this allocation to be in atomic context.

Change-Id: I357772e10bf8958804d9cd0c78eda27139054b21
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
2016-11-07 14:46:21 -08:00
Syed Rameez Mustafa
ecd8f7800f sched/hmp: Use improved information for frequency notifications
Recent changes to scheduler guided frequency have started reporting
the maximum of the cpu load and the load of the top task on a CPU
to the governor. Use the same information to determine whether a
notification is necessary or not.

Change-Id: I1928c6cd0509952443a912ef54e0d72d5f75955d
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
2016-11-07 14:46:20 -08:00
Syed Rameez Mustafa
54052c3658 sched/hmp: Remove capping when reporting load to the cpufreq governor
Capping load when reporting to the governor was important prior to new
scheduler guided frequency changes as intra-cluster migrations would
sometimes lead to CPU loads well in excess of 100%. With the new top
task approach however, load greater than 100% is no longer possible
except for the same conditions that were previously exempted (i.e.
inter-cluster migrations and frequency aggregation).

Change-Id: I3e4f5e39ec9ae7eeaba9a567efd245a7aec1b7ad
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
2016-11-07 14:46:19 -08:00
Subbaraman Narayanamurthy
e0520b6c77 qpnp-fg-gen3: support configuring ESR FCC based on charging status
Currently, fuel gauge assumes that the battery charging current
is provided only by the main charger. When ESR pulse is needed,
it notifies only the main charger to lower its FCC. However, with
parallel charger also supplying the FCC to the battery, the main
charger can end up increasing its FCC instead of lowering it.
This is because of the fact that FCC of main charger is lower
than the total battery charging current because of the current
distribution to the parallel charger and the code sent by FG
allows it to increase its FCC.

Fix this by controlling ESR FCC current code to 300mA in software
when the device is charging and the parallel charger is enabled.
Switch back to hardware control when the device is not charging
or parallel charger is disabled.

Change-Id: I0e6e600f72f9ef8864f9b775df88f674de9cb52c
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-11-07 14:32:10 -08:00
Subbaraman Narayanamurthy
416ddbdbf3 qpnp-smb2: add support to configure charge inhibit
Currently charge inhibit feature is enabled by default and the
charge inhibit threshold is not configurable. Add a device tree
parameter "qcom,chg-inhibit-threshold-mv" through which the
charge inhibit threshold can be configured. If the property is
not specified, then charge inhibit feature is kept disabled.

Change-Id: I464d720abc138e8cd9ba8d7f1704cd91f4408bee
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-11-07 14:32:10 -08:00