OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "power: qpnp-fg-gen3: Add support to clamp ESR"
Linux Build Service Account [Thu, 2 Mar 2017 02:38:30 +0000 (18:38 -0800)]
Merge "power: qpnp-fg-gen3: Add support to clamp ESR"

7 years agoMerge "msm: camera: isp: Check userspace parameters"
Linux Build Service Account [Thu, 2 Mar 2017 02:38:29 +0000 (18:38 -0800)]
Merge "msm: camera: isp: Check userspace parameters"

7 years agoMerge "icnss: Trigger recovery only if PDR enabled"
Linux Build Service Account [Thu, 2 Mar 2017 02:38:28 +0000 (18:38 -0800)]
Merge "icnss: Trigger recovery only if PDR enabled"

7 years agoMerge "wil6210: remove "No Snoop" settings for RX transactions"
Linux Build Service Account [Thu, 2 Mar 2017 02:38:27 +0000 (18:38 -0800)]
Merge "wil6210: remove "No Snoop" settings for RX transactions"

7 years agoMerge "ASoC: msm8998: Add micbias configuration for MBHC"
Linux Build Service Account [Wed, 1 Mar 2017 19:09:04 +0000 (11:09 -0800)]
Merge "ASoC: msm8998: Add micbias configuration for MBHC"

7 years agoMerge "defconfig: msm: Enable DRM"
Linux Build Service Account [Wed, 1 Mar 2017 19:09:03 +0000 (11:09 -0800)]
Merge "defconfig: msm: Enable DRM"

7 years agoMerge "power: bcl_peripheral: Enable BCL LMH algorithm only once"
Linux Build Service Account [Wed, 1 Mar 2017 19:09:02 +0000 (11:09 -0800)]
Merge "power: bcl_peripheral: Enable BCL LMH algorithm only once"

7 years agoMerge "ARM: dts: msm: Add SMB1381 device node for SDM630 QRD"
Linux Build Service Account [Wed, 1 Mar 2017 19:09:02 +0000 (11:09 -0800)]
Merge "ARM: dts: msm: Add SMB1381 device node for SDM630 QRD"

7 years agoMerge "power: supply: qcom: remove unused drivers"
Linux Build Service Account [Wed, 1 Mar 2017 19:09:01 +0000 (11:09 -0800)]
Merge "power: supply: qcom: remove unused drivers"

7 years agoMerge "power: qcom-battery: Add sysfs to restrict charging"
Linux Build Service Account [Wed, 1 Mar 2017 19:09:00 +0000 (11:09 -0800)]
Merge "power: qcom-battery: Add sysfs to restrict charging"

7 years agoMerge "ARM: dts: msm: Upgrade actuator cci master for SDM660 QRD"
Linux Build Service Account [Wed, 1 Mar 2017 19:08:59 +0000 (11:08 -0800)]
Merge "ARM: dts: msm: Upgrade actuator cci master for SDM660 QRD"

7 years agoMerge "ARM: dts: msm: Add device tree settings for A540 DRM on msm8998"
Linux Build Service Account [Wed, 1 Mar 2017 10:23:05 +0000 (02:23 -0800)]
Merge "ARM: dts: msm: Add device tree settings for A540 DRM on msm8998"

7 years agoMerge "ARM: dts: msm: enable ESD, ULPS and partial update on sdm630"
Linux Build Service Account [Wed, 1 Mar 2017 10:23:04 +0000 (02:23 -0800)]
Merge "ARM: dts: msm: enable ESD, ULPS and partial update on sdm630"

7 years agoMerge "sched: Print aggregation status in sched_get_busy trace event"
Linux Build Service Account [Wed, 1 Mar 2017 10:23:03 +0000 (02:23 -0800)]
Merge "sched: Print aggregation status in sched_get_busy trace event"

7 years agoMerge "USB: u_data_ipa: Fix pm_runtime_get/put() mismatch"
Linux Build Service Account [Wed, 1 Mar 2017 10:23:03 +0000 (02:23 -0800)]
Merge "USB: u_data_ipa: Fix pm_runtime_get/put() mismatch"

7 years agoMerge "esoc: Add check for possible null pointer returns"
Linux Build Service Account [Wed, 1 Mar 2017 10:23:01 +0000 (02:23 -0800)]
Merge "esoc: Add check for possible null pointer returns"

7 years agoMerge "USB: composite: Release spinlock before WARN()"
Linux Build Service Account [Wed, 1 Mar 2017 10:23:00 +0000 (02:23 -0800)]
Merge "USB: composite: Release spinlock before WARN()"

7 years agoMerge "soc: qcom: sysmon-qmi: fix object corruption due to use after free"
Linux Build Service Account [Wed, 1 Mar 2017 10:22:59 +0000 (02:22 -0800)]
Merge "soc: qcom: sysmon-qmi: fix object corruption due to use after free"

