Commit graph

573485 commits

Author SHA1 Message Date
Linux Build Service Account
ac949b0d87 Merge "ARM: dts: msm: Remove clocks listed under the UFS GDSC node" 2016-08-13 23:13:15 -07:00
Linux Build Service Account
f2693fff2e Merge "msm: kgsl: update GPU busy statistics" 2016-08-13 23:13:14 -07:00
Linux Build Service Account
77e4349ae1 Merge "msm: mdss: fix dma fifo read watermark to 15/16 full" 2016-08-13 23:13:12 -07:00
Linux Build Service Account
0ec8200353 Merge "ARM: dts: msm: add jdi 1080p video mode panel support for msmcobalt" 2016-08-13 23:13:11 -07:00
Linux Build Service Account
98cdd5294e Merge "arm: dts: msm: Added missing features for HW Encryption support" 2016-08-13 23:13:10 -07:00
Linux Build Service Account
101be18f7b Merge "ice: added missing register dump in case of error for ICE 3.0" 2016-08-13 23:13:10 -07:00
Linux Build Service Account
4c9e200e82 Merge "ARM: dts: msm: Update the interrupt list for msmcobalt" 2016-08-13 23:13:09 -07:00
Linux Build Service Account
d736395565 Merge "qcom-charger: smblib: update batt capacity status from bms" 2016-08-13 23:13:08 -07:00
Linux Build Service Account
6ece03e7b9 Merge "ASoC: wcd-mbhc: enable micbias for special headset" 2016-08-13 23:13:08 -07:00
Linux Build Service Account
76a2edf258 Merge "ARM: dts: msm: Enable thermal mitigation for msmcobalt charger" 2016-08-13 23:13:07 -07:00
Linux Build Service Account
f4b1836237 Merge "qcom-charger: smblib: update ICL votings in parallel charging" 2016-08-13 23:13:06 -07:00
Linux Build Service Account
9d8e34f721 Merge "defconfig: msmcortex: Enable Seemp Log driver" 2016-08-13 23:13:06 -07:00
Linux Build Service Account
ed4b331fe7 Merge "ASoC: wcd9335: Update the Lineout path register configuration" 2016-08-13 23:13:04 -07:00
Linux Build Service Account
fb6752ab65 Merge "ASoC: wcd: change classh settings as per impedance value" 2016-08-13 23:13:04 -07:00
Linux Build Service Account
06a047a77f Merge "qcom-charger: qpnp-fg-gen3: remove wakelock when reading SRAM props" 2016-08-13 23:13:03 -07:00
Patrick Fay
573979dee2 perf: Add support for exclude_idle attribute
Use the exclude_idle attribute of the perf events to avoid reading
PMUs of idle CPUs. The counter values are updated when CPU enters
idle and the saved value is returned when the idle CPU is queried
for that event provided the attribute is set in the perf_event.

Change-Id: I61f7a7474856abf67ac6dfd9e531702072e108a5
Signed-off-by: Patrick Fay <pfay@codeaurora.org>
2016-08-13 15:11:24 -07:00
Patrick Fay
1f0f95c5fe perf: add hotplug support so that perf continues after hotplug
Current code doesn't restart perf after hotplug and power collapse
which makes monitoring in low power modes difficult. This patch adds
support for the hotplug notifier events and creates a common path for
the power collapse and hotplug events.

