OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "sched/tune: add initial support for CGroups based boosting"
Linux Build Service Account [Tue, 11 Oct 2016 01:28:24 +0000 (18:28 -0700)]
Merge "sched/tune: add initial support for CGroups based boosting"

7 years agoMerge "qpnp-fg-gen3: add support to restart fuel gauge"
Linux Build Service Account [Tue, 11 Oct 2016 01:28:21 +0000 (18:28 -0700)]
Merge "qpnp-fg-gen3: add support to restart fuel gauge"

7 years agoMerge "qpnp-fg-gen3: Add support to configure force battery profile loading"
Linux Build Service Account [Tue, 11 Oct 2016 01:28:21 +0000 (18:28 -0700)]
Merge "qpnp-fg-gen3: Add support to configure force battery profile loading"

7 years agoMerge "msm: kgsl: Remove GPU BCL and LMH support"
Linux Build Service Account [Tue, 11 Oct 2016 01:28:20 +0000 (18:28 -0700)]
Merge "msm: kgsl: Remove GPU BCL and LMH support"

7 years agoMerge "mdss: DisplayPort: add support for multiple resolutions"
Linux Build Service Account [Tue, 11 Oct 2016 01:28:17 +0000 (18:28 -0700)]
Merge "mdss: DisplayPort: add support for multiple resolutions"

7 years agoMerge "msm: mdss: edid: limit resolutions support based on interface"
Linux Build Service Account [Tue, 11 Oct 2016 01:28:16 +0000 (18:28 -0700)]
Merge "msm: mdss: edid: limit resolutions support based on interface"

7 years agoMerge "mdss: DisplayPort: update link-training settings and do DP reset"
Linux Build Service Account [Tue, 11 Oct 2016 01:28:15 +0000 (18:28 -0700)]
Merge "mdss: DisplayPort: update link-training settings and do DP reset"

7 years agoMerge "ARM: dts: enable broadcast in nt35597 dual-dsi panels for msmcobalt"
Linux Build Service Account [Tue, 11 Oct 2016 01:28:13 +0000 (18:28 -0700)]
Merge "ARM: dts: enable broadcast in nt35597 dual-dsi panels for msmcobalt"

7 years agoMerge "ARM: dts: reduce reset delays for nt35597 panels"
Linux Build Service Account [Tue, 11 Oct 2016 01:28:12 +0000 (18:28 -0700)]
Merge "ARM: dts: reduce reset delays for nt35597 panels"

7 years agoMerge "msm: mdss: add mdp guard window property"
Linux Build Service Account [Tue, 11 Oct 2016 01:28:12 +0000 (18:28 -0700)]
Merge "msm: mdss: add mdp guard window property"

7 years agoMerge "msm: mdss: Fix concurrent writeback failures in end-to-end use cases"
Linux Build Service Account [Tue, 11 Oct 2016 01:28:10 +0000 (18:28 -0700)]
Merge "msm: mdss: Fix concurrent writeback failures in end-to-end use cases"

7 years agoMerge "usb: gadget: ncm: Add super speed descriptors for NCM function"
Linux Build Service Account [Tue, 11 Oct 2016 01:28:09 +0000 (18:28 -0700)]
Merge "usb: gadget: ncm: Add super speed descriptors for NCM function"

7 years agoMerge "fs: ext4: disable support for fallocate FALLOC_FL_PUNCH_HOLE"
Linux Build Service Account [Tue, 11 Oct 2016 01:28:08 +0000 (18:28 -0700)]
Merge "fs: ext4: disable support for fallocate FALLOC_FL_PUNCH_HOLE"

7 years agoMerge "msm: ipa: fix static analysis sign issue"
Linux Build Service Account [Tue, 11 Oct 2016 01:28:07 +0000 (18:28 -0700)]
Merge "msm: ipa: fix static analysis sign issue"

7 years agoMerge "ARM: dts: msm: Add RFCLK2 for msmcobalt MTP/CDP"
Linux Build Service Account [Tue, 11 Oct 2016 01:28:07 +0000 (18:28 -0700)]
Merge "ARM: dts: msm: Add RFCLK2 for msmcobalt MTP/CDP"

7 years agoMerge "cpuidle: lpm-levels: Consider cluster history for LPM selection"
Linux Build Service Account [Mon, 10 Oct 2016 18:51:07 +0000 (11:51 -0700)]
Merge "cpuidle: lpm-levels: Consider cluster history for LPM selection"