7 years agoMerge "msm: mhi_rmnet: If failed, do not retry to queue UL buffers"
Linux Build Service Account [Wed, 1 Mar 2017 10:22:58 +0000 (02:22 -0800)]
Merge "msm: mhi_rmnet: If failed, do not retry to queue UL buffers"

7 years agoMerge "power: bcl: Serialize frequency mitigation request from BCL events"
Linux Build Service Account [Wed, 1 Mar 2017 10:22:57 +0000 (02:22 -0800)]
Merge "power: bcl: Serialize frequency mitigation request from BCL events"

7 years agoMerge "ASoC: wsa881x: remove retry logic in swr_startup"
Linux Build Service Account [Wed, 1 Mar 2017 10:22:56 +0000 (02:22 -0800)]
Merge "ASoC: wsa881x: remove retry logic in swr_startup"

7 years agoMerge "ARM: dts: msm: Add PBS client node for PM660"
Linux Build Service Account [Wed, 1 Mar 2017 10:22:55 +0000 (02:22 -0800)]
Merge "ARM: dts: msm: Add PBS client node for PM660"

7 years agoMerge "regulator: qpnp-oledb: Add lab_vreg_ok notifier callback"
Linux Build Service Account [Wed, 1 Mar 2017 10:22:54 +0000 (02:22 -0800)]
Merge "regulator: qpnp-oledb: Add lab_vreg_ok notifier callback"

7 years agoMerge "defconfig: sdm630: Disable CONFIG_ICNSS_DEBUG"
Linux Build Service Account [Wed, 1 Mar 2017 10:22:53 +0000 (02:22 -0800)]
Merge "defconfig: sdm630: Disable CONFIG_ICNSS_DEBUG"

7 years agoMerge "defconfig: enable ARMV8-CE on sdm660"
Linux Build Service Account [Wed, 1 Mar 2017 10:22:52 +0000 (02:22 -0800)]
Merge "defconfig: enable ARMV8-CE on sdm660"

7 years agoMerge "defconfig: msm: Enable ARM64_STRICT_BREAK_BEFORE_MAKE flag"
Linux Build Service Account [Wed, 1 Mar 2017 10:22:51 +0000 (02:22 -0800)]
Merge "defconfig: msm: Enable ARM64_STRICT_BREAK_BEFORE_MAKE flag"

7 years agoMerge "coresight-tpdm: fix multiple datasets allocation issue"
Linux Build Service Account [Wed, 1 Mar 2017 10:22:51 +0000 (02:22 -0800)]
Merge "coresight-tpdm: fix multiple datasets allocation issue"

7 years agoMerge "ARM: dts: msm: Add thermistor support for PM660"
Linux Build Service Account [Wed, 1 Mar 2017 10:22:50 +0000 (02:22 -0800)]
Merge "ARM: dts: msm: Add thermistor support for PM660"

7 years agoMerge "ARM: dts: msm: Add GPU power level speed bins for SDM630"
Linux Build Service Account [Wed, 1 Mar 2017 10:22:49 +0000 (02:22 -0800)]
Merge "ARM: dts: msm: Add GPU power level speed bins for SDM630"

7 years agoMerge "icnss: Vote for hardware resources"
Linux Build Service Account [Wed, 1 Mar 2017 10:22:48 +0000 (02:22 -0800)]
Merge "icnss: Vote for hardware resources"

7 years agoMerge "ASoC: msm8998: Add fractional sampling rate support for HDMI"
Linux Build Service Account [Wed, 1 Mar 2017 10:22:46 +0000 (02:22 -0800)]
Merge "ASoC: msm8998: Add fractional sampling rate support for HDMI"

7 years agoMerge "f_gsi: Don't reconfigure USB GSI eps multiple time with cable connect case"
Linux Build Service Account [Wed, 1 Mar 2017 10:22:45 +0000 (02:22 -0800)]
Merge "f_gsi: Don't reconfigure USB GSI eps multiple time with cable connect case"

7 years agoMerge "f_gsi: Don't send end xfer command when USB is into U3 state"
Linux Build Service Account [Wed, 1 Mar 2017 10:22:44 +0000 (02:22 -0800)]
Merge "f_gsi: Don't send end xfer command when USB is into U3 state"

7 years agoMerge "ARM: dts: msm: Update SDCC LPM latencies for sdm660"
Linux Build Service Account [Wed, 1 Mar 2017 10:22:43 +0000 (02:22 -0800)]
Merge "ARM: dts: msm: Update SDCC LPM latencies for sdm660"

7 years agoMerge "msm: camera: isp: Handle array out of bounds"
Linux Build Service Account [Wed, 1 Mar 2017 10:22:43 +0000 (02:22 -0800)]
Merge "msm: camera: isp: Handle array out of bounds"

7 years agoARM: dts: msm: Add SMB1381 device node for SDM630 QRD
Yingwei Zhao [Fri, 24 Feb 2017 07:23:46 +0000 (15:23 +0800)]
ARM: dts: msm: Add SMB1381 device node for SDM630 QRD