Change-Id: I52e6978b1c104fd78bc42e4600ceb111b47b3e11
Signed-off-by: Patrick Fay <pfay@codeaurora.org>
2016-08-13 15:05:21 -07:00
Linux Build Service Account
d43110ab63 Merge "clock: qcom: Update the list of clocks supported on MSMFalcon" 2016-08-13 04:51:59 -07:00
Linux Build Service Account
78acec7c45 Merge "soc: qcom: Fix error checks in service-notifier" 2016-08-13 04:51:59 -07:00
Linux Build Service Account
044c24aaaf Merge "Revert "genetlink: disallow subscribing to unknown mcast groups"" 2016-08-13 04:51:58 -07:00
Linux Build Service Account
f7d92b8f9f Merge "cpuset: Add allow_attach hook for cpusets on android." 2016-08-13 04:51:57 -07:00
Linux Build Service Account
bb5866bf9e Merge "usb: dwc3: Use clock API to control the memory power states" 2016-08-13 04:51:57 -07:00
Linux Build Service Account
ae5bb272c3 Merge "usb: dwc3: Remove tasklet bottom half handler" 2016-08-13 04:51:56 -07:00
Linux Build Service Account
c174c683da Merge "usb: pd: Only request current amount for explicit contract" 2016-08-13 04:51:55 -07:00
Linux Build Service Account
1aad9d6149 Merge "ASoC: msm: qdsp6v2: Fix crash during WFD playback and SSR" 2016-08-13 04:51:54 -07:00
Linux Build Service Account
0dba26514c Merge "ASoC: msm8x16: Initial change for internal codec support" 2016-08-13 04:51:53 -07:00
Linux Build Service Account
27d0d7b45c Merge "msm: ipa: Add support for IPA unit-test framework" 2016-08-13 04:51:52 -07:00
Linux Build Service Account
ab067aa67f Merge "ARM: dts: msm: Update USB core clock frequency to allow SVS" 2016-08-13 04:51:51 -07:00
Linux Build Service Account
8cd4d6c413 Merge "USB: dwc3-msm: Add support for setting specific frequency for core clock" 2016-08-13 04:51:51 -07:00
Linux Build Service Account
56e52f83b4 Merge "drivers: soc: Set APR Glink transport to SMEM" 2016-08-13 04:51:50 -07:00
Linux Build Service Account
d7a4057219 Merge "ASoC: msmcobalt: fix wrong platform device pointer assignment" 2016-08-13 04:51:49 -07:00
Linux Build Service Account
2e3eed9211 Merge "bluetooth: Add Split A2DP slimbus" 2016-08-13 04:51:48 -07:00
Linux Build Service Account
fb24f59004 Merge "ASoC: msm: qdsp6v2: support for AFE encoder" 2016-08-13 04:51:47 -07:00
Linux Build Service Account
1befb076f5 Merge "ASoC: msm: q6dspv2: add adm channel config support" 2016-08-13 04:51:46 -07:00
Linux Build Service Account
ddd4ffbe17 Merge "ARM: dts: msm: adjust mdp bw limits for msmcobalt v2" 2016-08-12 23:10:49 -07:00
Patrick Daly
471a5dd237 ion: system_heap: Add a new allocation method
Allocating new secure pages has very high latency. Ensure that the page
pool is completely empty before allocating new pages, splitting large order
pages as required.

Change-Id: I1353c5d9bdfd5c525c0c781c524630577c84b95e
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
2016-08-12 18:55:15 -07:00
Patrick Daly
c939cf82c6 ion_page_pool: Remove GFP_COMP from page allocation mask
Using GFP_COMP to create compound pages prevents split_pages from being
used to split an order > 0 page into order 0 pages.

Required for future changes to the system_heap allocation algorithm.

Change-Id: I5ab82f717bb003e074124e1ffae3f112c405bc2b
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
2016-08-12 18:55:15 -07:00
Patrick Daly
66e96d0834 ion_page_pool: Remove prealloc tracking
A separate heap will be used for the preallocation feature.
Also remove an associated ion_buffer private flag.

Change-Id: I8df74307d4c3461198de0a58f6b8ec7c8bef1f12
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
2016-08-12 18:55:14 -07:00
Patrick Daly
77b806f71f ion: Remove "FIXME" comment
compat ioctl manages differences between the size of 'unsigned long'
between 32bit and 64bit userspace/kernel.

Change-Id: Ia9030bcb6b404b080cb8bebb91ca7bf03c5f3e05
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
2016-08-12 18:55:14 -07:00
Chinmay Sawarkar
c816f66edc ARM: dts: msm: Program venus clock gate 4 on msmcobalt
Enable clock gating of venus core, when the core is in idle
state. HLOS can do this using the Clock Gate 4.

CRs-Fixed: 1048319
Change-Id: Iaa1ed5c24f07b8e18efc35de4f6ae6edea3b9f55
Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
2016-08-12 18:51:58 -07:00
Patrick Daly
43c871acf1 iommu: dma-mapping-fast: Add mmap support
Clients may use dma_mmap_coherent to map buffers allocated through
dma_alloc_coherent() to userspace. Support this.