7 years agoMerge "defconfig: Enable CONFIG_ICNSS_DEBUG for msmfalcon"
Linux Build Service Account [Mon, 10 Oct 2016 18:51:06 +0000 (11:51 -0700)]
Merge "defconfig: Enable CONFIG_ICNSS_DEBUG for msmfalcon"

7 years agosched/tune: add initial support for CGroups based boosting
Patrick Bellasi [Tue, 23 Jun 2015 08:17:54 +0000 (09:17 +0100)]
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: 13001f47c9a610705219700af4636386b647e231
Git-repo: https://android.googlesource.com/kernel/common
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
7 years agoqpnp-fg-gen3: add support to restart fuel gauge
Subbaraman Narayanamurthy [Fri, 23 Sep 2016 02:36:39 +0000 (19:36 -0700)]
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>
7 years agoqpnp-fg-gen3: Add support to configure force battery profile loading
Subbaraman Narayanamurthy [Wed, 21 Sep 2016 19:36:03 +0000 (12:36 -0700)]
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>
7 years agoqpnp-fg-gen3: disable msoc-full and bsoc-delta IRQs as wakeup sources
Nicholas Troast [Fri, 23 Sep 2016 15:54:13 +0000 (08:54 -0700)]
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>
7 years agoqpnp-fg-gen3: change the encoding for delta soc threshold
Subbaraman Narayanamurthy [Fri, 23 Sep 2016 01:11:42 +0000 (18:11 -0700)]
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>
7 years agoARM: dts: msm: add CC_CV threshold to itech/ascent FG_GEN3 battery profiles
Subbaraman Narayanamurthy [Mon, 19 Sep 2016 23:22:30 +0000 (16:22 -0700)]
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>
7 years agopower: qpnp-fg-gen3: add support to configure VBtGTFltTh and VBtFull
Subbaraman Narayanamurthy [Mon, 19 Sep 2016 21:52:12 +0000 (14:52 -0700)]
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>
7 years agodefconfig: Enable CONFIG_ICNSS_DEBUG for msmfalcon
Hardik Kantilal Patel [Mon, 10 Oct 2016 12:25:35 +0000 (17:55 +0530)]
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>
7 years agoMerge "input: misc: pat9125: fix issues found in static analysis"
Linux Build Service Account [Mon, 10 Oct 2016 12:57:59 +0000 (05:57 -0700)]
Merge "input: misc: pat9125: fix issues found in static analysis"

7 years agoMerge "ASoC: msm: create backend dailink for wcd934x MAD"
Linux Build Service Account [Mon, 10 Oct 2016 12:57:59 +0000 (05:57 -0700)]
Merge "ASoC: msm: create backend dailink for wcd934x MAD"

7 years agoMerge "ASoC: soundwire: add null check before pointer dereference."
Linux Build Service Account [Mon, 10 Oct 2016 12:57:51 +0000 (05:57 -0700)]
Merge "ASoC: soundwire: add null check before pointer dereference."

7 years agoinput: misc: pat9125: fix issues found in static analysis
Himanshu Aggarwal [Tue, 4 Oct 2016 04:25:31 +0000 (09:55 +0530)]
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>
7 years agoThis is the reference driver source code for Pixart OTS PAT9125.
Lawrence Liao [Fri, 16 Sep 2016 08:01:15 +0000 (13:31 +0530)]
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>
7 years agoMerge "wil6210: initial support for FTM and AOA"
Linux Build Service Account [Mon, 10 Oct 2016 04:17:55 +0000 (21:17 -0700)]
Merge "wil6210: initial support for FTM and AOA"

7 years agoMerge "ARM: dts: msm: Add IMEM dload-type entry for MSM8996 and MSMCOBALT"
Linux Build Service Account [Mon, 10 Oct 2016 04:17:53 +0000 (21:17 -0700)]
Merge "ARM: dts: msm: Add IMEM dload-type entry for MSM8996 and MSMCOBALT"

7 years agoMerge "soc: qcom: handle wdsp glink state notifications"
Linux Build Service Account [Mon, 10 Oct 2016 04:17:52 +0000 (21:17 -0700)]
Merge "soc: qcom: handle wdsp glink state notifications"

7 years agoMerge "regulator: correct name used in debug consumer regulator_get call"
Linux Build Service Account [Mon, 10 Oct 2016 04:17:52 +0000 (21:17 -0700)]
Merge "regulator: correct name used in debug consumer regulator_get call"

7 years agoMerge "genirq: Avoid race between cpu hot plug and irq_desc() allocation paths"
Linux Build Service Account [Mon, 10 Oct 2016 04:17:51 +0000 (21:17 -0700)]
Merge "genirq: Avoid race between cpu hot plug and irq_desc() allocation paths"