SMB1381 acts as a slave charger in SDM630 QRD board. Add device node
to support it.

CRs-Fixed: 2012488
Change-Id: I03803eddc9db5f9bc7901225fa2defd8bcf0e32d
Signed-off-by: Yingwei Zhao <cyizhao@codeaurora.org>
7 years agopower: bcl_peripheral: Enable BCL LMH algorithm only once
Manaf Meethalavalappu Pallikunhi [Wed, 15 Feb 2017 12:39:35 +0000 (18:09 +0530)]
power: bcl_peripheral: Enable BCL LMH algorithm only once

Currently BCL LMH algorithm enable request goes for every time BCL
threshold enablement. It needs to be enabled only once. So Enable
BCL LMH algorithm only once.

Change-Id: I94c7326b7730830f71b71c92df21a589ddd2347b
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
7 years agopower: bcl: Fix battery SoC read and evaluation whenever BCL enabled
Manaf Meethalavalappu Pallikunhi [Wed, 15 Feb 2017 12:11:55 +0000 (17:41 +0530)]
power: bcl: Fix battery SoC read and evaluation whenever BCL enabled

Just after enabling BCL, reading and evaluating current battery SoC
is bypassed. Because of this, during this same time if battery SoC
is less than preset threshold, BCL doesn't mitigate until next battery
SoC change notification comes. Fix battery SoC read and evaluation
path whenever BCL is enabled.

CRs-Fixed: 2007133
Change-Id: I65639ab078875dc3f6940fd1a89201af98e40881
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
7 years agopower: qpnp-fg-gen3: Add support to clamp ESR
Subbaraman Narayanamurthy [Sat, 25 Feb 2017 00:04:46 +0000 (16:04 -0800)]
power: qpnp-fg-gen3: Add support to clamp ESR

If ESR value goes to 0 because of some hardware issue, there is
no way to recover it back from that state. This causes incorrect
SOC reporting leading to a bad user experience. Hence add support
to clamp ESR value based on user defined DT property so that ESR
can be clamped to this value once it is found to go below it.

Since this change modifies ESR value in SRAM, having FG_SRAM_ESR
property would make encode and decode the value easier. Hence
remove fg_get_battery_esr() and get it from FG_SRAM_ESR property.

CRs-Fixed: 2011200
Change-Id: I96250b44f52d6208f3c64fb9e61f70ea41f54f4e
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agopower: qcom-battery: Add sysfs to restrict charging
Anirudh Ghayal [Tue, 28 Feb 2017 10:16:02 +0000 (15:46 +0530)]
power: qcom-battery: Add sysfs to restrict charging

Add sysfs files for user applications to restrict
the battery charge current (FCC). The two files in
/sys/class/qcom-battery/ are -

1. restricted_charging: To enable/disable this feature
2. restricted_current: Restricted FCC (uA)

The default restricted_current value is 1A.

CRs-Fixed: 1113761
Change-Id: I23a6796eaa0c41c2e93a52c45f6200326d262e99
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
7 years agopower: supply: qcom: remove unused drivers
Abhijeet Dharmapurikar [Tue, 28 Feb 2017 23:47:52 +0000 (15:47 -0800)]
power: supply: qcom: remove unused drivers

qpnp-fg and qpnp-smbcharger are not supported anymore. Remove them.

Change-Id: Icc010cd77d9d1e839a6dfa681b65e19b8978fb56
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
7 years agoMerge "msm: kgsl: Add GPU Cx ipeak client support on SDM660"
Linux Build Service Account [Wed, 1 Mar 2017 01:03:51 +0000 (17:03 -0800)]
Merge "msm: kgsl: Add GPU Cx ipeak client support on SDM660"

7 years agoMerge "msm: ADSPRPC: Unregister glink notification handle after SSR"
Linux Build Service Account [Wed, 1 Mar 2017 01:03:50 +0000 (17:03 -0800)]
Merge "msm: ADSPRPC: Unregister glink notification handle after SSR"

7 years agoMerge "msm: camera: isp: Do not wait w/o interruptible"
Linux Build Service Account [Wed, 1 Mar 2017 01:03:49 +0000 (17:03 -0800)]
Merge "msm: camera: isp: Do not wait w/o interruptible"

7 years agoMerge "msm: kgsl: Clean up device debugfs files on removal"
Linux Build Service Account [Wed, 1 Mar 2017 01:03:48 +0000 (17:03 -0800)]
Merge "msm: kgsl: Clean up device debugfs files on removal"

7 years agoMerge "msm: camera: jpegdma: fix compilation issues for sdm660"
Linux Build Service Account [Wed, 1 Mar 2017 01:03:47 +0000 (17:03 -0800)]
Merge "msm: camera: jpegdma: fix compilation issues for sdm660"

7 years agoMerge "msm: qpnp-haptic: Manage the state of PON regulator"
Linux Build Service Account [Wed, 1 Mar 2017 01:03:45 +0000 (17:03 -0800)]
Merge "msm: qpnp-haptic: Manage the state of PON regulator"

