OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agosoc: qcom: qpnp-haptic: Remove use-play-irq and use-sc-irq flags
Subbaraman Narayanamurthy [Sat, 4 Mar 2017 02:01:56 +0000 (18:01 -0800)]
soc: qcom: qpnp-haptic: Remove use-play-irq and use-sc-irq flags

Remove use_play_irq and use_sc_irq flags as they are not really
needed. Interrupts can be obtained and registered always. Keep
the play interrupt enabled only for buffer mode.

Change-Id: Ie530819ed18b048d43d59dd7a0dc5f73cc3a9b70
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agosoc: qcom: qpnp-haptic: Overhaul the driver
Subbaraman Narayanamurthy [Thu, 2 Mar 2017 04:56:52 +0000 (20:56 -0800)]
soc: qcom: qpnp-haptic: Overhaul the driver

Currently, the driver does read-modify-write to registers in so
many places. It would be better to have a masked_write API to do
this. This also needs a change in the mask definitions used in
all places where these writes are made. Also, create separate
functions that deals with a particular configuration so that they
can be reused later.

Change-Id: Ice07297b1542640e82c7adc12d323258440edb77
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agosoc: qcom: qpnp-haptic: Fix read/write APIs
Subbaraman Narayanamurthy [Thu, 2 Mar 2017 02:05:02 +0000 (18:05 -0800)]
soc: qcom: qpnp-haptic: Fix read/write APIs

Fix the order of parameters passed into read/write APIs to make
it more readable. While at it, add a pr_fmt() to the driver to
get better log information. Also, change all dev_* APIs to pr_*
APIs for better logging.

Change-Id: Ib19f48ddbaeeb3af483ac472dabb44558a6b9e43
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agosoc: qcom: qpnp-haptic: Fix reading MISC_TRIM_ERROR_RC19P2_CLK register
Subbaraman Narayanamurthy [Wed, 8 Mar 2017 03:42:37 +0000 (19:42 -0800)]
soc: qcom: qpnp-haptic: Fix reading MISC_TRIM_ERROR_RC19P2_CLK register

Currently MISC_TRIM_ERROR_RC19P2_CLK register is hardcoded to
read the trim error in 19.2 MHz RC clock. However, this can be
located differently in some PMICs. Add support to read it from
misc device as this register cannot be directly accessed from
haptics driver.

Specify the MISC peripheral and the clock trim error register in
haptics for pmi8998 and pm660 so that haptics initial drive code
can be adjusted based on error code properly.

Change-Id: I04d8dbac0f943c65272531647c54d3c1495331e7
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agomisc: qpnp-misc: change the initcall level for qpnp-misc driver
Subbaraman Narayanamurthy [Wed, 15 Mar 2017 01:18:38 +0000 (18:18 -0700)]
misc: qpnp-misc: change the initcall level for qpnp-misc driver

Change the initcall level of qpnp-misc driver from module_init()
to subsys_initcall() so that the misc devices can be available
earlier. This helps the clients to access the registers under
misc peripheral sooner without a probe deferral.

Change-Id: Ie5df2cb9cf6842c59ec6f00ac9123994111f207b
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agoMerge "ARM: dts: msm: Fix RPM_AGGR2_NOC_CLK name change for SDM660/SDM630"
Linux Build Service Account [Mon, 13 Mar 2017 18:50:11 +0000 (11:50 -0700)]
Merge "ARM: dts: msm: Fix RPM_AGGR2_NOC_CLK name change for SDM660/SDM630"

7 years agoMerge "HID: Remove playstation4 as special driver"
Linux Build Service Account [Mon, 13 Mar 2017 18:50:10 +0000 (11:50 -0700)]
Merge "HID: Remove playstation4 as special driver"

7 years agoMerge "regulator: core: Fix voltage change propagations to supply regulators"
Linux Build Service Account [Mon, 13 Mar 2017 18:50:09 +0000 (11:50 -0700)]
Merge "regulator: core: Fix voltage change propagations to supply regulators"

7 years agoMerge "ARM: dts: msm: add rm67195 panel driver for SDM630/SDM660 PM660A QRD"
Linux Build Service Account [Mon, 13 Mar 2017 18:50:08 +0000 (11:50 -0700)]
Merge "ARM: dts: msm: add rm67195 panel driver for SDM630/SDM660 PM660A QRD"

7 years agoMerge "msm: mdss: Add support to update backlight when display commit"
Linux Build Service Account [Mon, 13 Mar 2017 18:50:06 +0000 (11:50 -0700)]
Merge "msm: mdss: Add support to update backlight when display commit"