7 years agoMerge "ARM: dts: msm: Add icnss node for msmtriton"
Linux Build Service Account [Mon, 10 Oct 2016 04:17:50 +0000 (21:17 -0700)]
Merge "ARM: dts: msm: Add icnss node for msmtriton"

7 years agoMerge "ARM: dts: msm: Add icnss node for msmfalcon"
Linux Build Service Account [Mon, 10 Oct 2016 04:17:50 +0000 (21:17 -0700)]
Merge "ARM: dts: msm: Add icnss node for msmfalcon"

7 years agoMerge "ARM: dts: msm: add ion heaps for msmtriton"
Linux Build Service Account [Mon, 10 Oct 2016 04:17:49 +0000 (21:17 -0700)]
Merge "ARM: dts: msm: add ion heaps for msmtriton"

7 years agoMerge "qcom-charger: update qc charger detection for PMICv2"
Linux Build Service Account [Mon, 10 Oct 2016 04:17:46 +0000 (21:17 -0700)]
Merge "qcom-charger: update qc charger detection for PMICv2"

7 years agoARM: dts: msm: Add IMEM dload-type entry for MSM8996 and MSMCOBALT
Abhimanyu Kapur [Tue, 22 Mar 2016 22:17:25 +0000 (15:17 -0700)]
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>
7 years agoASoC: msm: create backend dailink for wcd934x MAD
Walter Yang [Tue, 20 Sep 2016 10:35:47 +0000 (18:35 +0800)]
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>
7 years agoMerge "ARM: dts: msm: Update DCVS table for msmcobalt v2"
Linux Build Service Account [Sun, 9 Oct 2016 01:29:38 +0000 (18:29 -0700)]
Merge "ARM: dts: msm: Update DCVS table for msmcobalt v2"

7 years agoMerge "msm: vidc: Keep v4l2 plane count instance-specific"
Linux Build Service Account [Sun, 9 Oct 2016 01:29:37 +0000 (18:29 -0700)]
Merge "msm: vidc: Keep v4l2 plane count instance-specific"

7 years agoMerge "icnss: Wait uninterruptible for unregister driver"
Linux Build Service Account [Sat, 8 Oct 2016 13:35:54 +0000 (06:35 -0700)]
Merge "icnss: Wait uninterruptible for unregister driver"

7 years agoMerge "icnss: Prevent suspend while processing events"
Linux Build Service Account [Sat, 8 Oct 2016 13:35:54 +0000 (06:35 -0700)]
Merge "icnss: Prevent suspend while processing events"

7 years agoMerge "msm: vidc: Selectively handle SYS_ERROR as FATAL"
Linux Build Service Account [Sat, 8 Oct 2016 05:15:44 +0000 (22:15 -0700)]
Merge "msm: vidc: Selectively handle SYS_ERROR as FATAL"

7 years agoMerge "msm: sde: Reject 0 size image for SDE rotator"
Linux Build Service Account [Sat, 8 Oct 2016 05:15:44 +0000 (22:15 -0700)]
Merge "msm: sde: Reject 0 size image for SDE rotator"

7 years agoMerge "msm: kgsl: Get GPU snapshot if wait for global timestamp timeout"
Linux Build Service Account [Sat, 8 Oct 2016 05:15:43 +0000 (22:15 -0700)]
Merge "msm: kgsl: Get GPU snapshot if wait for global timestamp timeout"

7 years agoMerge "icnss: Provide API to check QMI support"
Linux Build Service Account [Sat, 8 Oct 2016 05:15:42 +0000 (22:15 -0700)]
Merge "icnss: Provide API to check QMI support"

7 years agoMerge "msm: kgsl: Disable UCHE global filter"
Linux Build Service Account [Sat, 8 Oct 2016 05:15:41 +0000 (22:15 -0700)]
Merge "msm: kgsl: Disable UCHE global filter"

7 years agoMerge "usb: host: Flush hub workqueue before stopping controller"
Linux Build Service Account [Sat, 8 Oct 2016 05:15:40 +0000 (22:15 -0700)]
Merge "usb: host: Flush hub workqueue before stopping controller"

7 years agoMerge "qpnp-smb2: smb-lib: add charge_done property"
Linux Build Service Account [Sat, 8 Oct 2016 05:15:39 +0000 (22:15 -0700)]
Merge "qpnp-smb2: smb-lib: add charge_done property"

7 years agoMerge "ARM: dts: msm: Add support to read FAB ID for PMICOBALT"
Linux Build Service Account [Sat, 8 Oct 2016 05:15:38 +0000 (22:15 -0700)]
Merge "ARM: dts: msm: Add support to read FAB ID for PMICOBALT"