Change-Id: Ibf1f086be4c6692479c11cb4585954c5d3c91707
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
2016-08-12 18:50:36 -07:00
Patrick Daly
2d221c0799 arm/arm64: dma-mapping: Fix iova region size
Clients may have additional mappings in an iommu domain which are not
managed by arm_iommu_create_mapping. As such, it is important that
arm_iommu_create_mapping only use the iova region specified by the client.
However, the current implementation rounds the size of the region up to a
256K boundary (on arm64).

Change-Id: I88ddd98a76b39e3e9126d78da8e725491f2a5b32
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
2016-08-12 18:50:33 -07:00
Karthikeyan Periasamy
5eb894155a msm: vidc: fix CONSTRAINED_INTRA_PRED setting
Enable CONSTRAINED_INTRA_PRED for all the following intra refresh mode
 - CYCLIC, ADAPTIVE, CYCLIC_ADAPTIVE, RANDOM
and disbale when intra refresh mode is set to NONE.

Change-Id: Ifda5783f7bf33ba20a3ee3749410560f7864a4f3
CRs-Fixed: 1049420
Signed-off-by: Karthikeyan Periasamy <kperiasa@codeaurora.org>
2016-08-12 18:39:34 -07:00
Chinmay Sawarkar
6e59a1946a msm: vidc: Set the preset registers before loading FW
These registers need to be set everytime ARM9 is powered up.
Some may need to be set before ARM9 begins execution.
Hence setting these, before the FW is loaded by PIL.

CRs-Fixed: 1048319
Change-Id: I1d207635b0dd516bbff2007b1a45f5cc038d350e
Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
2016-08-12 18:28:33 -07:00
Praneeth Paladugu
4b2667b27e msm: vidc: Delay output buffer setting to FW
Output buffer size will be finalized to driver at start streaming.
Hence set this value to FW in start streaming.

CRs-Fixed: 1049617
Change-Id: I1697139a0c7cf84e20d3a8c3747a1e96f765139a
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
Signed-off-by: Abdulla Anam <abdullahanam@codeaurora.org>
Signed-off-by: Karthikeyan Periasamy <kperiasa@codeaurora.org>
2016-08-12 18:09:17 -07:00
Veera Sundaram Sankaran
5421853cf8 msm: mdss: remove always source split quirk setting
The quirk setting to enable source split always was added along
with the multirect changes from MDP rev 3.0. But there is no
special requirement for enabling it with multirect as the source
split behavior remains the same. Source split  is required only
when the layer lies in both the LM. Enabling source split with
partial update, when updating only one LM causes MDP hang due to
invalid configuration. Fix the configs by removing the unnecessary
always source split quirk setting.

Change-Id: Iadaafa64d2c1908b04498d0a88dd612dbc36dae8
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-08-12 15:41:39 -07:00
Hemant Kumar
a8c57749b3 ARM: dts: msm: Update qusb2 phy init sequence for msmcobalt v2
qusb2 phy programming sequence on msmcobalt v2 platform requires
one extra register write to initialize the phy.

Change-Id: Id2e764210e3ca9e12a3d8299bf0c585958bbd7c8
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-08-12 15:37:19 -07:00
Gautham Mayyuri
09ea2d70f3 msm: camera: cpp: Vote AHB with clock enabled and no mem retention
Vote for AHB bandwidth after clocks are enabled. For bandwidth
voting clocks need to be on. Set the memory retention flags for
certain hardware clocks to save power, memory does not need to
be retained for these clocks since the driver reinitializes the
jpeg hardware whenever the clocks are turned on.

CRs-Fixed: 1044777 1044373
Change-Id: Ib8e0ede7e237eb6c43f67e98a3b335067a4a74fc
Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>
Signed-off-by: Gautham Mayyuri <gmayyuri@codeaurora.org>
2016-08-12 15:13:53 -07:00
Olav Haugan
1820def80c sched/fair: Don't check for migration for a pinned task
There is no point of checking whether a currently running task should be
migrated off this cpu if the task is pinned to the cpu.

Change-Id: I33e5ddb318200535c3563f5670059144e0f5eba8
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-08-12 13:16:43 -07:00
David Dai
72ef965c76 ARM: dts: msm: Add QoS clocks to MDP nodes for msmcobalt
Rather than defining QoS clock references at the fab
which can create unwanted clock/gdsc toggles, define
QoS clocks at the affected node instead.

Change-Id: I15a01a772198e0383b1b73052e2d0c4160bf389f
Signed-off-by: David Dai <daidavid1@codeaurora.org>
2016-08-12 10:22:34 -07:00