OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "net: rmnet_data: Disable generic receive offload by default"
Linux Build Service Account [Sat, 28 Jan 2017 08:46:22 +0000 (00:46 -0800)]
Merge "net: rmnet_data: Disable generic receive offload by default"

7 years agoMerge "crypto: msm: check integer overflow on total data len in qcedev.c"
Linux Build Service Account [Mon, 23 Jan 2017 20:54:11 +0000 (12:54 -0800)]
Merge "crypto: msm: check integer overflow on total data len in qcedev.c"

7 years agoMerge "defconfig: msm: enable dvb demux modules compilation for sdm660"
Linux Build Service Account [Mon, 23 Jan 2017 20:54:10 +0000 (12:54 -0800)]
Merge "defconfig: msm: enable dvb demux modules compilation for sdm660"

7 years agoMerge "ASoC: msm: Include interrupt registers in pdata"
Linux Build Service Account [Mon, 23 Jan 2017 20:54:09 +0000 (12:54 -0800)]
Merge "ASoC: msm: Include interrupt registers in pdata"

7 years agoMerge "msm: ipa: Fix WDI2.0 stats"
Linux Build Service Account [Mon, 23 Jan 2017 20:54:09 +0000 (12:54 -0800)]
Merge "msm: ipa: Fix WDI2.0 stats"

7 years agoMerge "defconfig: msm: Remove LOCKUP detector in sdm660 perf config"
Linux Build Service Account [Mon, 23 Jan 2017 20:54:08 +0000 (12:54 -0800)]
Merge "defconfig: msm: Remove LOCKUP detector in sdm660 perf config"

7 years agoMerge "mac80211: pass block ack session timeout to to driver"
Linux Build Service Account [Mon, 23 Jan 2017 20:54:07 +0000 (12:54 -0800)]
Merge "mac80211: pass block ack session timeout to to driver"

7 years agoMerge "ARM: dts: msm: add nt35597 sharp panel node for sdm660"
Linux Build Service Account [Mon, 23 Jan 2017 12:04:11 +0000 (04:04 -0800)]
Merge "ARM: dts: msm: add nt35597 sharp panel node for sdm660"

7 years agoMerge "ARM: dts: msm: Enable continuous splash on sdm660"
Linux Build Service Account [Mon, 23 Jan 2017 12:04:10 +0000 (04:04 -0800)]
Merge "ARM: dts: msm: Enable continuous splash on sdm660"

7 years agoMerge "msm: ipa: SDM660 miscellaneous changes"
Linux Build Service Account [Mon, 23 Jan 2017 12:04:09 +0000 (04:04 -0800)]
Merge "msm: ipa: SDM660 miscellaneous changes"

7 years agoMerge "diag: Synchronize threads to fix possible deadlock"
Linux Build Service Account [Mon, 23 Jan 2017 12:04:08 +0000 (04:04 -0800)]
Merge "diag: Synchronize threads to fix possible deadlock"

7 years agoMerge "msm: ADSPRPC: Remove references to SMD"
Linux Build Service Account [Mon, 23 Jan 2017 12:04:07 +0000 (04:04 -0800)]
Merge "msm: ADSPRPC: Remove references to SMD"

7 years agoMerge "msm: kgsl: Dump preemption record only if it is enabled"
Linux Build Service Account [Mon, 23 Jan 2017 12:04:06 +0000 (04:04 -0800)]
Merge "msm: kgsl: Dump preemption record only if it is enabled"

7 years agoMerge "msm: kgsl: Try lower order mempools incase of mismatch"
Linux Build Service Account [Mon, 23 Jan 2017 12:04:06 +0000 (04:04 -0800)]
Merge "msm: kgsl: Try lower order mempools incase of mismatch"

7 years agoASoC: msm: Include interrupt registers in pdata
Laxminath Kasam [Mon, 23 Jan 2017 08:03:31 +0000 (13:33 +0530)]
ASoC: msm: Include interrupt registers in pdata

To fix access of unmapped memory region, add
lpi registers in pdata of node. This enables
unmapping when pdata is destroyed.

Change-Id: I62b2e50f8db39bdc430299a817ba621288ab4f3e
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
7 years agomac80211: pass block ack session timeout to to driver
Sara Sharon [Wed, 30 Dec 2015 14:06:04 +0000 (16:06 +0200)]
mac80211: pass block ack session timeout to to driver