7 years agoMerge "soc:qcom: common_log: change PMIC dump size from 4k to 64k"
Linux Build Service Account [Sat, 8 Oct 2016 05:15:37 +0000 (22:15 -0700)]
Merge "soc:qcom: common_log: change PMIC dump size from 4k to 64k"

7 years agoMerge "power: reset: Skip emmc_dload sysfs entry creation"
Linux Build Service Account [Sat, 8 Oct 2016 05:15:34 +0000 (22:15 -0700)]
Merge "power: reset: Skip emmc_dload sysfs entry creation"

7 years agoMerge "msm: rpm-smd-debug: Remove unwanted pr_info"
Linux Build Service Account [Sat, 8 Oct 2016 05:15:33 +0000 (22:15 -0700)]
Merge "msm: rpm-smd-debug: Remove unwanted pr_info"

7 years agosoc: qcom: handle wdsp glink state notifications
Vidyakumar Athota [Fri, 23 Sep 2016 17:28:42 +0000 (10:28 -0700)]
soc: qcom: handle wdsp glink state notifications

When WDSP has crashed, G-link link state is updated with
GLINK_LINK_STATE_DOWN and remote side channels are closed.
Handle the link state down notification from G-link and
close the channels from local side when remote disconnect
channel event occurs.

Change-Id: Id956256fbb3ea6b18a3685a34dcd1f9b16e71e92
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
7 years agomsm: kgsl: Remove GPU BCL and LMH support
Oleg Perelet [Thu, 6 Oct 2016 22:39:55 +0000 (15:39 -0700)]
msm: kgsl: Remove GPU BCL and LMH support

a540 hardware does not support BCL and LMH after all.

CRs-Fixed: 1075694
Change-Id: I09808145d20ded63b5043cae6510429560cb599e
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
7 years agoregulator: correct name used in debug consumer regulator_get call
David Collins [Fri, 7 Oct 2016 18:52:47 +0000 (11:52 -0700)]
regulator: correct name used in debug consumer regulator_get call

Call rdev_get_name() to obtain the name to use in the debug
consumer's regulator_get() call so that the debug consumer finds
the correct regulator when the name differs in the constraints
and desc structs.

Change-Id: Id6a47467cd118c89c8f58d1120381d4c64f8efee
CRs-Fixed: 1075693
Signed-off-by: David Collins <collinsd@codeaurora.org>
7 years agogenirq: Avoid race between cpu hot plug and irq_desc() allocation paths
Prasad Sodagudi [Fri, 7 Oct 2016 03:05:08 +0000 (08:35 +0530)]
genirq: Avoid race between cpu hot plug and irq_desc() allocation paths

One of the core might have just allocated irq_desc() and other core
might be doing irq migration in the hot plug path. In the hot plug path
during the IRQ migration, for_each_active_irq macro is trying to get
irqs whose bits are set in allocated_irqs bit map but there is no return
value check after irq_to_desc for desc validity.