7 years agoMerge "msm: mdss: Disable secure session after Flush for video mode panels"
Linux Build Service Account [Mon, 13 Mar 2017 18:50:05 +0000 (11:50 -0700)]
Merge "msm: mdss: Disable secure session after Flush for video mode panels"

7 years agoMerge "msm: mdss: fix conditional check for panel LP configuration"
Linux Build Service Account [Mon, 13 Mar 2017 18:50:02 +0000 (11:50 -0700)]
Merge "msm: mdss: fix conditional check for panel LP configuration"

7 years agoMerge "msm: mdss: Validate cursor image size"
Linux Build Service Account [Mon, 13 Mar 2017 18:50:01 +0000 (11:50 -0700)]
Merge "msm: mdss: Validate cursor image size"

7 years agoMerge "ARM: dts: msm: add voter clock to anoc2_smmu on sdm660/630"
Linux Build Service Account [Mon, 13 Mar 2017 18:50:01 +0000 (11:50 -0700)]
Merge "ARM: dts: msm: add voter clock to anoc2_smmu on sdm660/630"

7 years agoMerge "ath10k: Fix TCP TX throttling issue"
Linux Build Service Account [Mon, 13 Mar 2017 18:50:00 +0000 (11:50 -0700)]
Merge "ath10k: Fix TCP TX throttling issue"

7 years agoMerge "ath10k: Increase the ring size of the CE4 ring"
Linux Build Service Account [Mon, 13 Mar 2017 18:49:59 +0000 (11:49 -0700)]
Merge "ath10k: Increase the ring size of the CE4 ring"

7 years agoMerge "msm: camera: Remove exit on error conditions for smmu apis"
Linux Build Service Account [Mon, 13 Mar 2017 18:49:58 +0000 (11:49 -0700)]
Merge "msm: camera: Remove exit on error conditions for smmu apis"

7 years agoMerge "input: touchscreen: remove gt9xx goodix touch driver"
Linux Build Service Account [Mon, 13 Mar 2017 18:49:58 +0000 (11:49 -0700)]
Merge "input: touchscreen: remove gt9xx goodix touch driver"

7 years agoMerge "ARM: dts: msm: removed gpu_dl and wcss tpdm, tpda and funnels for sdm660"
Linux Build Service Account [Mon, 13 Mar 2017 18:49:56 +0000 (11:49 -0700)]
Merge "ARM: dts: msm: removed gpu_dl and wcss tpdm, tpda and funnels for sdm660"

7 years agoMerge "mmc: card: block: check the user controlled parameters to avoid overflow"
Linux Build Service Account [Mon, 13 Mar 2017 18:49:55 +0000 (11:49 -0700)]
Merge "mmc: card: block: check the user controlled parameters to avoid overflow"

7 years agoHID: Remove playstation4 as special driver
Hemant Gupta [Fri, 3 Mar 2017 14:31:00 +0000 (20:01 +0530)]
HID: Remove playstation4 as special driver

Playstation4 needs to be removed as having special hid driver
and needs to be used as generic hid driver because special
hid driver support is not working well.

CRs-Fixed: 2014640
Change-Id: Ibf053717adf043274ad3c4f889e5a88abf17e387
Signed-off-by: Hemant Gupta <hemantg@codeaurora.org>
7 years agoARM: dts: msm: Fix RPM_AGGR2_NOC_CLK name change for SDM660/SDM630
Utkarsh Saxena [Tue, 7 Mar 2017 10:26:24 +0000 (15:56 +0530)]
ARM: dts: msm: Fix RPM_AGGR2_NOC_CLK name change for SDM660/SDM630

RPM_AGGR2_NOC_CLK is separated out to allow individual voters
could vote on these clocks and voter clock would aggregate the
clock rates.

Change-Id: Ib15499a0025c422786b432a1e98380ce86692e7b
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
7 years agoARM: dts: msm: add voter clock to anoc2_smmu on sdm660/630
Charan Teja Reddy [Tue, 7 Mar 2017 06:25:57 +0000 (11:55 +0530)]
ARM: dts: msm: add voter clock to anoc2_smmu on sdm660/630

Add the proper aggr2_noc voter clock, AGGR2_NOC_SMMU_CLK, for correct
operation of anoc2 SMMU.

