Commit graph

593380 commits

Author SHA1 Message Date
Linux Build Service Account
285229fa97 Merge "msm: vidc: Avoid setting internal scratch buffers if not required" 2017-08-31 05:08:57 -07:00
Linux Build Service Account
9edfa7b95a Merge "msm: vidc: use %pK instead of %p which respects kptr_restrict sysctl" 2017-08-31 05:08:55 -07:00
Linux Build Service Account
8e9a6e742b Merge "defconfig: Enable few configs for SDM660" 2017-08-31 05:08:55 -07:00
Govind Singh
49295d71cc ath10k: Enable sta idle powersave
Enable STA idle powersave for WCN3990.

Change-Id: I3dea0727464eda255fee50d21eee84919ab19205
Signed-off-by: Govind Singh <govinds@codeaurora.org>
2017-08-31 03:30:49 -07:00
Mohammed Khajapasha
092475d1bf defconfig: msm: Disable DEVPORT config for sdm660
Disable CONFIG_DEVPORT config for sdm660.
As selinux policy requires this node to be not
accessible to userspace.

Change-Id: I163b5bc0ad1d97590f20ffc2392c36e03be3cbf2
Signed-off-by: Mohammed Khajapasha <mkhaja@codeaurora.org>
2017-08-31 15:17:24 +05:30
Liangliang Lu
3e24701fda ARM: dts: msm: Update HS PHY parameters for QRD SDM660/630
Update HS Phy parameters which has better eye diagram.

Change-Id: I2774dc4c5512ba156dacb23e454d3f65691d5a06
Signed-off-by: Liangliang Lu <luliang@codeaurora.org>
2017-08-31 17:12:25 +08:00
Manoj Prabhu B
47fe494283 diag: Proper feature mask update to Glink supported peripherals
The patch re-enables updating APPS feature mask to GLINK
supported peripheral after peripheral's feature mask has been
processed and the proper transport has been updated. The patch
also corrects code indentation in buffers initialization.

CRs-Fixed: 2092758
Change-Id: Iaff5346dae833d6dbb576ca3a4a9dbdcf789a3c4
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2017-08-31 11:12:44 +05:30
Linux Build Service Account
09a04dabb6 Merge "ARM: dts: msm: update mincpu BW vote when Big CPU runs at Max freq" 2017-08-30 19:30:06 -07:00
Linux Build Service Account
fc9558666f Merge "drm/msm/sde: count null character for blob length" 2017-08-30 19:30:05 -07:00
Linux Build Service Account
b01b33489f Merge "msm: sde: fix deadlock issue in concurrency test" 2017-08-30 19:30:04 -07:00
Linux Build Service Account
c762445edd Merge "soc: qcom: glink: Initialize dummy xprt with dummy functions" 2017-08-30 19:30:03 -07:00
Linux Build Service Account
a13a87ba3a Merge "msm: ipa: Fix to use after free issue" 2017-08-30 19:30:02 -07:00
Linux Build Service Account
349cc845af Merge "msm: thermal: check LMH DCVS devicetree to enable reboot/suspend mitigation" 2017-08-30 19:30:00 -07:00
Lingutla Chandrasekhar
d67e8e7dfa defconfig: msm: enable Minidump support on SDM660
Enable Minidump support for SDM660 target.

Change-Id: Ic3792b9ff28ea006adf64180ae441886a426426d
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
2017-08-30 19:26:42 +05:30
Linux Build Service Account
c9acad7278 Merge "msm: ipa3: Vote to IPA clocks when destroying MHI channels" 2017-08-30 06:26:19 -07:00
Linux Build Service Account
04e0dd59ce Merge "ARM: dts: msm: Add speed-bin 3 for sdm660" 2017-08-30 06:26:17 -07:00
Linux Build Service Account
8207427ffb Merge "ARM: dts: msm: Add minidump dt support for MSS subsystem on sdm660" 2017-08-30 06:26:16 -07:00
Linux Build Service Account
7392248e79 Merge "soc: qcom: Add SSR minidump provision for subsystem ramdump" 2017-08-30 06:26:15 -07:00
Linux Build Service Account
ed52938fc3 Merge "wil6210: fix interface-up check" 2017-08-30 06:26:11 -07:00
Mohammed Khajapasha
13657230ea defconfig: Enable few configs for SDM660
This change enables below list of configs to
address the VTS KernelConfig and KernelProcFileApiTest
test case failures for SDM660.

Enable configs:
CONFIG_QUOTA
CONFIG_QUOTA_NETLINK_INTERFACE
CONFIG_QFMT_V2
CONFIG_SECURITY_PERF_EVENTS_RESTRICT
CONFIG_TASKSTATS
CONFIG_TASK_XACCT
CONFIG_TASK_IO_ACCOUNTING
CONFIG_UID_SYS_STATS

