Commit graph

585336 commits

Author SHA1 Message Date
Linux Build Service Account
b174cc4b07 Merge "msm: camera: isp: Do not wait w/o interruptible" 2017-02-28 17:03:48 -08:00
Linux Build Service Account
f5ba6d1e77 Merge "msm: kgsl: Clean up device debugfs files on removal" 2017-02-28 17:03:47 -08:00
Linux Build Service Account
fb7ed6aaa8 Merge "msm: camera: jpegdma: fix compilation issues for sdm660" 2017-02-28 17:03:47 -08:00
Linux Build Service Account
f57fc5ef76 Merge "msm: qpnp-haptic: Manage the state of PON regulator" 2017-02-28 17:03:45 -08:00
Linux Build Service Account
adb1c6ac95 Merge "msm: qpnp-haptic: add additional checks to avoid division by zero." 2017-02-28 17:03:44 -08:00
Linux Build Service Account
7a0d50c776 Merge "msm: camera: Fix invalid access of vb2 buffer" 2017-02-28 17:03:43 -08:00
Linux Build Service Account
dbc4dc7807 Merge "msm: camera: Correct the settings for csiphy clock lane" 2017-02-28 17:03:42 -08:00
Linux Build Service Account
30f26be013 Merge "ARM: dts: msm: Add stmVL53L0 device entry" 2017-02-28 17:03:42 -08:00
Linux Build Service Account
e328726a91 Merge "msm: camera: isp: add support for CX iPeak limits management" 2017-02-28 17:03:41 -08:00
Prashanth Bhatta
443b19badd 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>
2017-02-28 14:12:02 -08:00
Iliya Varadzhakov
2bc5c937f3 msm:cci: Add protection for race condition in cci queue access
If two sensors are connected to the same CCI bus they start to
write to this bus asynchronously. In some cases first sensor
will start to write to the bus whle the second sensor call
cci init function. Such race condition causes cci queue timeout
To avoid such race condition cci init needs to be protected
with queue mutexes.

Change-Id: Ie8acf1c6543475a5b0b494c826d4af47573d0db3
Signed-off-by: Iliya Varadzhakov <ivarad@codeaurora.org>
2017-02-28 10:50:01 -08:00
Sujeev Dias
bde04af52b 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>
2017-02-28 10:45:17 -08:00
Sujeev Dias
29b04c0ff5 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>
2017-02-28 10:38:56 -08:00
Tony Truong
92b1edc793 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>
2017-02-28 10:38:21 -08:00
Jonathan Wicks
19fa7ff6d7 ARM: dts: msm: Enable the GPU QTimer access
Add the QTimer property to the device tree so that the GPU
can access the QTimer value.

Change-Id: I868724a07d209f5cfe8a7901cf56585818dc71d2
Signed-off-by: Jonathan Wicks <jwicks@codeaurora.org>
2017-02-28 11:12:34 -07:00
Jonathan Wicks
2e560ec3d0 msm: kgsl: Map GPU QTimer through GPU IOMMU
Map the GPU QTimer area as a global into the GPU
IOMMU so that the GPU can access the QTimer.

Change-Id: If50bd36681123adde7e3a37644c41316f101154c
Signed-off-by: Jonathan Wicks <jwicks@codeaurora.org>
2017-02-28 11:12:33 -07:00
Jordan Crouse
6a24f15d53 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>
2017-02-28 09:39:41 -07:00
Jordan Crouse
9073863d35 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>
2017-02-28 09:39:39 -07:00
Derek Chen
8457647af6 ASoC: msm: qdsp6v2: add memset of adm open before usage
Add memset of adm open v5 and v6 structure before
value assignment to avoid warning of uninitialized stack.

CRs-fixed: 1112462
Change-Id: I18681f6b191e96118fde9ae774d105dc6b677858
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2017-02-28 08:04:41 -08:00
Laxminath Kasam
618936473f 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>
2017-02-28 20:55:55 +05:30
Maya Erez
5f075ec48b 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>
2017-02-28 15:45:38 +02:00
Hardik Kantilal Patel
311352e71f 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>
2017-02-28 18:52:55 +05:30
Senthil Kumar Rajagopal
e76210808d msm: camera: isp: enable/disable hvx only if the state changed
Save the previous satates of HVX . enable or disable
hvx only if the previous state is different from current state.