7 years agoMerge "msm: qpnp-haptic: add additional checks to avoid division by zero."
Linux Build Service Account [Wed, 1 Mar 2017 01:03:45 +0000 (17:03 -0800)]
Merge "msm: qpnp-haptic: add additional checks to avoid division by zero."

7 years agoMerge "msm: camera: Fix invalid access of vb2 buffer"
Linux Build Service Account [Wed, 1 Mar 2017 01:03:44 +0000 (17:03 -0800)]
Merge "msm: camera: Fix invalid access of vb2 buffer"

7 years agoMerge "msm: camera: Correct the settings for csiphy clock lane"
Linux Build Service Account [Wed, 1 Mar 2017 01:03:43 +0000 (17:03 -0800)]
Merge "msm: camera: Correct the settings for csiphy clock lane"

7 years agoMerge "ARM: dts: msm: Add stmVL53L0 device entry"
Linux Build Service Account [Wed, 1 Mar 2017 01:03:42 +0000 (17:03 -0800)]
Merge "ARM: dts: msm: Add stmVL53L0 device entry"

7 years agoMerge "msm: camera: isp: add support for CX iPeak limits management"
Linux Build Service Account [Wed, 1 Mar 2017 01:03:41 +0000 (17:03 -0800)]
Merge "msm: camera: isp: add support for CX iPeak limits management"

7 years agoicnss: Trigger recovery only if PDR enabled
Prashanth Bhatta [Tue, 28 Feb 2017 22:12:02 +0000 (14:12 -0800)]
icnss: Trigger recovery only if PDR enabled

To trigger WLAN host initiated WLAN FW recovery, platform driver
needs to have service notifier handle. Service notifier handle is
obtained only when service locator locates the WLAN user PD. If
service locator doesn't locate the WLAN user PD then service
notifier handle can be NULL. Add sanity check to make sure PDR is
enabled in platform driver before triggering PD restart.

Change-Id: I5524060cc1f4bfff7faf7f3736455beb73801f4a
CRs-fixed: 2012995
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
7 years agomsm: mhi_rmnet: If failed, do not retry to queue UL buffers
Sujeev Dias [Tue, 30 Aug 2016 02:00:03 +0000 (19:00 -0700)]
msm: mhi_rmnet: If failed, do not retry to queue UL buffers

If MHI failed to queue the buffer, do not attempt to re-queue.
Instead wait for transfer completion event and restart
the UL queue.

Change-Id: Id57db52e0eb2e5930ec228a920d109fef941389f
CRs-Fixed: 1055681
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
7 years agomhi: rmnet: Add bg worker to allocate memory
Sujeev Dias [Fri, 8 Jul 2016 00:25:53 +0000 (17:25 -0700)]
mhi: rmnet: Add bg worker to allocate memory

On memory stress conditions, host could
fails to allocate memory on atomic context.
Schedule a background worker to allocate
memory in such conditions.

CRs-Fixed: 1037593
Change-Id: Ia48b31622fcb043d31d197fab0a84ab40fc5c0ba
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
7 years agomhi: rmnet: remove debug message regarding invalid buff
Tony Truong [Sat, 5 Mar 2016 02:30:31 +0000 (18:30 -0800)]
mhi: rmnet: remove debug message regarding invalid buff

The debug message does not accurately describe the reason
for rmnet to reschedule the request.

CRs-Fixed: 1016968
Change-Id: I49fa6a0dbdd9dec7a36f5705b9e8d27bc7352286
Signed-off-by: Tony Truong <truong@codeaurora.org>
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
7 years agodefconfig: msm: Enable DRM
Jordan Crouse [Fri, 24 Feb 2017 15:04:51 +0000 (08:04 -0700)]
defconfig: msm: Enable DRM

Enable the DRM KMS/GPU driver for the mediabox configuration.

Change-Id: Ic0dedbadf5d12793c13563059872d2970bea8398
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
7 years agoARM: dts: msm: Add device tree settings for A540 DRM on msm8998
Jordan Crouse [Fri, 24 Feb 2017 15:04:17 +0000 (08:04 -0700)]
ARM: dts: msm: Add device tree settings for A540 DRM on msm8998

Enable the various settings to enable A540 DRM/GPU driver on
msm8998.

Change-Id: Ic0dedbadf7d4dbaaa75c24dde64ff13faf1283b9
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
7 years agoASoC: wsa881x: remove retry logic in swr_startup
Laxminath Kasam [Tue, 28 Feb 2017 15:15:55 +0000 (20:45 +0530)]
ASoC: wsa881x: remove retry logic in swr_startup

Avoid retry logic in swr_startup API as it results
in speaker mute on sdm660 external codec.

CRs-Fixed: 2012814
Change-Id: Ic8876fd6e62081253a46e4e896d154043d5170db
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
7 years agowil6210: remove "No Snoop" settings for RX transactions
Maya Erez [Tue, 28 Feb 2017 13:45:38 +0000 (15:45 +0200)]
wil6210: remove "No Snoop" settings for RX transactions