Change-Id: I8e9a5a455626f73ea15fbe16dd63b8fc8b26c4f0
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
7 years agoregulator: core: Fix voltage change propagations to supply regulators
Tirupathi Reddy [Fri, 10 Mar 2017 10:25:59 +0000 (15:55 +0530)]
regulator: core: Fix voltage change propagations to supply regulators

Some regulators support get_voltage and some support get_voltage_sel
operations. Do voltage change propagation only when the current
regulator has a minimum dropout voltage specified or if the current
regulator lacks both get_voltage and get_voltage_sel operations.

CRs-Fixed: 2018399
Change-Id: I24cc880d6a61c2cb489897d39a1b63199749c98d
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
7 years agomsm: camera: Remove exit on error conditions for smmu apis
Dany Rybnikov [Sun, 26 Feb 2017 15:52:06 +0000 (17:52 +0200)]
msm: camera: Remove exit on error conditions for smmu apis

The msm_camera_tz_set_mode is called for TA notification
and if the notification fails the flow should still proceed
without return.
This change prevents a fault caused by vfe remaining in
secure mode as the detach was not called in case of
notification failure.

CRs-Fixed: 2011627
Change-Id: Iefcfd72c8e2d96aba2daf2bed8d271edee0cc8c1
Signed-off-by: Dany Rybnikov <danyr@codeaurora.org>
7 years agoMerge "msm: camera: isp: support LPM on dualcamera"
Linux Build Service Account [Sat, 11 Mar 2017 18:08:13 +0000 (10:08 -0800)]
Merge "msm: camera: isp: support LPM on dualcamera"

7 years agoMerge "defconfig: msm: Enable camera for SDM660 32bit variant"
Linux Build Service Account [Sat, 11 Mar 2017 18:08:12 +0000 (10:08 -0800)]
Merge "defconfig: msm: Enable camera for SDM660 32bit variant"

7 years agoMerge "msm: camera: Bound check for num_of_stream."
Linux Build Service Account [Sat, 11 Mar 2017 18:08:11 +0000 (10:08 -0800)]
Merge "msm: camera: Bound check for num_of_stream."

7 years agoMerge "msm: camera: Prevent info leak in kernel driver."
Linux Build Service Account [Sat, 11 Mar 2017 18:08:10 +0000 (10:08 -0800)]
Merge "msm: camera: Prevent info leak in kernel driver."

7 years agoMerge "msm: camera: isp: fix for enqueue buffer failure"
Linux Build Service Account [Sat, 11 Mar 2017 18:08:09 +0000 (10:08 -0800)]
Merge "msm: camera: isp: fix for enqueue buffer failure"

7 years agoMerge "qcom: smb138x: Reduce die temperature samples for initial readings"
Linux Build Service Account [Sat, 11 Mar 2017 04:14:37 +0000 (20:14 -0800)]
Merge "qcom: smb138x: Reduce die temperature samples for initial readings"

7 years agoMerge "qcom: qpnp-smb2: update POWER_SUPPLY_PROP_CHARGER_TEMP read logic"
Linux Build Service Account [Sat, 11 Mar 2017 04:14:36 +0000 (20:14 -0800)]
Merge "qcom: qpnp-smb2: update POWER_SUPPLY_PROP_CHARGER_TEMP read logic"

7 years agoMerge "defconfig: msm: Enable RCU_STALL_WATCHDOG_BITE flag"
Linux Build Service Account [Sat, 11 Mar 2017 04:14:36 +0000 (20:14 -0800)]
Merge "defconfig: msm: Enable RCU_STALL_WATCHDOG_BITE flag"

7 years agoMerge "ARM: dts: msm: Enable continuous splash on sdm630"
Linux Build Service Account [Sat, 11 Mar 2017 04:14:35 +0000 (20:14 -0800)]
Merge "ARM: dts: msm: Enable continuous splash on sdm630"

7 years agoMerge "ARM: dts: msm: Allow modem MBA to be loaded in carveout for MSM8998"
Linux Build Service Account [Sat, 11 Mar 2017 04:14:34 +0000 (20:14 -0800)]
Merge "ARM: dts: msm: Allow modem MBA to be loaded in carveout for MSM8998"

7 years agoMerge "Perf: arm64: Use all 6 counters in tracecounters"
Linux Build Service Account [Sat, 11 Mar 2017 04:14:33 +0000 (20:14 -0800)]
Merge "Perf: arm64: Use all 6 counters in tracecounters"