Change-Id: I5aa724988c21fa02cdc88c89d9663d2939198943
Signed-off-by: Mohammed Khajapasha <mkhaja@codeaurora.org>
2017-08-30 16:58:34 +05:30
Linux Build Service Account
adb3863289 Merge "ARM: dts: msm: Add virtual platform specific pinctrl dtsi" into dev/msm-4.4-8996au 2017-08-30 02:27:59 -07:00
Ghanim Fodi
1afd570abc msm: ipa3: Vote to IPA clocks when destroying MHI channels
Due to the missing vote, un-clocked access to GSI registers
occurred when destroying MHI channels. Fix it by voting
to the clocks.

CRs-Fixed: 2097296
Change-Id: Ib4fe41ff87ecb9746617b1ed3e32cae740de0c7e
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2017-08-30 01:27:48 -07:00
Sravan Kumar Ambapuram
57cff14555 ARM: dts: msm: update mincpu BW vote when Big CPU runs at Max freq
Increase mincpu BW vote mapping for Big CPU Max frequency
to DDR Max frequency. This will help to reduce RAM access
latencies when CPU is running at max frequency.

Change-Id: I5f12ff09d5b2b94b1f02394219a3dcb4e56589e8
Signed-off-by: Sravan Kumar Ambapuram <asravan@codeaurora.org>
2017-08-30 13:53:43 +05:30
Mohammed Javid
1d85aeac42 msm: ipa: Fix to use after free issue
Added code changes to avoid use after free
if header already table already freed
during ipa ioctl test.

Change-Id: I5e89c28448bd3b94714451432774457a170005bd
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2017-08-30 12:10:39 +05:30
Linux Build Service Account
e53deedd20 Merge "icnss: Fix uninitialized variable" 2017-08-29 21:19:34 -07:00
Linux Build Service Account
50bee17e34 Merge "ARM: dts: msm: Disable max20010 regulator device node for msm8996" 2017-08-29 21:19:33 -07:00
Linux Build Service Account
4a57e52544 Merge "clk: qcom: osm: Add determine_rate ops for OSM CPU clock driver" 2017-08-29 21:19:32 -07:00
Linux Build Service Account
9bb79aef61 Merge "msm: camera: isp: Fix frame skip pattern" 2017-08-29 21:19:31 -07:00
Linux Build Service Account
1469573671 Merge "Revert "drivercore: Avoid adding devices without pm_ops to dpm list"" 2017-08-29 21:19:29 -07:00
Linux Build Service Account
9217c8a15a Merge "ARM: dts: msm: add coresight support on sdm/a 636" 2017-08-29 21:19:28 -07:00
Linux Build Service Account
c042603a51 Merge "Enable multi-channel bit for SCO Tx with water mark level 1" 2017-08-29 21:19:27 -07:00
Linux Build Service Account
7272b66e32 Merge "ARM: dts: msm: Add support for speed-bin 3 for SDM660" 2017-08-29 21:19:26 -07:00
Linux Build Service Account
f22f33a3ba Merge "spcom: fix memory leak in spcom register client / register service API" 2017-08-29 21:19:25 -07:00
Linux Build Service Account
eaba247763 Merge "msm: mdss: dp: fix div by zero error" 2017-08-29 21:19:24 -07:00
Linux Build Service Account
318fe3ca8b Merge "ASoC: remove error prints and warning at bootup log" 2017-08-29 21:19:23 -07:00
Zhiqiang Tu
820069f8d5 defconfig: arm64: msm: Update perf defconfig for virtual platform
Remove some debug configurations and disable serial console for
perf build.

Change-Id: I91dea4f6569b45a9fb956a183f9d4f9ebbaee9a5
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2017-08-30 11:09:25 +08:00
Avaneesh Kumar Dwivedi
0c83540fdd ARM: dts: msm: Add minidump dt support for MSS subsystem on sdm660
This change adds minidump id and imem region entries. Minidump id is
used to find imem offset for subsystem which is populated with base
smem table info for subsystem. While imem region entry points to table
of content in shared mem for any subsystem.

Change-Id: I6c14fd962585039b5e7b6293a5ec872861f6600d
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
2017-08-29 05:31:47 -07:00
Avaneesh Kumar Dwivedi
88707fb091 soc: qcom: Add SSR minidump provision for subsystem ramdump
Minidump is concise and bare minimum dump to enable technology
teams to debug most of subsystem issues. This change adds required
driver code changes to provide support of subsystem minidump.

Increase PIL timeout to give MBA more time for encryption
and decryption for modem segments.

Change-Id: I1d04a9306ce507bc610777bc476197f26c1e18ac
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
2017-08-29 03:49:48 -07:00
Tirupathi Reddy
b5a1a5bac3 ARM: dts: msm: Disable max20010 regulator device node for msm8996
Disable max20010 regulator device node from msm8996 regulators
and conditionally enable it for 8996auto boards using max20010
as VDD_GFX supply.

CRs-Fixed: 2091156
Change-Id: I688f1dac31a7601bde5753e2544d07aabdc3cc7a
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-08-29 01:57:29 -07:00
Linux Build Service Account
0d617edc01 Merge "ARM: dts: qcom: Remove lpm performance index for sdm630" 2017-08-29 01:41:05 -07:00
Linux Build Service Account
a26a92216f Merge "drm/msm: add kconfig for enabling event log" 2017-08-29 01:40:56 -07:00
Linux Build Service Account
2ed94ee2e3 Merge "spi: spi_qsd: Prevent deadlock while runtime pm is disabled" 2017-08-29 01:40:55 -07:00
Guchun Chen
c2beb40851 msm: sde: fix deadlock issue in concurrency test
When enabling early display, disabling weston service and launching
DRM_test, system looks to hang when DRM_test wants to open drm node.
The hang is caused by mutex deadlock.
So refine the code and remove the mutex lock to fix the problem.

Change-Id: I91d0c4e4418afde38c98a6294e49491403cdfe74
Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
Signed-off-by: Yujun Zhang <yujunzhang@codeaurora.org>
2017-08-28 06:35:38 -07:00
Amir Samuelov
df572ff0bc spcom: fix memory leak in spcom register client / register service API
free allocated memory in error handling of spcom_register_client()
and spcom_register_service() kernel API.

Change-Id: Ieb5787cb1a11d4b3320237fa8cdde3dc357d9084
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2017-08-28 06:10:40 -07:00
Gaurav Singhal
d697a47903 Revert "drivercore: Avoid adding devices without pm_ops to dpm list"
This reverts commit d36bb30811.

Not able to add device with PM core and causing suspend/resume
issue in I2C client driver.pm_ops are removed from I2C bus type
and should fall back on client driver pm_ops.

Reverting this change as we are not able to register I2C
client devices with PM core.

Change-Id: I973a03b7cd0afca2edb584539ea5c69198bfb089
Signed-off-by: Gaurav Singhal <gsinghal@codeaurora.org>
2017-08-28 05:39:41 -07:00
Odelu Kukatla
831f1a45c5 ARM: dts: msm: Add support for speed-bin 3 for SDM660
Add speed-bin 3 to support the fmax of 1.8 GHz and 1.6 GHz
for perf and power clusters respectively.
And also update the cpufreq table for the same.

Change-Id: Ia3be3f321b53bbbb4c37f5e86e451ca86ec8cdc9
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2017-08-28 17:02:50 +05:30
Manaf Meethalavalappu Pallikunhi
89fb51f2a7 msm: thermal: check LMH DCVS devicetree to enable reboot/suspend mitigation
KTM suspend/reboot frequency mitigation is not required for target
which has LMH DCVS hardware support. lmh_dcvs_available flag in the
KTM is initialized only post OSM driver is up. But during KTM probe,
it checks this flag to register suspend/reboot notifier. Since
it is not initialized, it always register with these notifier and
does frequency mitigation whenever it notifies KTM.

To avoid this, check if the LMH DCVS related devicetree node is
enabled during KTM probe before enabling suspend/reboot notifier
registration. To be safe use the same check in CPU frequency policy
callback for KTM max cpu frequency request as well.

Change-Id: I337477dd296e1e681498d702ab03c164d7554186
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2017-08-28 04:14:58 -07:00
Dhoat Harpal
4b6bee8a8a soc: qcom: ipc_router_glink_xprt: Add wakeup source in RX path
In function glink_xprt_notify_rxv work item is queued without
wakelock. This allows system to go in suspend state without
scheduling this work item.

Wakelock is taken to avoid system suspend before workqueue
execution.

CRs-Fixed: 2098623
Change-Id: Ic5f74dbb4bf315f1cb6aa528367a6fb80e8a11b6
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2017-08-28 16:42:40 +05:30
Zhiqiang Tu
d90bc47280 ARM: dts: msm: Add virtual platform specific pinctrl dtsi
Add customized pinctrl dtsi for virtual platform.

Change-Id: Id31cae5f3e96c4d816cb39953e0aaed5a783bb19
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2017-08-28 17:32:17 +08:00
Mukesh Kumar Savaliya
914700383f spi: spi_qsd: Prevent deadlock while runtime pm is disabled
Do not call runtime suspend forcefully while holding the mutex as runtime
suspend also tries to acquire the same mutex. Instead acquire it properly
with the condition of runtime_pm enablement status without mutex.

Change-Id: I2347820e81ded0821e6f56a415af3bed17a951b4
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
2017-08-28 14:49:07 +05:30