"No Snoop" for RX transactions was previously set as a WA for a
PCIe HW issue. As the PCIe HW issue is fixed, the WA no longer
required.
Removal of the "No Snoop" bit will allow enabling DMA coherency
when SMMU is enabled.

Change-Id: I2030ea7182316ae18483ffb79d0a1de4d90f2fda
Signed-off-by: Maya Erez <merez@codeaurora.org>
7 years agodefconfig: sdm630: Disable CONFIG_ICNSS_DEBUG
Hardik Kantilal Patel [Tue, 28 Feb 2017 12:59:57 +0000 (18:29 +0530)]
defconfig: sdm630: Disable CONFIG_ICNSS_DEBUG

Disable CONFIG_ICNSS_DEBUG now that solution is stable.

CRs-fixed: 2012235
Change-Id: I42dca2b723c7b3614a6d9c1c5e73ecbd6ae84a4c
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
7 years agoUSB: composite: Release spinlock before WARN()
Vijayavardhan Vennapusa [Fri, 24 Feb 2017 09:39:44 +0000 (15:09 +0530)]
USB: composite: Release spinlock before WARN()

if WARN() is called under spinlock, it will lead crash due to
watchdog timeout. Hence fix it by releasing spinlock before calling
WARN(). And also check cdev->config is NULL or not before calling
WARN().

Change-Id: Iebd00932b94164e9f40aa6126a2352437b1141ed
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
7 years agoARM: dts: msm: Upgrade actuator cci master for SDM660 QRD
Kui Wang [Tue, 28 Feb 2017 01:21:50 +0000 (09:21 +0800)]
ARM: dts: msm: Upgrade actuator cci master for SDM660 QRD

Update actuator cci master for aux camera sensor of
SDM660 QRD device.

Change-Id: I9426b6cad5ed162f086b434950d2c854a9ba5223
Signed-off-by: Kui Wang <kuiw@codeaurora.org>
7 years agodefconfig: msm: Enable ARM64_STRICT_BREAK_BEFORE_MAKE flag
Srinivas Ramana [Tue, 28 Feb 2017 09:25:42 +0000 (14:55 +0530)]
defconfig: msm: Enable ARM64_STRICT_BREAK_BEFORE_MAKE flag

Enable config ARM64_STRICT_BREAK_BEFORE_MAKE to detect
break-before-make violations in set_pte and print a warning.

Change-Id: Idb7f5a7a1e46b6738659931188e143acd31a7ffa
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
7 years agocoresight-tpdm: fix multiple datasets allocation issue
Shashank Mittal [Wed, 31 Aug 2016 01:07:30 +0000 (18:07 -0700)]
coresight-tpdm: fix multiple datasets allocation issue

TPDM driver is allocating memory for TPDM datasets at two places which
leads to a memory leak issue.

Fix this issue by getting rid of one allocation call.

Change-Id: I9ac26cabe09dcbabeafd5a14aa85fc59a966d4dd
Signed-off-by: Saranya Chidura <schidura@codeaurora.org>
7 years agoARM: dts: msm: Add thermistor support for PM660
Rama Krishna Phani A [Wed, 22 Feb 2017 09:33:27 +0000 (15:03 +0530)]
ARM: dts: msm: Add thermistor support for PM660

Thermal clients will be monitoring thermistors for
temperature mitigations. Add emmc_therm support for PM660.

Change-Id: I71f109a3a99b5d962c7101f348141a4cae921a8d
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
7 years agoMerge "arm64: Disable KASAN in uwwind_frame"
Linux Build Service Account [Tue, 28 Feb 2017 07:37:29 +0000 (23:37 -0800)]
Merge "arm64: Disable KASAN in uwwind_frame"

7 years agoMerge "msm: kgsl: Add efuse read capabilities for A508 GPU"
Linux Build Service Account [Tue, 28 Feb 2017 07:37:28 +0000 (23:37 -0800)]
Merge "msm: kgsl: Add efuse read capabilities for A508 GPU"

7 years agoMerge "i2c-msm-v2: Enable/Disable clocks and gpios per transfer"
Linux Build Service Account [Tue, 28 Feb 2017 07:37:27 +0000 (23:37 -0800)]
Merge "i2c-msm-v2: Enable/Disable clocks and gpios per transfer"

7 years agoMerge "qseecom: add mutex around qseecom_set_client_mem_param"
Linux Build Service Account [Tue, 28 Feb 2017 07:37:26 +0000 (23:37 -0800)]
Merge "qseecom: add mutex around qseecom_set_client_mem_param"

7 years agoMerge "msm: mdss: Allocate DMA pipe for pan display path"
Linux Build Service Account [Tue, 28 Feb 2017 07:37:26 +0000 (23:37 -0800)]
Merge "msm: mdss: Allocate DMA pipe for pan display path"