7 years agoMerge "ARM: dts: msm: Add VFE efuse support for SDM630"
Linux Build Service Account [Fri, 10 Mar 2017 19:05:11 +0000 (11:05 -0800)]
Merge "ARM: dts: msm: Add VFE efuse support for SDM630"

7 years agoMerge "ARM: dts: msm: set pm660 L6/L9/L19 to not follow HW_EN1 for wcn3990"
Linux Build Service Account [Fri, 10 Mar 2017 19:05:10 +0000 (11:05 -0800)]
Merge "ARM: dts: msm: set pm660 L6/L9/L19 to not follow HW_EN1 for wcn3990"

7 years agoMerge "rcu: Induce msm watchdog bite for rcu stalls"
Linux Build Service Account [Fri, 10 Mar 2017 19:05:09 +0000 (11:05 -0800)]
Merge "rcu: Induce msm watchdog bite for rcu stalls"

7 years agoMerge "cnss_prealloc: Update pre-alloc table"
Linux Build Service Account [Fri, 10 Mar 2017 19:05:09 +0000 (11:05 -0800)]
Merge "cnss_prealloc: Update pre-alloc table"

7 years agoMerge "ARM: dts: msm: use updated clock handle to USB dt node on sdm660"
Linux Build Service Account [Fri, 10 Mar 2017 19:05:08 +0000 (11:05 -0800)]
Merge "ARM: dts: msm: use updated clock handle to USB dt node on sdm660"

7 years agoMerge "msm: wlan: Define CFG80211_CONNECT_TIMEOUT_REASON_CODE"
Linux Build Service Account [Fri, 10 Mar 2017 19:05:06 +0000 (11:05 -0800)]
Merge "msm: wlan: Define CFG80211_CONNECT_TIMEOUT_REASON_CODE"

7 years agoARM: dts: msm: Add VFE efuse support for SDM630
Venu Yeshala [Thu, 9 Mar 2017 10:53:25 +0000 (16:23 +0530)]
ARM: dts: msm: Add VFE efuse support for SDM630

Add efuse register to be read for VFE dual camera limitation.

Change-Id: I1562b4555aadd0fde8f644cc3aa61e9d45f98ef0
Signed-off-by: Venu Yeshala <vyeshala@codeaurora.org>
7 years agoinput: touchscreen: remove gt9xx goodix touch driver
Shantanu Jain [Tue, 7 Mar 2017 09:02:34 +0000 (14:32 +0530)]
input: touchscreen: remove gt9xx goodix touch driver

Remove gt9xx goodix touch driver from the kernel code
as it has never been used in any of the recent platforms.

Change-Id: If9ebe97dee81d7a95a64c560b605c2e1d02b837c
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
7 years agoMerge "msm: mdss: Handling possible integer overflow"
Linux Build Service Account [Fri, 10 Mar 2017 10:07:17 +0000 (02:07 -0800)]
Merge "msm: mdss: Handling possible integer overflow"

7 years agoMerge "msm: vidc: Fix masking of QP values for different codecs in driver"
Linux Build Service Account [Fri, 10 Mar 2017 10:07:16 +0000 (02:07 -0800)]
Merge "msm: vidc: Fix masking of QP values for different codecs in driver"

7 years agoMerge "msm: media: Allocate extra memory for YUV buffers"
Linux Build Service Account [Fri, 10 Mar 2017 10:07:15 +0000 (02:07 -0800)]
Merge "msm: media: Allocate extra memory for YUV buffers"

7 years agoMerge "arm64: Update correct config option for TLB handler"
Linux Build Service Account [Fri, 10 Mar 2017 10:07:14 +0000 (02:07 -0800)]
Merge "arm64: Update correct config option for TLB handler"

7 years agoMerge "msm: gsi: increase stop command timeout"
Linux Build Service Account [Fri, 10 Mar 2017 10:07:14 +0000 (02:07 -0800)]
Merge "msm: gsi: increase stop command timeout"

7 years agoMerge "ARM: dts: msm: Enable the GPU QTimer access"
Linux Build Service Account [Fri, 10 Mar 2017 10:07:13 +0000 (02:07 -0800)]
Merge "ARM: dts: msm: Enable the GPU QTimer access"

7 years agoMerge "msm: kgsl: Map GPU QTimer through GPU IOMMU"
Linux Build Service Account [Fri, 10 Mar 2017 10:07:12 +0000 (02:07 -0800)]
Merge "msm: kgsl: Map GPU QTimer through GPU IOMMU"