Change-Id: I24081d1fccff17a0da26ff213df056c7a1cb6388
Signed-off-by: Senthil Kumar Rajagopal <skrajago@codeaurora.org>
2017-02-28 03:25:18 -08:00
Vijayavardhan Vennapusa
6d0d3f2222 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>
2017-02-28 03:17:17 -08:00
Kui Wang
6f9253f799 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>
2017-02-28 01:45:29 -08:00
Srinivas Ramana
67c98cd8a7 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>
2017-02-28 14:55:42 +05:30
Senthil Kumar Rajagopal
9fa25bf455 msm: isp: fix for potentitial array out of bound access
There is no bound check on dual_hw_ms_cmd->num_src,
which is coming from userspace
num_src is used as the limit for the for loop.
The max num_src can hold is 255 (type uint8_t).
This implies that i can go upto to 254.
However dual_hw_ms_cmd->input_src can only hold 5 bytes.
So, we may acces out of bound array.

CRs-Fixed: 2006169

Change-Id: If5927e06e70cce4afb0ae9f2cdfec80f76f83771
Signed-off-by: Senthil Kumar Rajagopal <skrajago@codeaurora.org>
2017-02-28 01:24:14 -08:00
Pratap Nirujogi
8caa1d73b6 ARM: dts: msm: Add cpp micro reset flag for SDM660
Enable cpp micro reset flag. Reset vbif and
load firmware on poll failures to recover from error
scenario.

CRs-Fixed: 1098549
Change-Id: I3dbdf99d17c7c7036dc09af750bde412865a6cf7
Signed-off-by: Pratap Nirujogi <pratapn@codeaurora.org>
2017-02-28 01:19:35 -08:00
Shashank Mittal
3f8c010896 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>
2017-02-28 01:15:36 -08:00
Rama Krishna Phani A
4eaa5ae3c4 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>
2017-02-28 13:07:31 +05:30
Linux Build Service Account
59a631bcac Merge "arm64: Disable KASAN in uwwind_frame" 2017-02-27 23:37:28 -08:00
Linux Build Service Account
993b116d8d Merge "msm: kgsl: Add efuse read capabilities for A508 GPU" 2017-02-27 23:37:28 -08:00
Linux Build Service Account
8b8f43a684 Merge "i2c-msm-v2: Enable/Disable clocks and gpios per transfer" 2017-02-27 23:37:27 -08:00
Linux Build Service Account
99383b676b Merge "qseecom: add mutex around qseecom_set_client_mem_param" 2017-02-27 23:37:26 -08:00
Linux Build Service Account
22e7695a57 Merge "msm: mdss: Allocate DMA pipe for pan display path" 2017-02-27 23:37:25 -08:00
Linux Build Service Account
a805bce81d Merge "msm: sde: Add mutex lock for debug buffer access in rotator" 2017-02-27 23:37:24 -08:00
Linux Build Service Account
598d0c01b1 Merge "msm: mdss: add support for Cx iPeak limit management" 2017-02-27 23:37:23 -08:00
Linux Build Service Account
a19f132f6e Merge "Revert "firmware_class: Add an additional path to fw_path list"" 2017-02-27 23:37:22 -08:00
Linux Build Service Account
f3cef9d2d4 Merge "soc: qcom: Notify clients in case qmi connection to service locator fails" 2017-02-27 23:37:21 -08:00
Linux Build Service Account
d26bc0f855 Merge "f_gsi: Make usb ipa wq as freezable workqueue" 2017-02-27 23:37:20 -08:00
Linux Build Service Account
986e0dacea Merge "msm: ipa: increment GSI command timeout" 2017-02-27 23:37:19 -08:00
Linux Build Service Account
c3b7b9dbd6 Merge "msm: kgsl: Add placeholders for KGSL power limit functions" 2017-02-27 23:37:19 -08:00
Linux Build Service Account
431f1938d9 Merge "msm: ipa3: Fix uninitialized variables access" 2017-02-27 23:37:18 -08:00
Linux Build Service Account
36bf237dc5 Merge "msm: ipa3: Validate IPA client mapping to endpoint index" 2017-02-27 23:37:17 -08:00
Linux Build Service Account
8f3046b536 Merge "ARM: dts: msm: Allow modem MBA to be loaded in carveout for SDM660" 2017-02-27 23:37:16 -08:00
Linux Build Service Account
f97a00ec54 Merge "ARM: dts: msm: change memlat vote for min freq on SDM630" 2017-02-27 23:37:15 -08:00
Linux Build Service Account
2fec724818 Merge "ASoC: msm: Fix kernel crash in "Speaker Function" mixer control" 2017-02-27 23:37:15 -08:00
Linux Build Service Account
ce81588865 Merge "defconfig: msm: Enable PBS driver support for sdm660" 2017-02-27 23:37:13 -08:00
Linux Build Service Account
dd5d0b8fb6 Merge "ARM: dts: msm: Update GFX PM-QoS values for SDM660" 2017-02-27 23:37:13 -08:00
Linux Build Service Account
7d02367922 Merge "qcom: smb138x: Average 10 die temperature samples" 2017-02-27 23:37:12 -08:00