7 years agoMerge "msm: sde: Add mutex lock for debug buffer access in rotator"
Linux Build Service Account [Tue, 28 Feb 2017 07:37:25 +0000 (23:37 -0800)]
Merge "msm: sde: Add mutex lock for debug buffer access in rotator"

7 years agoMerge "msm: mdss: add support for Cx iPeak limit management"
Linux Build Service Account [Tue, 28 Feb 2017 07:37:24 +0000 (23:37 -0800)]
Merge "msm: mdss: add support for Cx iPeak limit management"

7 years agoMerge "Revert "firmware_class: Add an additional path to fw_path list""
Linux Build Service Account [Tue, 28 Feb 2017 07:37:22 +0000 (23:37 -0800)]
Merge "Revert "firmware_class: Add an additional path to fw_path list""

7 years agoMerge "soc: qcom: Notify clients in case qmi connection to service locator fails"
Linux Build Service Account [Tue, 28 Feb 2017 07:37:22 +0000 (23:37 -0800)]
Merge "soc: qcom: Notify clients in case qmi connection to service locator fails"

7 years agoMerge "f_gsi: Make usb ipa wq as freezable workqueue"
Linux Build Service Account [Tue, 28 Feb 2017 07:37:20 +0000 (23:37 -0800)]
Merge "f_gsi: Make usb ipa wq as freezable workqueue"

7 years agoMerge "msm: ipa: increment GSI command timeout"
Linux Build Service Account [Tue, 28 Feb 2017 07:37:20 +0000 (23:37 -0800)]
Merge "msm: ipa: increment GSI command timeout"

7 years agoMerge "msm: kgsl: Add placeholders for KGSL power limit functions"
Linux Build Service Account [Tue, 28 Feb 2017 07:37:19 +0000 (23:37 -0800)]
Merge "msm: kgsl: Add placeholders for KGSL power limit functions"

7 years agoMerge "msm: ipa3: Fix uninitialized variables access"
Linux Build Service Account [Tue, 28 Feb 2017 07:37:18 +0000 (23:37 -0800)]
Merge "msm: ipa3: Fix uninitialized variables access"

7 years agoMerge "msm: ipa3: Validate IPA client mapping to endpoint index"
Linux Build Service Account [Tue, 28 Feb 2017 07:37:18 +0000 (23:37 -0800)]
Merge "msm: ipa3: Validate IPA client mapping to endpoint index"

7 years agoMerge "ARM: dts: msm: Allow modem MBA to be loaded in carveout for SDM660"
Linux Build Service Account [Tue, 28 Feb 2017 07:37:16 +0000 (23:37 -0800)]
Merge "ARM: dts: msm: Allow modem MBA to be loaded in carveout for SDM660"

7 years agoMerge "ARM: dts: msm: change memlat vote for min freq on SDM630"
Linux Build Service Account [Tue, 28 Feb 2017 07:37:16 +0000 (23:37 -0800)]
Merge "ARM: dts: msm: change memlat vote for min freq on SDM630"

7 years agoMerge "ASoC: msm: Fix kernel crash in "Speaker Function" mixer control"
Linux Build Service Account [Tue, 28 Feb 2017 07:37:15 +0000 (23:37 -0800)]
Merge "ASoC: msm: Fix kernel crash in "Speaker Function" mixer control"

7 years agoMerge "defconfig: msm: Enable PBS driver support for sdm660"
Linux Build Service Account [Tue, 28 Feb 2017 07:37:14 +0000 (23:37 -0800)]
Merge "defconfig: msm: Enable PBS driver support for sdm660"

7 years agoMerge "ARM: dts: msm: Update GFX PM-QoS values for SDM660"
Linux Build Service Account [Tue, 28 Feb 2017 07:37:13 +0000 (23:37 -0800)]
Merge "ARM: dts: msm: Update GFX PM-QoS values for SDM660"

7 years agoMerge "qcom: smb138x: Average 10 die temperature samples"
Linux Build Service Account [Tue, 28 Feb 2017 07:37:12 +0000 (23:37 -0800)]
Merge "qcom: smb138x: Average 10 die temperature samples"

7 years agoMerge "qcom: smb138x: set the freq to 700Khz"
Linux Build Service Account [Tue, 28 Feb 2017 07:37:11 +0000 (23:37 -0800)]
Merge "qcom: smb138x: set the freq to 700Khz"

7 years agoARM: dts: msm: enable ESD, ULPS and partial update on sdm630
Ashish Garg [Fri, 24 Feb 2017 06:56:20 +0000 (12:26 +0530)]
ARM: dts: msm: enable ESD, ULPS and partial update on sdm630

Add the minimum and maximum fps supported and enable dynamic
fps and esd for fhd video mode panel. Enable ESD, ULPS for
NT and Truly command mode panels. Enable partial update for
truly fhd command mode panel.