7 years agoMerge "ARM: dts: msm: Enable midframe sampling timer on SDM660"
Linux Build Service Account [Fri, 10 Mar 2017 10:07:11 +0000 (02:07 -0800)]
Merge "ARM: dts: msm: Enable midframe sampling timer on SDM660"

7 years agoMerge "arm64: dma-mapping: optimize unmap coherency check"
Linux Build Service Account [Fri, 10 Mar 2017 10:07:10 +0000 (02:07 -0800)]
Merge "arm64: dma-mapping: optimize unmap coherency check"

7 years agoMerge "input: touchscreen: fix buffer overflow issue in synaptics driver"
Linux Build Service Account [Fri, 10 Mar 2017 10:07:09 +0000 (02:07 -0800)]
Merge "input: touchscreen: fix buffer overflow issue in synaptics driver"

7 years agoMerge "misc: qpnp-misc: add support for clients to read register from misc device"
Linux Build Service Account [Fri, 10 Mar 2017 10:07:07 +0000 (02:07 -0800)]
Merge "misc: qpnp-misc: add support for clients to read register from misc device"

7 years agoMerge "msm: IPA: add the check on intf query"
Linux Build Service Account [Fri, 10 Mar 2017 10:07:06 +0000 (02:07 -0800)]
Merge "msm: IPA: add the check on intf query"

7 years agoqcom: qpnp-smb2: update POWER_SUPPLY_PROP_CHARGER_TEMP read logic
Ashay Jaiswal [Fri, 10 Mar 2017 04:43:00 +0000 (10:13 +0530)]
qcom: qpnp-smb2: update POWER_SUPPLY_PROP_CHARGER_TEMP read logic

The charger therm on RRADC only reads valid values if a charger is
present. Add a check accordingly.

Change-Id: I74c6c15e1e72d4d2ef3ffd698f130b7d0fce6df4
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
7 years agoARM: dts: msm: Enable continuous splash on sdm630
Jayant Shekhar [Fri, 10 Mar 2017 08:56:19 +0000 (14:26 +0530)]
ARM: dts: msm: Enable continuous splash on sdm630

Add splash memory node for sdm630 to enable continuous
splash.

Change-Id: Idf69b5af0ededd3a7f649cc49eaa889e4175751e
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
7 years agoARM: dts: msm: use updated clock handle to USB dt node on sdm660
Vijayavardhan Vennapusa [Tue, 7 Mar 2017 09:46:32 +0000 (15:16 +0530)]
ARM: dts: msm: use updated clock handle to USB dt node on sdm660

Add the proper clock handle to USB dt node for noc_aggr_clk for
SDM660.

Change-Id: Id9ec52123ce2e45b466cc6cd74696f52154efdae
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
7 years agoath10k: Increase the ring size of the CE4 ring
Govind Singh [Thu, 9 Mar 2017 16:19:29 +0000 (21:49 +0530)]
ath10k: Increase the ring size of the CE4 ring

Increase the size of host to target CE4 ring
in order to hold more data packets in the ring and
avoid the unnecessary drops at hif layer.

CRs-Fixed: 2017758
Change-Id: Ib344c7035a79b0730a8b39d2441857b363e18efd
Signed-off-by: Govind Singh <govinds@codeaurora.org>
7 years agoath10k: Fix TCP TX throttling issue
Govind Singh [Thu, 9 Mar 2017 09:12:48 +0000 (14:42 +0530)]
ath10k: Fix TCP TX throttling issue

TCP TX throttling logic is changed a little after
3.19-rc1 kernel, the TCP sending limit will be smaller,
which will throttle the TCP packets to the host driver.
The TCP UP LINK throughput will drop heavily. In order to
fix this issue, need to orphan the socket buffer asap, which
will call skb's destructor to notify the TCP stack that the
SKB buffer is unowned. And then the TCP stack will pump more
packets to host driver.

The TX packets might be dropped for UDP case in the iperf
testing. So need to be protected by follow control

Change-Id: I1c77313fbdb579e708d4a5a6bcd063c7c34a6d39
Signed-off-by: Govind Singh <govinds@codeaurora.org>
7 years agomisc: qpnp-misc: add support for clients to read register from misc device
Subbaraman Narayanamurthy [Wed, 8 Mar 2017 03:26:14 +0000 (19:26 -0800)]
misc: qpnp-misc: add support for clients to read register from misc device

On certain PMICs, PMIC peripheral drivers like haptics need to
read MISC peripheral register. Add support for clients to read
it by using qpnp_misc_read_reg().