[   24.566381] msm_thermal:do_core_control Set Offline: CPU4 Temp: 73
[   24.568821] Unable to handle kernel NULL pointer dereference at virtual address 000000a4
[   24.568931] pgd = ffffffc002184000
[   24.568995] [000000a4] *pgd=0000000178df5003, *pud=0000000178df5003, *pmd=0000000178df6003, *pte=0060000017a00707
[   24.569153] ------------[ cut here ]------------
[   24.569228] Kernel BUG at ffffffc0000f3060 [verbose debug info unavailable]
[   24.569334] Internal error: Oops - BUG: 96000005 [#1] PREEMPT SMP
[   24.569422] Modules linked in:
[   24.569486] CPU: 4 PID: 28 Comm: migration/4 Tainted: G        W       4.4.8-perf-9407222-eng #1
[   24.569684] task: ffffffc0f28f0e80 ti: ffffffc0f2a84000 task.ti: ffffffc0f2a84000
[   24.569785] PC is at do_raw_spin_lock+0x20/0x160
[   24.569859] LR is at _raw_spin_lock+0x34/0x40
[   24.569931] pc : [<ffffffc0000f3060>] lr : [<ffffffc001023dec>] pstate: 200001c5
[   24.570029] sp : ffffffc0f2a87bc0
[   24.570091] x29: ffffffc0f2a87bc0 x28: ffffffc001033988
[   24.570174] x27: ffffffc001adebb0 x26: 0000000000000000
[   24.570257] x25: 00000000000000a0 x24: 0000000000000020
[   24.570339] x23: ffffffc001033978 x22: ffffffc001adeb80
[   24.570421] x21: 000000000000027e x20: 0000000000000000
[   24.570502] x19: 00000000000000a0 x18: 000000000000000d
[   24.570584] x17: 0000000000005f00 x16: 0000000000000003
[   24.570666] x15: 000000000000bd39 x14: 0ffffffffffffffe
[   24.570748] x13: 0000000000000000 x12: 0000000000000018
[   24.570829] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f
[   24.570911] x9 : fefefefeff332e6d x8 : 7f7f7f7f7f7f7f7f
[   24.570993] x7 : ffffffc00344f6a0 x6 : 0000000000000000
[   24.571075] x5 : 0000000000000001 x4 : ffffffc00344f488
[   24.571157] x3 : 0000000000000000 x2 : 0000000000000000
[   24.571238] x1 : ffffffc0f2a84000 x0 : 0000000000004ead
...
...
...
[   24.581324] Call trace:
[   24.581379] [<ffffffc0000f3060>] do_raw_spin_lock+0x20/0x160
[   24.581463] [<ffffffc001023dec>] _raw_spin_lock+0x34/0x40
[   24.581546] [<ffffffc000103f10>] irq_migrate_all_off_this_cpu+0x84/0x1c4
[   24.581641] [<ffffffc00008ec84>] __cpu_disable+0x54/0x74
[   24.581722] [<ffffffc0000a3368>] take_cpu_down+0x1c/0x58
[   24.581803] [<ffffffc00013ac08>] multi_cpu_stop+0xb0/0x10c
[   24.581885] [<ffffffc00013ad60>] cpu_stopper_thread+0xb8/0x184
[   24.581972] [<ffffffc0000c4920>] smpboot_thread_fn+0x26c/0x290
[   24.582057] [<ffffffc0000c0f84>] kthread+0x100/0x108
[   24.582135] Code: aa0003f3 aa1e03e0 d503201f 5289d5a0 (b9400661)
[   24.582224] ---[ end trace 609f38584306f5d9 ]---

CRs-Fixed: 1074611
Change-Id: I6cc5399e511b6d62ec7fbc4cac21f4f41023520e
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
7 years agoMerge "qpnp-smb2: do not configure BATT_OV to end charging cycle"
Linux Build Service Account [Fri, 7 Oct 2016 19:20:04 +0000 (12:20 -0700)]
Merge "qpnp-smb2: do not configure BATT_OV to end charging cycle"

7 years agoMerge "clk: msm: clock-osm: Update OSM timers and enable PLL droop override"
Linux Build Service Account [Fri, 7 Oct 2016 19:20:02 +0000 (12:20 -0700)]
Merge "clk: msm: clock-osm: Update OSM timers and enable PLL droop override"

7 years agoMerge "uapi: sound: add new ready packet type"
Linux Build Service Account [Fri, 7 Oct 2016 19:20:02 +0000 (12:20 -0700)]
Merge "uapi: sound: add new ready packet type"

7 years agoMerge "ARM: dts: msm: Add and update the dummy clocks for MSMfalcon/MSMtriton"
Linux Build Service Account [Fri, 7 Oct 2016 19:20:01 +0000 (12:20 -0700)]
Merge "ARM: dts: msm: Add and update the dummy clocks for MSMfalcon/MSMtriton"

7 years agoMerge "clk: qcom: Add support for GPU clocks for MSMFalcon"
Linux Build Service Account [Fri, 7 Oct 2016 19:20:00 +0000 (12:20 -0700)]
Merge "clk: qcom: Add support for GPU clocks for MSMFalcon"

7 years agoARM: dts: msm: Add support to read FAB ID for PMICOBALT
Siddartha Mohanadoss [Wed, 5 Oct 2016 23:14:31 +0000 (16:14 -0700)]
ARM: dts: msm: Add support to read FAB ID for PMICOBALT

REVID peripheral supports reading FAB ID value. Add property
qcom,fab-id-valid to allow clients to access the FAB ID data
for PMICOBALT.

Change-Id: I66463cf3fa7b0fdeba4cb5ee1e34d27b5e736cfb
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
7 years agoqpnp: revid: Add support to read FAB ID for PMICOBALT
Siddartha Mohanadoss [Wed, 5 Oct 2016 00:05:06 +0000 (17:05 -0700)]
qpnp: revid: Add support to read FAB ID for PMICOBALT

PMICOBALT supports reading the FAB ID from the REVID
peripheral. Add an optional property qcom,fab-id-valid
to check if support for FAB ID is available in the
REVID peripheral for the PMIC.

Change-Id: If8212618baa7533b008228a71740acf1d6c72a52
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
7 years agomdss: DisplayPort: add support for multiple resolutions
Chandan Uddaraju [Wed, 5 Oct 2016 01:07:53 +0000 (18:07 -0700)]
mdss: DisplayPort: add support for multiple resolutions

Add table to store transfer unit settings for different
resolutions. The table is used for mapping the resolution
with the lane count and Display-port link rate.

Change-Id: I93cc489cdbde21680f8c05311be60ecba053c1db
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
7 years agomsm: mdss: edid: limit resolutions support based on interface
Ajay Singh Parmar [Thu, 6 Oct 2016 23:02:07 +0000 (16:02 -0700)]
msm: mdss: edid: limit resolutions support based on interface

Limit the resolutions provided by sink to the ones supported
by the interface so that user modules do not receive the resolutions
which are not supported by the interface.

Change-Id: I63657f139cd7b058d211c306fb596ac5d80f2495
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
7 years agomdss: DisplayPort: update link-training settings and do DP reset
Chandan Uddaraju [Fri, 23 Sep 2016 22:03:14 +0000 (15:03 -0700)]
mdss: DisplayPort: update link-training settings and do DP reset

Add new settings for link-training parameters. Add
code in DP OFF to set the DP state to IDLE mode.

Add support for DP global reset before
initializing DP controller.

Change-Id: Ica893a9b56ae51b12f5d4a192b995aa966dc934e
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
7 years agomdss: DisplayPort: add support for color depth and fix workqueue delay
Chandan Uddaraju [Thu, 22 Sep 2016 22:49:21 +0000 (15:49 -0700)]
mdss: DisplayPort: add support for color depth and fix workqueue delay

Add changes to have default settings for color depth and
output format in DP controller.

Currently, the workqueue used to handle different events
in controller driver has very high delay in handling events.
Fix this.

Change-Id: I30fc7cb3c57844244ff88167a9b17b32a2fd3a12
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
7 years agoclk: msm: mdss: use lane count and orientation to configure DP PHY
Chandan Uddaraju [Wed, 5 Oct 2016 23:01:23 +0000 (16:01 -0700)]
clk: msm: mdss: use lane count and orientation to configure DP PHY

Use the information about lane count and orientation
provided in the spare MDP registers by the DP controller
driver to configure the PLL lock sequence.

Change-Id: I1d8465087be91f0a35d83a752a6c09ce27100208
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
7 years agomdss: display-port: add support to share lanes and orientation to DP Phy
Chandan Uddaraju [Wed, 21 Sep 2016 23:43:50 +0000 (16:43 -0700)]
mdss: display-port: add support to share lanes and orientation to DP Phy

The DisplayPort PHY driver needs information about the number
of lanes and the plug orientation to do additional settings.
Add code to support this.

Change-Id: Iafb890596283320dbcb2b4e2e0d83cabfdfcd18e
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
7 years agomsm: mdss: dp: fix audio teardown sequence
Tatenda Chipeperekwa [Fri, 30 Sep 2016 01:34:22 +0000 (18:34 -0700)]
msm: mdss: dp: fix audio teardown sequence

First update the audio switch node to indicate that the cable was
disconnected. Wait for the audio codec to indicate that the teardown
of the audio path has been completed, timing out after three
seconds. This ensures that the audio framework will start and end
the audio teardown while the interface VSync is still running,
ensuring a graceful shutdown of the audio path.

CRs-Fixed: 1074218
Change-Id: Ia9c792613e5cd9ac273185c6b2f4b30b5df67496
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
7 years agomsm: sde: Reject 0 size image for SDE rotator
Benjamin Chan [Thu, 6 Oct 2016 21:36:48 +0000 (17:36 -0400)]
msm: sde: Reject 0 size image for SDE rotator

Rotator HW cannot support 0 dimension of input and output image. During
V4L2 validation, it must reject any 0 size image format setting.

CRs-Fixed: 1073633
Change-Id: I503561677271c39894b7a6910fe8d9c5c25e9c28
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
7 years agoARM: dts: msm: Add icnss node for msmtriton
Hardik Kantilal Patel [Thu, 6 Oct 2016 10:35:18 +0000 (16:05 +0530)]
ARM: dts: msm: Add icnss node for msmtriton

Add Adrestea base memory address and Copy Engine interrupt
mapping entry.

CRs-fixed: 1075000
Change-Id: I4eab7df3f64f0727afd7202c03ab0343f23ef84d
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
7 years agoARM: dts: msm: Add icnss node for msmfalcon
Hardik Kantilal Patel [Thu, 6 Oct 2016 09:53:43 +0000 (15:23 +0530)]
ARM: dts: msm: Add icnss node for msmfalcon

Add Adrestea base memory address and Copy Engine interrupt
mapping entry.

CRs-fixed: 1075000
Change-Id: I91958cc1348a05c95bde62af0c7b57f6cb82ac59
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
7 years agoMerge "diag: dci: Fix possible out of bound access"
Linux Build Service Account [Fri, 7 Oct 2016 08:17:34 +0000 (01:17 -0700)]
Merge "diag: dci: Fix possible out of bound access"

7 years agoMerge "ASoC: msm: qdsp6v2: support for configurable bit format for AFE encoder"
Linux Build Service Account [Fri, 7 Oct 2016 08:17:33 +0000 (01:17 -0700)]
Merge "ASoC: msm: qdsp6v2: support for configurable bit format for AFE encoder"

7 years agoMerge "clk: qcom: clk-rcg2: Declare the rcg struct in clk_gfx3d_src_determine_rate"
Linux Build Service Account [Fri, 7 Oct 2016 08:17:33 +0000 (01:17 -0700)]
Merge "clk: qcom: clk-rcg2: Declare the rcg struct in clk_gfx3d_src_determine_rate"

7 years agowil6210: initial support for FTM and AOA
Lior David [Thu, 18 Aug 2016 19:23:31 +0000 (22:23 +0300)]
wil6210: initial support for FTM and AOA

Added initial support for fine timing measurement(FTM)
and angle of arrival (AOA). These features allow a station
to get an accurate indoor location by measuring
distance (FTM) and azimuth/elevation (AOA) to one or more
stations/APs with a known location.

The following APIs are supported:
1. Get FTM/AOA capabilities, currently hard-coded for a
single-shot measurement to an associated AP
2. Start FTM session
3. Receive FTM results
4. Start standalone AOA measurement
5. Receive AOA results

Change-Id: I54ebc1bdff6ed7d91644165b16eb0a4240069321
CRs-Fixed: 1057307
Signed-off-by: Lior David <liord@codeaurora.org>
7 years agomsm: kgsl: Get GPU snapshot if wait for global timestamp timeout
Hareesh Gundu [Thu, 18 Aug 2016 12:23:30 +0000 (17:53 +0530)]
msm: kgsl: Get GPU snapshot if wait for global timestamp timeout

If the wait for global fails due to timeout then nothing after this
point is likely to work very well. Get GPU snapshot in addition to
BUG_ON(), to analyze the GPU fault.

CRs-Fixed: 1053780
Change-Id: I29930120a72a08533c859002f646af93e67c754f
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
7 years agoclk: qcom: Add support for GPU clocks for MSMFalcon
Taniya Das [Thu, 29 Sep 2016 06:48:36 +0000 (12:18 +0530)]
clk: qcom: Add support for GPU clocks for MSMFalcon

Add support for the graphics clock controller found on MSMFalcon based
devices. This should allow graphics clocks for GFX clients to be able to do
clock functionality.

Change-Id: I753b40d574a4afc2104a5c2bfe64b4831fbce8a0
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoicnss: Provide API to check QMI support
Hardik Kantilal Patel [Mon, 3 Oct 2016 09:58:56 +0000 (15:28 +0530)]
icnss: Provide API to check QMI support

Provide API to check QMI support present or not to WLAN
host driver. Based on this information driver can pass the
DMA physical address info via shadow register to WLAN FW.

CRs-Fixed: 1073647
Change-Id: Iec9d3a3b468ddf6607e4a942bb3cf9133e9f0c34
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
7 years agoARM: dts: msm: Add and update the dummy clocks for MSMfalcon/MSMtriton
Amit Nischal [Mon, 3 Oct 2016 10:05:20 +0000 (15:35 +0530)]
ARM: dts: msm: Add and update the dummy clocks for MSMfalcon/MSMtriton

For MSMfalcon and MSMtriton, clock consumers requires dummy
rpmcc, gcc, mmss and gfx clocks for their operation so add
the support for registering dummy clocks as follows:
  - Add clock-output-names property for the rpmcc, gcc, mmss
    and gfx clock controller nodes.
  - Add reset-cells property for clock controller nodes.
  - Add two fixed clock nodes named as xo_board and sleep_clk.
  - Remove RPM clock IDs from qcom,gcc-msmfalcon.h.
  - Modify RPM clock names as per qcom,rpmcc.h file.

Change-Id: I06262fe271ab6ba81d4fa5f67315fd1b54edee8c
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
7 years agodiag: dci: Fix possible out of bound access
Manoj Prabhu B [Thu, 6 Oct 2016 04:40:13 +0000 (10:10 +0530)]
diag: dci: Fix possible out of bound access

This patch fixes the possible out of bound access by accessing
only dci supported peripheral feature.

Bug: 31864832
CRs-Fixed: 1074901
Change-Id: I99b7feb4b9af8480912a0a3b3e9834f0ecd92189
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
7 years agoMerge "regulator: cprh-kbss-regulator: add CPR aging adjustment support"
Linux Build Service Account [Fri, 7 Oct 2016 02:45:58 +0000 (19:45 -0700)]
Merge "regulator: cprh-kbss-regulator: add CPR aging adjustment support"

7 years agoMerge "regulator: cpr3-regulator: add support for CPRh aging adjustment"
Linux Build Service Account [Fri, 7 Oct 2016 02:45:57 +0000 (19:45 -0700)]
Merge "regulator: cpr3-regulator: add support for CPRh aging adjustment"

7 years agoMerge "clk: msm: mdss: update PLL configuration to clear precalibrated values"
Linux Build Service Account [Fri, 7 Oct 2016 02:45:56 +0000 (19:45 -0700)]
Merge "clk: msm: mdss: update PLL configuration to clear precalibrated values"

7 years agoMerge "usb: gadget: f_mtp: Handle mtp os desc properly"
Linux Build Service Account [Fri, 7 Oct 2016 02:45:55 +0000 (19:45 -0700)]
Merge "usb: gadget: f_mtp: Handle mtp os desc properly"

7 years agoMerge "clk: msm: clock-osm: Use read back instead of memory barrier on MSMCOBALT"
Linux Build Service Account [Fri, 7 Oct 2016 02:45:54 +0000 (19:45 -0700)]
Merge "clk: msm: clock-osm: Use read back instead of memory barrier on MSMCOBALT"

7 years agoMerge "defconfig: msm: enable display related configs for 32-bit msmfalcon"
Linux Build Service Account [Fri, 7 Oct 2016 02:45:54 +0000 (19:45 -0700)]
Merge "defconfig: msm: enable display related configs for 32-bit msmfalcon"

7 years agoMerge "dwc3-msm: Acquire lock for USB GSI endpoint related operations"
Linux Build Service Account [Fri, 7 Oct 2016 02:45:53 +0000 (19:45 -0700)]
Merge "dwc3-msm: Acquire lock for USB GSI endpoint related operations"

7 years agoMerge "usb: gadget: f_gsi: Enable auto detect RNDIS device on windows OS"
Linux Build Service Account [Fri, 7 Oct 2016 02:45:51 +0000 (19:45 -0700)]
Merge "usb: gadget: f_gsi: Enable auto detect RNDIS device on windows OS"

7 years agoMerge "sched/tune: add sysctl interface to define a boost value"
Linux Build Service Account [Fri, 7 Oct 2016 02:45:50 +0000 (19:45 -0700)]
Merge "sched/tune: add sysctl interface to define a boost value"

7 years agoMerge "ARM: dts: msm: Add a dtsi file for msmcobalt QRD device"
Linux Build Service Account [Fri, 7 Oct 2016 02:45:49 +0000 (19:45 -0700)]
Merge "ARM: dts: msm: Add a dtsi file for msmcobalt QRD device"

7 years agoMerge "thermal: lmh_lite: Page align all the buffers to TZ"
Linux Build Service Account [Fri, 7 Oct 2016 02:45:48 +0000 (19:45 -0700)]
Merge "thermal: lmh_lite: Page align all the buffers to TZ"

7 years agoMerge "ASoC: msmcobalt: Update machine driver to support 32 bit format"
Linux Build Service Account [Fri, 7 Oct 2016 02:45:47 +0000 (19:45 -0700)]
Merge "ASoC: msmcobalt: Update machine driver to support 32 bit format"

7 years agoMerge "ASoc: msm: Enable support for 32 bit format and 384Khz"
Linux Build Service Account [Fri, 7 Oct 2016 02:45:47 +0000 (19:45 -0700)]
Merge "ASoc: msm: Enable support for 32 bit format and 384Khz"

7 years agoMerge "ASoC: msm: qdsp6v2: add support for latest version of media format command"
Linux Build Service Account [Fri, 7 Oct 2016 02:45:46 +0000 (19:45 -0700)]
Merge "ASoC: msm: qdsp6v2: add support for latest version of media format command"