Change-Id: I0fe5502d74903e13544603154e853f4b486ca7be
Signed-off-by: Ashish Garg <ashigarg@codeaurora.org>
7 years agoARM: dts: msm: Add PBS client node for PM660
Kiran Gunda [Tue, 21 Feb 2017 09:38:21 +0000 (15:08 +0530)]
ARM: dts: msm: Add PBS client node for PM660

Add PBS client node to trigger the PBS RAM event
for PM660.

Change-Id: I1be534e63d8121ac6b3cd290ba170ff15012d306
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
7 years agoregulator: qpnp-oledb: Add lab_vreg_ok notifier callback
Kiran Gunda [Mon, 13 Feb 2017 14:25:40 +0000 (19:55 +0530)]
regulator: qpnp-oledb: Add lab_vreg_ok notifier callback

OLEDB driver needs the LAB_VREG_OK status to program the PD_CTL
register after the oledb module is enabled. As this status register
is not accessible from the OLEDB driver, register a notifier callback
with LABIBB driver to get LAB_VREG_OK status.

Change-Id: I85009688a2accb6246135d22e08ee21fb8296f62
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
7 years agoi2c-msm-v2: Enable/Disable clocks and gpios per transfer
Dilip Kota [Mon, 9 May 2016 07:36:23 +0000 (13:06 +0530)]
i2c-msm-v2: Enable/Disable clocks and gpios per transfer

With QUP in shared mode, enabling and disabling the
resources in runtime pm will cause failure of
transactions over the QUP that are running on other
execution environment. To avoid the failure
enable/disable gpios and clocks of QUP per transfer.

Also move the clock prepare and unprepare calls
to runtime pm APIs from the transfer API to
reduce the latencies in the transactions.

Change-Id: Ic697cdc544405d86ec7c675922c18c00fec451a6
Signed-off-by: Dilip Kota <dkota@codeaurora.org>
Signed-off-by: Shrey Vijay <shreyv@codeaurora.org>
7 years agoARM: dts: msm: Allow modem MBA to be loaded in carveout for SDM660
Gaurav Kohli [Wed, 15 Feb 2017 11:31:00 +0000 (17:01 +0530)]
ARM: dts: msm: Allow modem MBA to be loaded in carveout for SDM660

Add sub-device node to allow mba to be able to load in carveout
memory region for SDM660.

Change-Id: I0e9932a0a779a66b7a3d4b682a60885cb7d799c5
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
7 years agosoc: qcom: sysmon-qmi: fix object corruption due to use after free
Satya Durga Srinivasu Prabhala [Tue, 21 Feb 2017 21:34:06 +0000 (13:34 -0800)]
soc: qcom: sysmon-qmi: fix object corruption due to use after free

While executing multimedia tests which include ADSP SSR testing,
below object corruption observed due to use after free condition.
Add mutex lock to fix the issue.

===============================================
BUG kmalloc-1024 (Tainted: G        W  O   ): \
Poison overwritten
-----------------------------------------------

INFO: 0xffffffc030db0cb0-0xffffffc030db0cba. \
First byte 0xff instead of 0x6b
INFO: Allocated in qmi_handle_create+0x4c/0x320 \
age=14486 cpu=4 pid=32505
alloc_debug_processing+0x138/0x18c
___slab_alloc.constprop.61+0x4ec/0x5d0
__slab_alloc.isra.58.constprop.60+0x48/0x74
kmem_cache_alloc_trace+0xd4/0x25c
qmi_handle_create+0x4c/0x320
sysmon_clnt_svc_arrive+0x34/0xe4
process_one_work+0x234/0x40c
worker_thread+0x2e0/0x410
kthread+0xf4/0xfc
ret_from_fork+0x10/0x40
INFO: Freed in qmi_handle_destroy+0x154/0x16c \
age=1159 cpu=4 pid=3784
free_debug_processing+0x290/0x368
__slab_free+0x74/0x3ac
kfree+0x21c/0x290
qmi_handle_destroy+0x154/0x16c
sysmon_clnt_svc_exit+0x20/0x30
process_one_work+0x234/0x40c
worker_thread+0x2e0/0x410
kthread+0xf4/0xfc
ret_from_fork+0x10/0x40

CRs-Fixed: 2009777
Change-Id: If3730f5f972424d49d43d552b7fd1a28e4e0b794
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
7 years agoRevert "firmware_class: Add an additional path to fw_path list"
Satya Durga Srinivasu Prabhala [Mon, 27 Feb 2017 19:27:10 +0000 (11:27 -0800)]
Revert "firmware_class: Add an additional path to fw_path list"