Currently mac80211 does not inform the driver of the session
block ack timeout when starting a rx aggregation session.
Drivers that manage the reorder buffer need to know this
parameter.
Seeing that there are now too many arguments for the
drv_ampdu_action() function, wrap them inside a structure.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
Git-commit: 50ea05efaf3bed7dd34bcc2635a8b3f53bd0ccc1
[rsirasan@codeaurora.org: resolved conflicts in include/net/mac80211.h and
net/mac80211/agg-rx.c and not pulled changes for drivers/net/wireless/intel/ and
drivers/net/wireless/st/ since path is not maintained]
CRs-Fixed: 1112956
Change-Id: I15d86f60cd3bd33e392b313f7a4ee2fca91207d4
Signed-off-by: Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>
7 years agoRevert "mac80211: pass block ack session timeout to to driver"
Rajeev Kumar Sirasanagandla [Wed, 18 Jan 2017 07:50:42 +0000 (13:20 +0530)]
Revert "mac80211: pass block ack session timeout to to driver"

This reverts commit 71384687ff94 ("mac80211: pass block ack session
timeout to to driver") which is incomplete cherry-pick.

CRs-Fixed: 1112956
Change-Id: I63fdf95d25ca5bdfa87c54cea8e9a68eae715e44
Signed-off-by: Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>
7 years agoARM: dts: msm: Enable continuous splash on sdm660
Jayant Shekhar [Thu, 19 Jan 2017 05:47:32 +0000 (11:17 +0530)]
ARM: dts: msm: Enable continuous splash on sdm660

Add splash memory node for sdm660 to enable continuous
splash.

Change-Id: I01e6e967fc0f733b050027901f3a65b60cefd569
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
7 years agomsm: ADSPRPC: Remove references to SMD
Sathish Ambley [Tue, 10 Jan 2017 06:33:59 +0000 (22:33 -0800)]
msm: ADSPRPC: Remove references to SMD

SMD is being removed from defconfig of SDM660. All the references
to SMD like macros and header files are removed from fastrpc driver.

Change-Id: Iaa961e7faee4b59562fc92133c5154027c325f53
Acked-by: Vishnu Karthik <vikarthi@qti.qualcomm.com>
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
7 years agomsm: ADSPRPC: Expose information about open devices
Sathish Ambley [Thu, 19 Jan 2017 18:32:55 +0000 (10:32 -0800)]
msm: ADSPRPC: Expose information about open devices

Using Debugfs virtual file system to make debug information available
to userspace. A directory called adsprpc is created in debugfs root
directory and a debugfs file is created in this directory for every
device open in the fastrpc driver.

Change-Id: Ie944424e30ddc810ff29116481d63b266c47c037
Acked-by: Vishnu Karthik <vikarthi@qti.qualcomm.com>
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
7 years agomsm: ipa: Fix WDI2.0 stats
Utkarsh Saxena [Sun, 22 Jan 2017 16:34:13 +0000 (22:04 +0530)]
msm: ipa: Fix WDI2.0 stats

New stat param "num_qmb_int_handled" is added to rx_ch_stats
by IPA uC in WDI2.0. This results in a size mismatch and
WDI stats feature is broken. Make a change to update the
new param "num_qmb_int_handled" in rx_ch_stats structure.

Also make a change to read all the rx_ch_stats to avoid
printing stale values.

Change-Id: I5d141f531f1cfdab0bd0056041e22acb26657960
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
7 years agodefconfig: msm: Remove LOCKUP detector in sdm660 perf config
Venkatesh Yadav Abbarapu [Mon, 23 Jan 2017 04:56:01 +0000 (10:26 +0530)]
defconfig: msm: Remove LOCKUP detector in sdm660 perf config

Disable the LOCKUP detector configuration for secondary images.

Change-Id: I4df2f180ba560cf531fe97403775d4fa47061e6b
Signed-off-by: Venkatesh Yadav Abbarapu <vabbar@codeaurora.org>
7 years agoARM: dts: msm: add nt35597 sharp panel node for sdm660
Sandeep Panda [Wed, 18 Jan 2017 17:01:50 +0000 (22:31 +0530)]
ARM: dts: msm: add nt35597 sharp panel node for sdm660

Add nt35597 sharp video and command mode panel node to
sdm660 target.
Also enable NULL packet insertion for DSI controller
to avoid corruption seen with nt35597 sharp panel.

Change-Id: I42813cecd68059f835810cd015cd6654c3507dfa
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
7 years agoMerge "ARM: dts: msm: Enable wakeup capability of SPMI interrupts for SDM660"
Linux Build Service Account [Mon, 23 Jan 2017 03:16:00 +0000 (19:16 -0800)]
Merge "ARM: dts: msm: Enable wakeup capability of SPMI interrupts for SDM660"

7 years agoMerge "ath10k: add WCN3990 target type and hw version"
Linux Build Service Account [Mon, 23 Jan 2017 03:16:00 +0000 (19:16 -0800)]
Merge "ath10k: add WCN3990 target type and hw version"

7 years agoMerge "ath10k: Make CE layer bus agnostic"
Linux Build Service Account [Mon, 23 Jan 2017 03:15:59 +0000 (19:15 -0800)]
Merge "ath10k: Make CE layer bus agnostic"

7 years agoMerge "iommu: arm-smmu: Move to using bus bandwidth voting for bus clocks"
Linux Build Service Account [Mon, 23 Jan 2017 03:15:58 +0000 (19:15 -0800)]
Merge "iommu: arm-smmu: Move to using bus bandwidth voting for bus clocks"

7 years agomsm: ipa: SDM660 miscellaneous changes
Utkarsh Saxena [Tue, 17 Jan 2017 07:20:37 +0000 (12:50 +0530)]
msm: ipa: SDM660 miscellaneous changes

Add support to Enable/Disable uc monitor holb feature.

sdm660 does not  support uc monitor holb feature.
Make changes to get this param via device tree to
support devices which handle holb monitoring via IPA uC.

sdm660 supports WLAN offload. Make changes to configure
wlan pipes on IPA2.6L needed to support WLAN offload.

Change-Id: I07e099ffb7833e4790dda1fd4864f3f61acb2a45
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
7 years agoMerge "ufs: fixed bugs in ice related to key syncronization"
Linux Build Service Account [Sun, 22 Jan 2017 09:16:28 +0000 (01:16 -0800)]
Merge "ufs: fixed bugs in ice related to key syncronization"

7 years agoARM: dts: msm: Enable wakeup capability of SPMI interrupts for SDM660
Ashay Jaiswal [Fri, 20 Jan 2017 12:09:05 +0000 (17:39 +0530)]
ARM: dts: msm: Enable wakeup capability of SPMI interrupts for SDM660

Remove "qcom,not-wakeup" flag from SPMI device node to allow
device wake-up via SPMI peripheral interrupts.

CRs-Fixed: 1114067
Change-Id: I0ba400bca2603a408a1fb2f934cb26e5109a65c2
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
7 years agoMerge "sched: Update capacity and load scale factor for all clusters at boot"
Linux Build Service Account [Sat, 21 Jan 2017 13:01:27 +0000 (05:01 -0800)]
Merge "sched: Update capacity and load scale factor for all clusters at boot"

7 years agoMerge "cpumask: Correctly report CPU as not isolated in UP case"
Linux Build Service Account [Sat, 21 Jan 2017 13:01:27 +0000 (05:01 -0800)]
Merge "cpumask: Correctly report CPU as not isolated in UP case"

7 years agoMerge "qcom-charger: smb138x: Add MODEL_NAME property for parallel"
Linux Build Service Account [Sat, 21 Jan 2017 13:01:26 +0000 (05:01 -0800)]
Merge "qcom-charger: smb138x: Add MODEL_NAME property for parallel"

7 years agoMerge "ARM: dts: msm: Enable QoS settings programming for sdm660"
Linux Build Service Account [Sat, 21 Jan 2017 13:01:25 +0000 (05:01 -0800)]
Merge "ARM: dts: msm: Enable QoS settings programming for sdm660"

7 years agoMerge "usb: composite: Increase ep0 buffer size to 4KB"
Linux Build Service Account [Sat, 21 Jan 2017 13:01:24 +0000 (05:01 -0800)]
Merge "usb: composite: Increase ep0 buffer size to 4KB"

7 years agoMerge "smb-lib: fix Type-C detection after sink removal"
Linux Build Service Account [Sat, 21 Jan 2017 13:01:24 +0000 (05:01 -0800)]
Merge "smb-lib: fix Type-C detection after sink removal"

7 years agoMerge "qseecom: release memory when failed to get fw size"
Linux Build Service Account [Sat, 21 Jan 2017 13:01:23 +0000 (05:01 -0800)]
Merge "qseecom: release memory when failed to get fw size"

7 years agoMerge "Block: Add support to measure bio latencies"
Linux Build Service Account [Sat, 21 Jan 2017 13:01:22 +0000 (05:01 -0800)]
Merge "Block: Add support to measure bio latencies"

7 years agoMerge "usb: phy: snps: fix copyright information"
Linux Build Service Account [Sat, 21 Jan 2017 13:01:21 +0000 (05:01 -0800)]
Merge "usb: phy: snps: fix copyright information"

7 years agoMerge "iommu: arm-smmu: Allow configurations with zero clocks"
Linux Build Service Account [Sat, 21 Jan 2017 13:01:20 +0000 (05:01 -0800)]
Merge "iommu: arm-smmu: Allow configurations with zero clocks"

7 years agoMerge "clk: msm: clock-debug: acquire prepare lock during measurement"
Linux Build Service Account [Sat, 21 Jan 2017 13:01:19 +0000 (05:01 -0800)]
Merge "clk: msm: clock-debug: acquire prepare lock during measurement"

7 years agoath10k: add WCN3990 target type and hw version
Govind Singh [Mon, 9 Jan 2017 11:41:14 +0000 (17:11 +0530)]
ath10k: add WCN3990 target type and hw version

Add new target type and hw version for WCN3990.

Change-Id: Iba891c8a25321d986d24120db8e0988f7df56dc5
Signed-off-by: Govind Singh <govinds@codeaurora.org>
7 years agoath10k: Make CE layer bus agnostic
Govind Singh [Mon, 9 Jan 2017 11:41:13 +0000 (17:11 +0530)]
ath10k: Make CE layer bus agnostic

Remove bus specific dependencies from CE layer to have
common CE layer across multiple targets.

Change-Id: Ieb6a80b359eed820653215bbf98148ce15634e87
Signed-off-by: Govind Singh <govinds@codeaurora.org>
7 years agosched: Update capacity and load scale factor for all clusters at boot
Syed Rameez Mustafa [Sat, 21 Jan 2017 00:23:42 +0000 (16:23 -0800)]
sched: Update capacity and load scale factor for all clusters at boot

Cluster capacities should reflect differences in efficiency of
different clusters even in the absence of cpufreq. Currently
capacity is updated only when cpufreq policy notifier is received.
Therefore placement is suboptimal when cpufreq is turned off. Fix
this by updating capacities and load scaling factors during cluster
detection.

Change-Id: I47f63c1e374bbfd247a4302525afb37d55334bad
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
7 years agocpumask: Correctly report CPU as not isolated in UP case
Olav Haugan [Fri, 20 Jan 2017 01:14:29 +0000 (17:14 -0800)]
cpumask: Correctly report CPU as not isolated in UP case

When we have only 1 CPU in the system always report a CPU as not
isolated.

Change-Id: I009b3e7c2499da07b167c603107b1c50b096c6b6
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
7 years agoiommu: arm-smmu: Move to using bus bandwidth voting for bus clocks
Pratik Patel [Mon, 16 Jan 2017 20:44:48 +0000 (12:44 -0800)]
iommu: arm-smmu: Move to using bus bandwidth voting for bus clocks

Bus clocks are managed via bus apis and hence move to using them for
enabling bus clocks. The previous method could enable a bus clock at a
higher than required frequency, wasting power.

The power on sequence is regulator on, bus vote, and then enable
remaining clocks.

Remove all clocks which are of RPM_SMD type (including mmssnoc_axi_clk)
since these are managed by the bus driver. Using an active-only bus vote
instead should save power when APPS is power collapsed.

Keep the mmss_mnoc_ahb_clk because it is a branch clock type which is
not managed by the bus driver. No active-only mode is available for this
clock.

Change-Id: I3b35d81098b8bd5299b27e85d27aa959e7cf415a
Signed-off-by: Pratik Patel <pratikp@codeaurora.org>
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
7 years agoiommu: arm-smmu: Allow configurations with zero clocks
Patrick Daly [Thu, 13 Oct 2016 05:15:36 +0000 (22:15 -0700)]
iommu: arm-smmu: Allow configurations with zero clocks

If no clocks are present in devicetree, ensure that smmu->num_clocks is
set to zero instead of an error value.

Change-Id: Ibc3ede250419dd0235f3aa481218e3a91cdb3630
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
7 years agousb: composite: Increase ep0 buffer size to 4KB
Hemant Kumar [Fri, 20 Jan 2017 23:29:08 +0000 (15:29 -0800)]
usb: composite: Increase ep0 buffer size to 4KB

Maximum QMI packet size is 4KB. As a result with current
ep0 buffer size of 1KB driver is overstepping the buffer
memory when QMI packet of more than 1KB size is received
from usb host.

Change-Id: Id162ed23dfa855fd7e11d43b32627b577c0c2dd4
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
7 years agosmb-lib: fix Type-C detection after sink removal
Nicholas Troast [Fri, 20 Jan 2017 21:52:10 +0000 (13:52 -0800)]
smb-lib: fix Type-C detection after sink removal

A misplaced return statement causes an early return from disabling OTG.

If OTG is enabled when a source is attached then Type-C detection will
fail. Therefore, OTG should never be blocked from being disabled.

Remove all of the early returns that could potentially block the
register write which disables OTG.

Change-Id: I4645210233c7490cf3e1b8f6a629fec60399b250
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agoMerge "soc: qcom: service-notifier: change log level for UP/DOWN indications"
Linux Build Service Account [Fri, 20 Jan 2017 21:48:36 +0000 (13:48 -0800)]
Merge "soc: qcom: service-notifier: change log level for UP/DOWN indications"

7 years agoMerge "spi: spi_qsd: Revert latency improvement changes done for small transfers"
Linux Build Service Account [Fri, 20 Jan 2017 21:48:35 +0000 (13:48 -0800)]
Merge "spi: spi_qsd: Revert latency improvement changes done for small transfers"

7 years agoMerge "USB: u_data_ipa: Fix spinlock usage in resume_work handler"
Linux Build Service Account [Fri, 20 Jan 2017 21:48:34 +0000 (13:48 -0800)]
Merge "USB: u_data_ipa: Fix spinlock usage in resume_work handler"

7 years agoMerge "ARM: dts: msm: Update GPU bus IB votes for SDM660"
Linux Build Service Account [Fri, 20 Jan 2017 21:48:33 +0000 (13:48 -0800)]
Merge "ARM: dts: msm: Update GPU bus IB votes for SDM660"

7 years agoMerge "USb: f_qc_rndis: Initialize opts variable in set_alt()"
Linux Build Service Account [Fri, 20 Jan 2017 21:48:31 +0000 (13:48 -0800)]
Merge "USb: f_qc_rndis: Initialize opts variable in set_alt()"

7 years agoMerge "USB: u_ctrl_qti: Remove redundant check in qti_ctrl_write()"
Linux Build Service Account [Fri, 20 Jan 2017 21:48:30 +0000 (13:48 -0800)]
Merge "USB: u_ctrl_qti: Remove  redundant check in qti_ctrl_write()"

7 years agoMerge "USB: gadget: mass_storage: Fix Null pointer access during disconnect"
Linux Build Service Account [Fri, 20 Jan 2017 21:48:29 +0000 (13:48 -0800)]
Merge "USB: gadget: mass_storage: Fix Null pointer access during disconnect"

7 years agoMerge "msm: kgsl: Clean up power-related members if probe fails"
Linux Build Service Account [Fri, 20 Jan 2017 21:48:28 +0000 (13:48 -0800)]
Merge "msm: kgsl: Clean up power-related members if probe fails"

7 years agoMerge "mmc: core: Add sysfs entry to print ring buffer"
Linux Build Service Account [Fri, 20 Jan 2017 21:48:26 +0000 (13:48 -0800)]
Merge "mmc: core: Add sysfs entry to print ring buffer"

7 years agoMerge "mmc: cmdq_hci: Add tracing events for CQ mode."
Linux Build Service Account [Fri, 20 Jan 2017 21:48:26 +0000 (13:48 -0800)]
Merge "mmc: cmdq_hci: Add tracing events for CQ mode."

7 years agoMerge "mmc: core: Add mmc tracing events in suspend and resume"
Linux Build Service Account [Fri, 20 Jan 2017 21:48:25 +0000 (13:48 -0800)]
Merge "mmc: core: Add mmc tracing events in suspend and resume"

7 years agoMerge "mmc: sdhci: Add mmc tracing events for legacy mode."
Linux Build Service Account [Fri, 20 Jan 2017 21:48:25 +0000 (13:48 -0800)]
Merge "mmc: sdhci: Add mmc tracing events for legacy mode."

7 years agoMerge "mmc: host: Add Ring buffer logging for MMC."
Linux Build Service Account [Fri, 20 Jan 2017 21:48:24 +0000 (13:48 -0800)]
Merge "mmc: host: Add Ring buffer logging for MMC."

7 years agoMerge "USB: gadget: mass_storage: Fix Null pointer access during disconnect"
Linux Build Service Account [Fri, 20 Jan 2017 21:48:23 +0000 (13:48 -0800)]
Merge "USB: gadget: mass_storage: Fix Null pointer access during disconnect"

7 years agoMerge "ARM: dts: msm: update sensor dtsi for SDM660 QRD"
Linux Build Service Account [Fri, 20 Jan 2017 21:48:22 +0000 (13:48 -0800)]
Merge "ARM: dts: msm: update sensor dtsi for SDM660 QRD"

7 years agousb: phy: snps: fix copyright information
Hemant Kumar [Fri, 20 Jan 2017 20:02:47 +0000 (12:02 -0800)]
usb: phy: snps: fix copyright information

Update copyright line to "The Linux Foundation" and
year.

Change-Id: I1bdd64bebb77f41555f1057132ad3a060874bb11
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
7 years agoqcom-charger: smb138x: Add MODEL_NAME property for parallel
Abhijeet Dharmapurikar [Fri, 6 Jan 2017 20:16:49 +0000 (12:16 -0800)]
qcom-charger: smb138x: Add MODEL_NAME property for parallel

Currently there is no easy way to detect the device name based on
the bus or device sysfs properties.

Implement MODEL_NAME property to identify the parallel charger.

Change-Id: I8134b415a2b36e249b098f4b61d4dd8415008cfa
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
7 years agoqseecom: release memory when failed to get fw size
Zhen Kong [Fri, 20 Jan 2017 20:22:23 +0000 (12:22 -0800)]
qseecom: release memory when failed to get fw size

release app list entry when __qseecom_get_fw_size() returns error.

Change-Id: I82406c39a2def87395811f442f39b57201766091
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
7 years agoclk: msm: clock-debug: acquire prepare lock during measurement
Osvaldo Banuelos [Thu, 12 Jan 2017 01:30:03 +0000 (17:30 -0800)]
clk: msm: clock-debug: acquire prepare lock during measurement

If the rate of the clock being measured changes at the same
time clock_debug_measure_get() is called, there can be a
miscalculation of the value of the divider between the
measurement circuitry and clock output. Acquiring the prepare
lock fixes the race since it prevents clock rate changes during
measurement.

CRs-Fixed: 1109789
Change-Id: I51050379a45a51c22109a06bc4758d767f361da1
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
7 years agoARM: dts: msm: Enable QoS settings programming for sdm660
Odelu Kukatla [Thu, 19 Jan 2017 12:05:09 +0000 (17:35 +0530)]
ARM: dts: msm: Enable QoS settings programming for sdm660

Bus driver requires to set the QoS parameters like QoS mode
and priorities, so enable the QoS parameter programming and
also add the required clocks for QoS register access.

Change-Id: Ie2f4e054f4fc16b5c33233321e8761f999db7c46
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
7 years agomsm: kgsl: Try lower order mempools incase of mismatch
Rajesh Kemisetti [Thu, 19 Jan 2017 16:50:23 +0000 (22:20 +0530)]
msm: kgsl: Try lower order mempools incase of mismatch

Try to allocate pages from lower order mempools incase
if requested memory size order does not match with the
available mempools.

Change-Id: Idbe4dae3b8bb2a3165199b6959ad4fbf36559964
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
7 years agomsm: kgsl: Dump preemption record only if it is enabled
Rajesh Kemisetti [Fri, 20 Jan 2017 07:34:46 +0000 (13:04 +0530)]
msm: kgsl: Dump preemption record only if it is enabled

During GPU snapshot dump path, a5xx_snapshot() tries to
capture preemption record without really checking on the
availability of preemption feature.

Add a check for preemption feature and then proceed.

Change-Id: I6ee23a1d8006ba18a25fb341bb88d8944ff054b7
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
7 years agoUSB: u_data_ipa: Fix spinlock usage in resume_work handler
Vijayavardhan Vennapusa [Fri, 20 Jan 2017 05:54:02 +0000 (11:24 +0530)]
USB: u_data_ipa: Fix spinlock usage in resume_work handler

Fix spinlock usage in bam2bam_data_resume_work handler that could
cause error reported by static analysis tool.

Change-Id: I15bbb5abc98452fcfed2d98547a859a355a391d9
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
7 years agodefconfig: msm: enable dvb demux modules compilation for sdm660
Udaya Bhaskara Reddy Mallavarapu [Fri, 20 Jan 2017 09:00:25 +0000 (14:30 +0530)]
defconfig: msm: enable dvb demux modules compilation for sdm660

Enable dvb_core, mpq demux sw plugin modules compilation.

CRs-Fixed: 1108990
Change-Id: I5ed1bc5f6696c8ef05a51205e83d5dc2b23dd18e
Signed-off-by: Udaya Bhaskara Reddy Mallavarapu <udaym@codeaurora.org>
7 years agoARM: dts: msm: Update GPU bus IB votes for SDM660
Mihir Patel [Fri, 6 Jan 2017 08:59:17 +0000 (14:29 +0530)]
ARM: dts: msm: Update GPU bus IB votes for SDM660

A512 GPU clock plan is revised hence need to adjust IB
bus votes for respective GPU power levels. Update GPU
bus votes as per new GPU clock plan for SDM660.
Also adjust GPU IB votes as per dual channel DDR
recommendation.

Change-Id: Ia68bd5dee8bf9d037510877c647c5c3a74bdce99
Signed-off-by: Mihir Patel <mihirp@codeaurora.org>
7 years agodiag: Synchronize threads to fix possible deadlock
Manoj Prabhu B [Tue, 10 Jan 2017 14:49:28 +0000 (20:19 +0530)]
diag: Synchronize threads to fix possible deadlock

This patch fixes the possible deadlock during processing
of feature mask between different peripherals.

CRs-Fixed: 1101672
Change-Id: I4d4223275c03017ef367bafa8e55be1803b9a750
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
7 years agoUSB: u_ctrl_qti: Remove redundant check in qti_ctrl_write()
Vijayavardhan Vennapusa [Fri, 20 Jan 2017 06:46:04 +0000 (12:16 +0530)]
USB: u_ctrl_qti: Remove  redundant check in qti_ctrl_write()

Remove redundant check for port in qti_ctrl_write() which is not
required.

Change-Id: I8825b52156d722772759d2ae10f2b8bbd4d18417
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
7 years agoUSb: f_qc_rndis: Initialize opts variable in set_alt()
Vijayavardhan Vennapusa [Fri, 20 Jan 2017 06:33:27 +0000 (12:03 +0530)]
USb: f_qc_rndis: Initialize opts variable in set_alt()

Currently opts variable in rndis_qc_set_alt() is used without
initializing it. This could cause error reported by static analysis
tool. Hence fix this by initializing the variable before accessing it.

Change-Id: I77a42464e351f4e9886250315423ae355ff43617
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
7 years agoUSB: gadget: mass_storage: Fix Null pointer access during disconnect
Vijayavardhan Vennapusa [Thu, 10 Sep 2015 05:21:25 +0000 (10:51 +0530)]
USB: gadget: mass_storage: Fix Null pointer access during disconnect

There is a chance that completion handler and ep disable race each other
and it might happen that completion handler gets called after driver_data
is set to NULL as part of function disable. This results in crash. Hence
add check in completion handler to check if driver_data is NULL or not
to fix the issue.

CRs-Fixed: 891650
Change-Id: I79ce3967533d2a7cb7591ccfe50b095a540e9884
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
7 years agospi: spi_qsd: Revert latency improvement changes done for small transfers
Mukesh Kumar Savaliya [Sat, 14 Jan 2017 19:07:35 +0000 (00:37 +0530)]
spi: spi_qsd: Revert latency improvement changes done for small transfers

Reverting the changes provided to improve small transfer rate.

Change-Id: Ifc1ae0ccbd0f991523f4715fbb1ff9951b268986
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
7 years agoUSB: gadget: mass_storage: Fix Null pointer access during disconnect
Vijayavardhan Vennapusa [Thu, 21 Jul 2016 09:30:49 +0000 (15:00 +0530)]
USB: gadget: mass_storage: Fix Null pointer access during disconnect

There is a chance that completion handler and ep disable race each other
and it might happen that completion handler gets called after driver_data
is set to NULL as part of function disable. This results in crash. Hence
add check in completion handler to check if driver_data is NULL or not
to fix the issue.

Change-Id: I3496811f52af79e8dccb701b2753a81f5d5a2340
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
7 years agoMerge "clk: msm: Update the frequency table for csiphy clock on MSMCOBALT v2"
Linux Build Service Account [Fri, 20 Jan 2017 03:10:39 +0000 (19:10 -0800)]
Merge "clk: msm: Update the frequency table for csiphy clock on MSMCOBALT v2"

7 years agoMerge "ARM: dts: msm: Add support for GPU AB vote scaling"
Linux Build Service Account [Fri, 20 Jan 2017 03:10:39 +0000 (19:10 -0800)]
Merge "ARM: dts: msm: Add support for GPU AB vote scaling"

7 years agoMerge "defconfig: msmcortex: fix msmcortex 32-bit compilation issues"
Linux Build Service Account [Fri, 20 Jan 2017 03:10:37 +0000 (19:10 -0800)]
Merge "defconfig: msmcortex: fix msmcortex 32-bit compilation issues"

7 years agoMerge "crypto: msm: remove extraneous parentheses in qcedev.c"
Linux Build Service Account [Fri, 20 Jan 2017 03:10:36 +0000 (19:10 -0800)]
Merge "crypto: msm: remove extraneous parentheses in qcedev.c"

7 years agoMerge "soc: qcom: smem: Fix possible use of uninitialized variable"
Linux Build Service Account [Fri, 20 Jan 2017 03:10:35 +0000 (19:10 -0800)]
Merge "soc: qcom: smem: Fix possible use of uninitialized variable"

7 years agoMerge "msm: gsi: fix to client notify on poll mode"
Linux Build Service Account [Fri, 20 Jan 2017 03:10:34 +0000 (19:10 -0800)]
Merge "msm: gsi: fix to client notify on poll mode"

7 years agoMerge "clk: qcom: Move the rbcpr clock voltage vote to active only"
Linux Build Service Account [Fri, 20 Jan 2017 03:10:33 +0000 (19:10 -0800)]
Merge "clk: qcom: Move the rbcpr clock voltage vote to active only"

7 years agoMerge "ARM: dts: msm: update DDR BW voting on SDM660 target"
Linux Build Service Account [Fri, 20 Jan 2017 03:10:32 +0000 (19:10 -0800)]
Merge "ARM: dts: msm: update DDR BW voting on SDM660 target"

7 years agoMerge "mmc: sdhci-msm-ice: Update ice config vop to config_start"
Linux Build Service Account [Fri, 20 Jan 2017 03:10:31 +0000 (19:10 -0800)]
Merge "mmc: sdhci-msm-ice: Update ice config vop to config_start"

7 years agoMerge "ARM: dts: msm: Enable SDCC ICE clock on SDM660"
Linux Build Service Account [Fri, 20 Jan 2017 03:10:30 +0000 (19:10 -0800)]
Merge "ARM: dts: msm: Enable SDCC ICE clock on SDM660"

7 years agoMerge "mfd: qcom-i2c-pmic: Add retry mechanism for slow slave responding"
Linux Build Service Account [Fri, 20 Jan 2017 03:10:28 +0000 (19:10 -0800)]
Merge "mfd: qcom-i2c-pmic: Add retry mechanism for slow slave responding"

7 years agoMerge "fs: fuse: Add replacment for CMA pages into the LRU cache"
Linux Build Service Account [Fri, 20 Jan 2017 03:10:21 +0000 (19:10 -0800)]
Merge "fs: fuse: Add replacment for CMA pages into the LRU cache"

7 years agosoc: qcom: service-notifier: change log level for UP/DOWN indications
Satya Durga Srinivasu Prabhala [Fri, 20 Jan 2017 02:24:00 +0000 (18:24 -0800)]
soc: qcom: service-notifier: change log level for UP/DOWN indications

Service UP/DOWN indication logs are critical during boot or PD restart
to understand the communication between application processor and remote
processor.

Change-Id: Ie372f00ae032e9a5697c2eb6ef6ed65de9849933
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
7 years agoclk: msm: Update the frequency table for csiphy clock on MSMCOBALT v2
Deepak Katragadda [Wed, 14 Dec 2016 23:49:40 +0000 (15:49 -0800)]
clk: msm: Update the frequency table for csiphy clock on MSMCOBALT v2

Add 274.29 MHz as a supported frequency for the csiphy_clk_src RCG
on MSMCOBALT v2.

Change-Id: I2eb5fc2cdce08c67f165be9094c88f454f0de4a1
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
7 years agocrypto: msm: check integer overflow on total data len in qcedev.c
Zhen Kong [Thu, 19 Jan 2017 22:59:44 +0000 (14:59 -0800)]
crypto: msm: check integer overflow on total data len in qcedev.c

qcedev_vbuf_ablk_cipher will calculate total data length. It starts
with the value of "areq->cipher_op_req.byteoffset", which is controlled
by the user. Make change to check if this total data length has integer
overflow issue in qcedev_check_cipher_params.

Change-Id: Ice42dca6d47eb8febfe8a34e566c69e4799fab57
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
7 years agocrypto: msm: remove extraneous parentheses in qcedev.c
Zhen Kong [Thu, 19 Jan 2017 18:07:16 +0000 (10:07 -0800)]
crypto: msm: remove extraneous parentheses in qcedev.c

remove extraneous parentheses around the comparison to resolve
static analysis warning.

Change-Id: I67c755f028a8bf27e0b924cd636a1cce27e149fc
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
7 years agomsm: gsi: fix to client notify on poll mode
Skylar Chang [Mon, 16 Jan 2017 18:29:49 +0000 (10:29 -0800)]
msm: gsi: fix to client notify on poll mode

When processing an IEOB interrupt, do not process the pending
events in case the channel is in polling mode.

Change-Id: I9b9fbc71ae33fe1bfef837580f9f8e9aa875160d
CRs-Fixed: 1112064
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
7 years agodefconfig: msmcortex: fix msmcortex 32-bit compilation issues
Nicholas Troast [Thu, 19 Jan 2017 17:46:42 +0000 (09:46 -0800)]
defconfig: msmcortex: fix msmcortex 32-bit compilation issues

Some kernel modules have 32-bit compilation issues. Disable them.

Change-Id: I27c9c705e18fa6a208bf505c88e92dbf4727aeb0
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agoufs: fixed bugs in ice related to key syncronization
Andrey Markovytch [Thu, 19 Jan 2017 17:53:03 +0000 (19:53 +0200)]
ufs: fixed bugs in ice related to key syncronization

1. Added reference count for requests in HW queue for particular key
2. Fixed race between block/unblock requests with asynchronous job
for key configuration in ice

Change-Id: Iaefc25739b420b2e5feae1895c7c2495b4850539
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
7 years agoMerge "ASoC: wcd9xxx: Enable EAR LO concurrency in codec"
Linux Build Service Account [Thu, 19 Jan 2017 17:52:43 +0000 (09:52 -0800)]
Merge "ASoC: wcd9xxx: Enable EAR LO concurrency in codec"