Change-Id: Id5dfd9e440a8861b56572dab50839d1583535882
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agoMerge "msm: ipa: Fix incorrect wakelock handling"
Linux Build Service Account [Fri, 10 Mar 2017 01:21:38 +0000 (17:21 -0800)]
Merge "msm: ipa: Fix incorrect wakelock handling"

7 years agoMerge "msm: camera: cpp: Fixing Heap overflow in output buffer"
Linux Build Service Account [Fri, 10 Mar 2017 01:21:38 +0000 (17:21 -0800)]
Merge "msm: camera: cpp: Fixing Heap overflow in output buffer"

7 years agoMerge "ARM: dts: msm: Use aggre2_noc voter clock handle for SDM660/630"
Linux Build Service Account [Fri, 10 Mar 2017 01:21:37 +0000 (17:21 -0800)]
Merge "ARM: dts: msm: Use aggre2_noc voter clock handle for SDM660/630"

7 years agoMerge "ASoC: msm: Use msm_route_ec_ref_rx for widget update"
Linux Build Service Account [Fri, 10 Mar 2017 01:21:36 +0000 (17:21 -0800)]
Merge "ASoC: msm: Use msm_route_ec_ref_rx for widget update"

7 years agoMerge "wil6210: use napi_complete_done"
Linux Build Service Account [Fri, 10 Mar 2017 01:21:35 +0000 (17:21 -0800)]
Merge "wil6210: use napi_complete_done"

7 years agoMerge "ARM: dts: msm: add support for apq8998 QRD SKUK HDK board"
Linux Build Service Account [Fri, 10 Mar 2017 01:21:34 +0000 (17:21 -0800)]
Merge "ARM: dts: msm: add support for apq8998 QRD SKUK HDK board"

7 years agoMerge "msm: kgsl: Improve GPU soft fault detection"
Linux Build Service Account [Fri, 10 Mar 2017 01:21:33 +0000 (17:21 -0800)]
Merge "msm: kgsl: Improve GPU soft fault detection"

7 years agoMerge "msm: ADSPRPC: Null check for file session context during release"
Linux Build Service Account [Fri, 10 Mar 2017 01:21:33 +0000 (17:21 -0800)]
Merge "msm: ADSPRPC: Null check for file session context during release"

7 years agoMerge "msm: ADSPRPC: Create debugfs file with process name"
Linux Build Service Account [Fri, 10 Mar 2017 01:21:32 +0000 (17:21 -0800)]
Merge "msm: ADSPRPC: Create debugfs file with process name"

7 years agoMerge "qcom: smb-lib: fix adapter allowance for PM660"
Linux Build Service Account [Fri, 10 Mar 2017 01:21:31 +0000 (17:21 -0800)]
Merge "qcom: smb-lib: fix adapter allowance for PM660"

7 years agoMerge "mmc: bus: Handle error in case bus_ops suspend fails"
Linux Build Service Account [Fri, 10 Mar 2017 01:21:30 +0000 (17:21 -0800)]
Merge "mmc: bus: Handle error in case bus_ops suspend fails"

7 years agoMerge "mmc: mmc: Handle error case in mmc_suspend"
Linux Build Service Account [Fri, 10 Mar 2017 01:21:29 +0000 (17:21 -0800)]
Merge "mmc: mmc: Handle error case in mmc_suspend"

7 years agoMerge "mdss: display-port: fix DP issue when framework reboots"
Linux Build Service Account [Fri, 10 Mar 2017 01:21:25 +0000 (17:21 -0800)]
Merge "mdss: display-port: fix DP issue when framework reboots"

7 years agoarm64: Update correct config option for TLB handler
Runmin Wang [Thu, 9 Mar 2017 23:14:04 +0000 (15:14 -0800)]
arm64: Update correct config option for TLB handler

Update the config option to "CONFIG_QCOM_TLB_HANDLER" so el1_sync
will call into EL2 TLB fault handler. Default TLB handler in EL1
is changed into a dummy handler.

Change-Id: Id4008d03002928bd24affeba0ef4250664ea3a48
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
7 years agocnss_prealloc: Update pre-alloc table
Prashanth Bhatta [Thu, 9 Mar 2017 01:15:37 +0000 (17:15 -0800)]
cnss_prealloc: Update pre-alloc table

Update pre-alloc table with new memory requirement from WLAN
functional driver.

Change-Id: I2edc8ca0d2361e51f83af405c7d97fba91bf96f5
CRs-fixed: 2017525
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
7 years agoqcom: smb138x: Reduce die temperature samples for initial readings
Harry Yang [Thu, 9 Mar 2017 19:22:44 +0000 (11:22 -0800)]
qcom: smb138x: Reduce die temperature samples for initial readings

Die temperature samples 10 times to take average to reduce error,
which extends time in reading and causes delay during boot up, where
the data is not really insterested.

To improve it, only take one sample for the first few user temp
readings.

Change-Id: Ifc10de8a624f1d50d303673ff553d4801337481b
Signed-off-by: Harry Yang <harryy@codeaurora.org>
7 years agodefconfig: msm: Enable RCU_STALL_WATCHDOG_BITE flag
Prasad Sodagudi [Thu, 9 Mar 2017 17:58:47 +0000 (09:58 -0800)]
defconfig: msm: Enable RCU_STALL_WATCHDOG_BITE flag

Enable RCU_STALL_WATCHDOG_BITE flag to induce the
watchdog bite for every rcu stall instead of just
printing warning message. This option helps for
postmortem analysis on rcu stalls by collecting
complete ram dumps and cpu context.

Change-Id: I6badcd034bf75a10f211eb506701a68efccb43c3
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
7 years agomsm: gsi: increase stop command timeout
Skylar Chang [Thu, 9 Mar 2017 18:57:53 +0000 (10:57 -0800)]
msm: gsi: increase stop command timeout

In case of high load on the system the old timeout (10ms)
is not sufficient for GSI to stop a channel.
This change is to increase GSI stop command to 20ms.

Change-Id: I6f86e6bf9a0254daee937e05927c8152402b2ffe
CRs-Fixed: 2015928
Acked-by: Ady Abraham <adya@qti.qualcommm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
7 years agoMerge "msm: mdss: hdmi: check up-bound of CEC frame size"
Linux Build Service Account [Thu, 9 Mar 2017 18:13:38 +0000 (10:13 -0800)]
Merge "msm: mdss: hdmi: check up-bound of CEC frame size"

7 years agoMerge "ARM: dts: msm: Move imgswap setting to target specific config"
Linux Build Service Account [Thu, 9 Mar 2017 18:13:37 +0000 (10:13 -0800)]
Merge "ARM: dts: msm: Move imgswap setting to target specific config"

7 years agoMerge "msm: sde: Wait for Rotator HW complete if stop streaming timeout"
Linux Build Service Account [Thu, 9 Mar 2017 18:13:36 +0000 (10:13 -0800)]
Merge "msm: sde: Wait for Rotator HW complete if stop streaming timeout"

7 years agoMerge "msm: mdss: initialize the DP thread structures before kthread_run"
Linux Build Service Account [Thu, 9 Mar 2017 18:13:35 +0000 (10:13 -0800)]
Merge "msm: mdss: initialize the DP thread structures before kthread_run"

7 years agoMerge "msm: qpnp-haptic: Add support for haptics on PM660"
Linux Build Service Account [Thu, 9 Mar 2017 18:13:34 +0000 (10:13 -0800)]
Merge "msm: qpnp-haptic: Add support for haptics on PM660"

7 years agoMerge "mmc: host: cmdq-hci-ice: Clear ICE configuration once request is done"
Linux Build Service Account [Thu, 9 Mar 2017 18:13:33 +0000 (10:13 -0800)]
Merge "mmc: host: cmdq-hci-ice: Clear ICE configuration once request is done"

7 years agoMerge "mmc: host: sdhci-msm-ice: Support for clearing ice configuration"
Linux Build Service Account [Thu, 9 Mar 2017 18:13:33 +0000 (10:13 -0800)]
Merge "mmc: host: sdhci-msm-ice: Support for clearing ice configuration"

7 years agoMerge "drivers: lmh_dcvsh: Use allocated variable for LMH DCVSh sensor name"
Linux Build Service Account [Thu, 9 Mar 2017 18:13:32 +0000 (10:13 -0800)]
Merge "drivers: lmh_dcvsh: Use allocated variable for LMH DCVSh sensor name"

7 years agoMerge "input: touchscreen: remove data pointer from driver structure"
Linux Build Service Account [Thu, 9 Mar 2017 18:13:31 +0000 (10:13 -0800)]
Merge "input: touchscreen: remove data pointer from driver structure"

7 years agoMerge "msm: camera: sensor: Do not dump the CCI registers"
Linux Build Service Account [Thu, 9 Mar 2017 18:13:31 +0000 (10:13 -0800)]
Merge "msm: camera: sensor: Do not dump the CCI registers"

7 years agorcu: Induce msm watchdog bite for rcu stalls
Prasad Sodagudi [Mon, 6 Mar 2017 19:04:46 +0000 (11:04 -0800)]
rcu: Induce msm watchdog bite for rcu stalls

Every RCU stall need to be debugged, So collect the ram
dumps on every RCU stall to debug further by inducing
non secure watchdog bite whenever rcu stall detected.

Change-Id: I6c1cfddc92f06b48c3f22fe9970b70f2ec670bf6
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
7 years agomsm: ipa: Fix incorrect wakelock handling
Utkarsh Saxena [Tue, 7 Mar 2017 11:23:38 +0000 (16:53 +0530)]
msm: ipa: Fix incorrect wakelock handling

For every __pm_stay_awake call, there must be a
__pm_relax call to ensure there is no stale
wakelock is held. with the current logic
__pm_stay_awake is called whenever wakelock ref
cnt is non-zero and released only when it is 0.
This leads to wakelock being held even when
it is not required. Make a change to acquire
wakelock only when it is not held previously.

Change-Id: I8c61c184506c705fd5866de8a606f642c5de3d5b
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
7 years agomsm: mdss: Validate cursor image size
Naseer Ahmed [Wed, 11 Jan 2017 17:57:48 +0000 (12:57 -0500)]
msm: mdss: Validate cursor image size

Check size of cursor image provided by userspace and return error
appropriately.

Bug: 34125463
CRs-Fixed: 1115406
Change-Id: I31aee3c9219921cf5c4306b36f8708582b838c38
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
Signed-off-by: Rajkumar Subbiah <rsubbia@codeaurora.org>
7 years agoARM: dts: msm: Enable midframe sampling timer on SDM660
Deepak Kumar [Tue, 28 Feb 2017 07:05:04 +0000 (12:35 +0530)]
ARM: dts: msm: Enable midframe sampling timer on SDM660

This change enables midframe sampling timer which samples
the GPU power stats if the command batch expiry takes longer
than the threshold set by KGSL_GOVERNOR_CALL_INTERVAL. This
will help the use cases where long running command batches
were delaying GPU DCVS decision for increasing the frequency.

Change-Id: I08ec8f3389c2140e1205096abc2c01f2d3882abc
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
7 years agoARM: dts: msm: set pm660 L6/L9/L19 to not follow HW_EN1 for wcn3990
Rupesh Tatiya [Thu, 9 Mar 2017 12:13:56 +0000 (17:43 +0530)]
ARM: dts: msm: set pm660 L6/L9/L19 to not follow HW_EN1 for wcn3990

On sdm630, There is leakage of ~300-400uA current in Bluetooth page scan
scenarios when L6/L9/L19 follow HW_EN1.

Change-Id: Ia041245f4c3cb96373f53dd9c11e2e1249da96ae
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
7 years agoinput: touchscreen: fix buffer overflow issue in synaptics driver
Shantanu Jain [Mon, 6 Mar 2017 13:44:09 +0000 (19:14 +0530)]
input: touchscreen: fix buffer overflow issue in synaptics driver

Fix buffer overflow issue in synaptics touch driver while copying
the contents of "strptr" into "firmware_id". This code change is
meant to fix the same.

Change-Id: I8ea96af558eff540a37fb8e7da730c74502622aa
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
7 years agoMerge "msm: mdss: update check bw check for ab/ib"
Linux Build Service Account [Thu, 9 Mar 2017 10:05:05 +0000 (02:05 -0800)]
Merge "msm: mdss: update check bw check for ab/ib"

7 years agoMerge "icnss: Remove WARN_ON"
Linux Build Service Account [Thu, 9 Mar 2017 10:05:04 +0000 (02:05 -0800)]
Merge "icnss: Remove WARN_ON"

7 years agoMerge "ARM: dts: msm: enable dynamic fps for nt35597 truly panel on sdm660"
Linux Build Service Account [Thu, 9 Mar 2017 10:05:03 +0000 (02:05 -0800)]
Merge "ARM: dts: msm: enable dynamic fps for nt35597 truly panel on sdm660"

7 years agoMerge "msm: mdss: add HW recommended delay for dfps feature."
Linux Build Service Account [Thu, 9 Mar 2017 10:05:02 +0000 (02:05 -0800)]
Merge "msm: mdss: add HW recommended delay for dfps feature."