This reverts commit 3e47c536248f ("firmware_class: Add an
additional path to fw_path list").

Adding /firmware/images entry in fw_path is introducing selinux
denials as the access was happening under the client process
context. Removing the entry from fw_path structure.

Change-Id: I359f8defe49595a7e53558992080cb94eba42451
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
7 years agof_gsi: Don't reconfigure USB GSI eps multiple time with cable connect case
Mayank Rana [Thu, 1 Dec 2016 17:58:30 +0000 (09:58 -0800)]
f_gsi: Don't reconfigure USB GSI eps multiple time with cable connect case

Commit dbca823c25bf ("f_gsi: Don't send end xfer command when USB is
into U3 state") consolidated below usecases path for RNDIS:
1. USB RNDIS adaptor disable/enable case
2. USB RNDIS suspend/resume case
3. USB cable connect case

Due to USB GSI endpoints are getting disabled as part of above usecase
1 i.e. adaptor disable, it is required to reconfigure and re-enable USB
GSI endpoints when adaptor is enabled. USB GSI endpoints are re-configured
but not re-enabled for above usecase 3 although it is already configured
and enabled as pat of set_alt(1). Hence USB GSI endpoint are partially
configured causing no USB data transfer between USB GSI and IPA GSI which
fails IP address assignment. Fix this issue by making sure that USB GSI
endpoints are not reconfigured in above usecase 3.

CRs-Fixed: 1095920
Change-Id: I67068bac21274d715f61f9e5b83fae54e2c8e22d
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
7 years agof_gsi: Don't send end xfer command when USB is into U3 state
Mayank Rana [Thu, 6 Oct 2016 17:57:39 +0000 (10:57 -0700)]
f_gsi: Don't send end xfer command when USB is into U3 state

It is recommended to avoid sending end xfer command with USB GSI
endpoint when USB is into U3 state (i.e. bus suspended) as USB
controller may hang. USB GSI driver sends end xfer command with
suspend implementation when remote wakeup is not allowed. Hence
update IPA driver about remote wakeup status to suspend or
disconnect IPA GSI channel whereas remove sending end xfer command
to USB controller when remote wakeup is not allowed.

CRs-Fixed: 1077546
Change-Id: I3ac3714ccaf4ac9f16c26f59b9550aa825483344
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
7 years agof_gsi: Make usb ipa wq as freezable workqueue
Mayank Rana [Tue, 25 Oct 2016 22:44:11 +0000 (15:44 -0700)]
f_gsi: Make usb ipa wq as freezable workqueue

USB function driver uses usb_gadget_autopm_get() API to increments
USB controller device's PM runtime usage and child count, and also
expects that USB controller is resumed. Late suspend disables USB
controller device's PM runtime functionality by incrementing
disable_depth count and early resume enables it back once system is
resumed. This results into pm_runtime_get_sync() returning -EACCESS
when APPS is power collapsed and it is resuming due to USB bus resume
case. usb_gadget_autopm_get() API is decrementing device's PM runtime
usage count if it receives error value from pm_runtime_get_sync() API.
USB function driver doesn't check return value which results into
continuing USB operation. On next bus suspend, it decrements usage count
although it was not incremented in previous resume case which makes PM
runtime usage count negative. This can cause multiple issues as below:
1. USB bus resume may take more time causing host re-enumerating USB
gadget device
2. Unclock register access on remote wakeup case
3. USB host mode enumeration may fail due to dwc3 device usage count
is negative.

Fix this issue by making usb ipa wq as freezable workqueue which will
make sure that ipa_work_handler() work is executed only after system is
resumed and USB controller device's PM runtime is enabled.

CRs-Fixed: 10750021074383
Change-Id: I300d1a0081fafcbef3c00c63cddd49be54a651e5
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
7 years agof_gsi: Fix error handling with usb_func_ep_queue() return value
Mayank Rana [Fri, 14 Oct 2016 15:59:24 +0000 (08:59 -0700)]
f_gsi: Fix error handling with usb_func_ep_queue() return value

usb_func_ep_queue() returns -EAGAIN if usb is function suspended and
successfully remote wakeup is performed. This change fixes error
handling with USB GSI function driver to make sure caller knows that
request is actually queued or not from this context. This makes sure
that USB request is queued once USB host has resumed USB bus.

CRs-Fixed: 1033093
Change-Id: I3f3cb1b6b42530bfa93e0d4badacfe651b6bbb4c
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
7 years agomsm: ADSPRPC: Unregister glink notification handle after SSR
Sathish Ambley [Mon, 27 Feb 2017 23:49:51 +0000 (15:49 -0800)]
msm: ADSPRPC: Unregister glink notification handle after SSR

Unregister glink notification handle after SSR as otherwise it results
in the link up notification to be skipped resulting in incorrectly
completing the port open notification.

Change-Id: I668de44163a702faade1f170a74f66fb5a0c5571
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
7 years agomsm: ipa: increment GSI command timeout
Gidon Studinski [Sun, 7 Feb 2016 10:53:13 +0000 (12:53 +0200)]
msm: ipa: increment GSI command timeout

Increment GSI command timeout. This is needed since during Q6 GSI FW
authentication GSI HW is disabled and the response for the HW may be
delayed.

CRs-Fixed:
Change-Id: Ia9ed0f0163abbfd3e242c38a9aea084c1c37e8fd
Signed-off-by: Gidon Studinski <gidons@codeaurora.org>: