OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
6 years agoMerge "Ath10k: enable WLAN channel switch announcement offload"
Linux Build Service Account [Sat, 19 May 2018 21:01:37 +0000 (14:01 -0700)]
Merge "Ath10k: enable WLAN channel switch announcement offload"

6 years agoMerge "Revert "usb: host: Add support for usb core indexing""
Linux Build Service Account [Sat, 19 May 2018 21:01:21 +0000 (14:01 -0700)]
Merge "Revert "usb: host: Add support for usb core indexing""

6 years agoMerge "ARM: dts: msm: IPA clock switches to virtual clock on msm8996 vplatform"
Linux Build Service Account [Sat, 19 May 2018 21:01:16 +0000 (14:01 -0700)]
Merge "ARM: dts: msm: IPA clock switches to virtual clock on msm8996 vplatform"

6 years agoMerge "ARM: dts: msm: Enable required USB nodes for 8996 lagvm"
Linux Build Service Account [Sat, 19 May 2018 10:29:39 +0000 (03:29 -0700)]
Merge "ARM: dts: msm: Enable required USB nodes for 8996 lagvm"

6 years agoMerge "Revert "cfg80211: Define new API to send reg change event""
Linux Build Service Account [Sat, 19 May 2018 10:29:34 +0000 (03:29 -0700)]
Merge "Revert "cfg80211: Define new API to send reg change event""

6 years agoMerge "Revert "reg: qcom: call reg notifier during wiphy registration""
Linux Build Service Account [Sat, 19 May 2018 10:29:28 +0000 (03:29 -0700)]
Merge "Revert "reg: qcom: call reg notifier during wiphy registration""

6 years agoAth10k: enable WLAN channel switch announcement offload
Sarada Prasanna Garnayak [Thu, 10 May 2018 09:15:01 +0000 (14:45 +0530)]
Ath10k: enable WLAN channel switch announcement offload

The WLAN firmware supports the channel switch offload and
channel switch announcement event reporting to the WLAN driver.
In STA mode this feature adds support to wakeup the device from
the wow suspend on channel switch announcement by the connected
access point.

CRs-Fixed: 2170011
Change-Id: I68612beb0a808700a732fc858c8797200d1f4819
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
6 years agoARM: dts: msm: Enable required USB nodes for 8996 lagvm
c_krikum [Thu, 17 May 2018 12:09:20 +0000 (17:39 +0530)]
ARM: dts: msm: Enable required USB nodes for 8996 lagvm

Enable required USB nodes in LA-GVM specific dts
for msm8996.

Change-Id: I6359f6b7435383019d920e97f574c23ed557a67b
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
6 years agoARM: dts: msm: IPA clock switches to virtual clock on msm8996 vplatform
Zhiqiang Tu [Tue, 10 Apr 2018 02:40:25 +0000 (10:40 +0800)]
ARM: dts: msm: IPA clock switches to virtual clock on msm8996 vplatform

Virtual clock driver has added support for RPM controlled clock.
So change the IPA clock which is controlled by RPM from dummy
clock to virtual clock.

Change-Id: If0a95fd0cb530c7a230105f5035373e7cac2c102
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
6 years agoMerge "msm: mdss: Increase fbmem buf ref count before use in mdp3"
Linux Build Service Account [Thu, 17 May 2018 19:23:36 +0000 (12:23 -0700)]
Merge "msm: mdss: Increase fbmem buf ref count before use in mdp3"

6 years agoMerge "diag: Add new log codes to diag mask"
Linux Build Service Account [Thu, 17 May 2018 19:23:34 +0000 (12:23 -0700)]
Merge "diag: Add new log codes to diag mask"

6 years agoMerge changes into msm-4.4
Gerrit - the friendly Code Review server [Thu, 17 May 2018 19:06:46 +0000 (12:06 -0700)]
Merge changes  into msm-4.4

6 years agoRevert "cfg80211: Define new API to send reg change event"
Amar Singhal [Wed, 7 Mar 2018 19:41:48 +0000 (11:41 -0800)]
Revert "cfg80211: Define new API to send reg change event"

This reverts commit 98d5572dd2ec954f516f9fd5b55dcef2b09a1d7c. This API
no more needed since user would use existing kernel API.

Change-Id: I2d5a19fc9159da5ef7020cb1808b704b0344087e
CRs-Fixed: 2201959
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>
6 years agoRevert "reg: qcom: call reg notifier during wiphy registration"
Amar Singhal [Wed, 7 Mar 2018 20:58:55 +0000 (12:58 -0800)]
Revert "reg: qcom: call reg notifier during wiphy registration"

This reverts commit 2aa0bb3ac04d659292993423415a98a9b3cdda49. Upstream
commit aced43ce780dc5 ("cfg80211: Call reg_notifier for self managed
hints conditionally") replaces this functionality.

Change-Id: If52d83577ab2f136540f70ba17d417718ba05ddf
CRs-Fixed: 2201959
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>
6 years agoRevert "reg: qcom: call regulatory callback for self managed hints"
Amar Singhal [Tue, 10 Apr 2018 16:35:27 +0000 (09:35 -0700)]
Revert "reg: qcom: call regulatory callback for self managed hints"

This reverts commit 31e37a680dcbb02ba41d17972dba0b298cf1983d. Upstream
commit aced43ce780d ("cfg80211: Call reg_notifier for self managed
hints conditionally") replaces this functionality.

Change-Id: Ic0c3a235aee2dc8ccb36014c60314217b98b5b97
CRs-Fixed: 2201959
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>
6 years agoMerge "rh850: Add support to get irq type from device tree"
Linux Build Service Account [Thu, 17 May 2018 10:38:43 +0000 (03:38 -0700)]
Merge "rh850: Add support to get irq type from device tree"

6 years agoMerge "clk: msm: Add rpm controlled clock support for virtual clock"
Linux Build Service Account [Thu, 17 May 2018 10:38:41 +0000 (03:38 -0700)]
Merge "clk: msm: Add rpm controlled clock support for virtual clock"

6 years agoMerge "lpm-levels: Remove kfree for memory allocated with devm_kzalloc"
Linux Build Service Account [Thu, 17 May 2018 10:38:39 +0000 (03:38 -0700)]
Merge "lpm-levels: Remove kfree for memory allocated with devm_kzalloc"

6 years agoMerge "dsp: codecs: use native API to configure PCM output block in multiaac"
Linux Build Service Account [Thu, 17 May 2018 10:38:38 +0000 (03:38 -0700)]
Merge "dsp: codecs: use native API to configure PCM output block in multiaac"

6 years agoMerge "ARM: dts: msm: Add fastrpc vmid flag for sdm630"
Linux Build Service Account [Thu, 17 May 2018 10:38:37 +0000 (03:38 -0700)]
Merge "ARM: dts: msm: Add fastrpc vmid flag for sdm630"

6 years agoMerge "msm: camera: Update camera CDR mask setting for CPHY mode"
Linux Build Service Account [Thu, 17 May 2018 10:38:35 +0000 (03:38 -0700)]
Merge "msm: camera: Update camera CDR mask setting for CPHY mode"

6 years agoMerge "Revert "usb: core: Add helper function to return controller id""
Linux Build Service Account [Thu, 17 May 2018 10:38:31 +0000 (03:38 -0700)]
Merge "Revert "usb: core: Add helper function to return controller id""

6 years agoMerge "Revert "usb: host: xhci: Add helper function to return controller id""
Linux Build Service Account [Thu, 17 May 2018 10:38:29 +0000 (03:38 -0700)]
Merge "Revert "usb: host: xhci: Add helper function to return controller id""

6 years agoMerge "Revert "sound: usb: Provide controller number in QMI response""
Linux Build Service Account [Thu, 17 May 2018 10:38:27 +0000 (03:38 -0700)]
Merge "Revert "sound: usb: Provide controller number in QMI response""

6 years agoMerge "ARM: dts: msm: Add speed-bin 4 support for sdm660"
Linux Build Service Account [Thu, 17 May 2018 10:38:25 +0000 (03:38 -0700)]
Merge "ARM: dts: msm: Add speed-bin 4 support for sdm660"

6 years agoMerge "[drm/sde/hdmi] move scrambler setup from mode-set to pre-enable"
Linux Build Service Account [Thu, 17 May 2018 10:38:20 +0000 (03:38 -0700)]
Merge "[drm/sde/hdmi] move scrambler setup from mode-set to pre-enable"

6 years agodiag: Add new log codes to diag mask
Manoj Prabhu B [Thu, 17 May 2018 06:38:51 +0000 (12:08 +0530)]
diag: Add new log codes to diag mask

The patch adds new requested log codes to diag mask.

Change-Id: I4124e55077ae63b9c0c349feed409851108261d3
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
6 years agoMerge "ARM: dts: msm: support msm-pcm-dtmf on msm8996 adsp/cdp"
Linux Build Service Account [Wed, 16 May 2018 17:28:48 +0000 (10:28 -0700)]
Merge "ARM: dts: msm: support msm-pcm-dtmf on msm8996 adsp/cdp"

6 years agoMerge "ASoC: msm: qdsp6v2: increase max Rx DTMF duration"
Linux Build Service Account [Wed, 16 May 2018 17:28:45 +0000 (10:28 -0700)]
Merge "ASoC: msm: qdsp6v2: increase max Rx DTMF duration"

6 years agoARM: dts: msm: Add fastrpc vmid flag for sdm630
Tharun Kumar Merugu [Mon, 25 Sep 2017 08:01:37 +0000 (13:31 +0530)]
ARM: dts: msm: Add fastrpc vmid flag for sdm630

Add device specific flag for new vmid heap shared feature.

Change-Id: Ie6abb5d79162d2cbb80e31922452be249f18c632
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
6 years agoRevert "usb: host: Add support for usb core indexing"
Ajay Agarwal [Fri, 4 May 2018 04:51:57 +0000 (10:21 +0530)]
Revert "usb: host: Add support for usb core indexing"

This reverts commit 03a86f5cb1adaa2e30a70eefd7bc1ab9509eea46.

Remove support for usb core indexing since it is no longer
required to send controller number to remote client.

Change-Id: I8021c10037a668997782327e4c151d8cac2a2ebb
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
6 years agoRevert "ARM: dts: msm: Pass usb controller id for 8996"
Ajay Agarwal [Wed, 16 May 2018 07:11:43 +0000 (12:41 +0530)]
Revert "ARM: dts: msm: Pass usb controller id for 8996"

This reverts commit 745e97d518ee7fcd0836d329747926a8201bbca4.

Remove unique core IDs of the USB controllers on MSM8996.

Change-Id: Ie929c8c11831422e32e8b673abd8c20dfbcc79c5
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
6 years agoMerge "ARM: dts: msm: add HAB physical channels for msm8996 baseline vplatform"
Linux Build Service Account [Wed, 16 May 2018 07:29:11 +0000 (00:29 -0700)]
Merge "ARM: dts: msm: add HAB physical channels for msm8996 baseline vplatform"

6 years agoMerge "Revert "sound: usb: Update QMI indication message""
Linux Build Service Account [Wed, 16 May 2018 07:29:09 +0000 (00:29 -0700)]
Merge "Revert "sound: usb: Update QMI indication message""

6 years agoMerge "battery: handle early/late suspend/resume of i2c bus"
Linux Build Service Account [Wed, 16 May 2018 07:29:07 +0000 (00:29 -0700)]
Merge "battery: handle early/late suspend/resume of i2c bus"

6 years agodsp: codecs: use native API to configure PCM output block in multiaac
Soumya Managoli [Tue, 15 May 2018 13:16:45 +0000 (18:46 +0530)]
dsp: codecs: use native API to configure PCM output block in multiaac

Usage of q6asm_enc_cfg_blk_pcm() does not trigger
PortSettingsChanged event which is required for multi aac component.
Configure the PCM output block using q6asm_enc_cfg_blk_pcm_native()
which ensures that the event gets triggered.

Change-Id: Ieefeead45435840c2ecc1c072e8095785fd4b583
Signed-off-by: Satya Krishna Pindiproli <satyak@codeaurora.org>
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
6 years agomsm: camera: Update camera CDR mask setting for CPHY mode
Vijay kumar Tumati [Wed, 16 May 2018 05:17:34 +0000 (10:47 +0530)]
msm: camera: Update camera CDR mask setting for CPHY mode

Update the setting to match HPG on SDM660.

Change-Id: I12f7ac0127bf646cb7fb0095b6543a08e558fe4a
Signed-off-by: Vijay kumar Tumati <vtumati@codeaurora.org>
6 years ago[drm/sde/hdmi] move scrambler setup from mode-set to pre-enable
Camus Wong [Fri, 6 Apr 2018 00:40:15 +0000 (20:40 -0400)]
[drm/sde/hdmi] move scrambler setup from mode-set to pre-enable

when mode-set is called, HDP core is not enabled yet and scrambler
is not working. Move scrambler setup to pre-enable stage will fix
this problem.

Change-Id: I85d0ac22c6b789a9c0f6288b06cabf3225c20b45
Signed-off-by: Camus Wong <camusw@codeaurora.org>
6 years agoRevert "usb: core: Add helper function to return controller id"
Ajay Agarwal [Fri, 4 May 2018 04:51:26 +0000 (10:21 +0530)]
Revert "usb: core: Add helper function to return controller id"

This reverts commit c611d78437adeb9299d8be3f7be78b9c153152e5.

Remove helper function to return controller id.

Change-Id: Iadc085bf1dd9553c0805511f3cbafabdec8744f5
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
6 years agoRevert "usb: host: xhci: Add helper function to return controller id"
Ajay Agarwal [Fri, 4 May 2018 04:50:51 +0000 (10:20 +0530)]
Revert "usb: host: xhci: Add helper function to return controller id"

This reverts commit 97618148cec392dd81aedbef03504c90b5ddaf26.

Remove helper function to return controller id.

Change-Id: I1c0f6cd5600630d77d986f9782e4b83e2919d22b
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
6 years agoRevert "sound: usb: Provide controller number in QMI response"
Ajay Agarwal [Fri, 4 May 2018 04:47:14 +0000 (10:17 +0530)]
Revert "sound: usb: Provide controller number in QMI response"

This reverts commit 9730f9cdc0874d372a3eb10680ed8622e26db2bb.

Remote entity does not require the controller number. Tunnel
mode audio will only work with the primary controller. Hence
remove support for providing controller num.

Change-Id: Ife8c0ca969334c57046a91bae428b5f89f9e0566
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
6 years agoRevert "sound: usb: Pass device speed instead of dcba information"
Ajay Agarwal [Fri, 4 May 2018 04:45:49 +0000 (10:15 +0530)]
Revert "sound: usb: Pass device speed instead of dcba information"

This reverts commit 8177d0955dfdcc7910a261af04d9214018e38d13.

ADSP requires dcba memory information. Hence pass it from driver.

Change-Id: Ibaf120ba130a24329ef88c7755154e50ba3a7335
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
6 years agoRevert "usb: core: Remove helper APIs returning dcba dma address"
Ajay Agarwal [Fri, 4 May 2018 04:45:01 +0000 (10:15 +0530)]
Revert "usb: core: Remove helper APIs returning dcba dma address"

This reverts commit 039bcf340ea35f1e5c4a81f290455570097d7d62.

Add back helper APIs to return dcba dma address.

Change-Id: Ia65e98691d1a3c241694f07215c12605832f574d
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
6 years agoRevert "usb: host: xhci: Remove helper API retuning dcba dma address"
Ajay Agarwal [Fri, 4 May 2018 04:44:04 +0000 (10:14 +0530)]
Revert "usb: host: xhci: Remove helper API retuning dcba dma address"

This reverts commit 9c1d883952b8430994a302d10aab2bc8130bcd97.

Add back helper API to return dcba dma address.

Change-Id: I769c42d53f19bbefb65d491823911b39ec620751
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
6 years agoMerge "asoc: sdm660: Add configuration for adaptive bitrate."
Linux Build Service Account [Tue, 15 May 2018 02:56:24 +0000 (19:56 -0700)]
Merge "asoc: sdm660: Add configuration for adaptive bitrate."

6 years agoMerge "regulator: cprh-kbss: Add speed-bin 4 support for sdm660"
Linux Build Service Account [Tue, 15 May 2018 02:56:23 +0000 (19:56 -0700)]
Merge "regulator: cprh-kbss: Add speed-bin 4 support for sdm660"

6 years agoMerge "diag: Initialize memory device memory pools"
Linux Build Service Account [Tue, 15 May 2018 02:56:22 +0000 (19:56 -0700)]
Merge "diag: Initialize memory device memory pools"

6 years agoMerge "Revert "defconfig: msm: Enable 802.11AD WiFi platform driver""
Linux Build Service Account [Tue, 15 May 2018 02:56:21 +0000 (19:56 -0700)]
Merge "Revert "defconfig: msm: Enable 802.11AD WiFi platform driver""

6 years agoMerge "ARM: dts: msm: add hab device node into the msm8996 ivi LA vplatform"
Linux Build Service Account [Tue, 15 May 2018 02:56:19 +0000 (19:56 -0700)]
Merge "ARM: dts: msm: add hab device node into the msm8996 ivi LA vplatform"

6 years agoMerge "ARM: dts: msm: Use peripheral nodes from QRD630 on QRD636"
Linux Build Service Account [Tue, 15 May 2018 02:56:17 +0000 (19:56 -0700)]
Merge "ARM: dts: msm: Use peripheral nodes from QRD630 on QRD636"

6 years agoasoc: sdm660: Add configuration for adaptive bitrate.
Soumya Managoli [Tue, 8 May 2018 05:01:22 +0000 (10:31 +0530)]
asoc: sdm660: Add configuration for adaptive bitrate.

Add hostless front end DAI to trigger backend
configuration of BT backend dai required for
configuring BT ABR statistics. Add mixer ctrls
to independently configure TX and RX sample
rates to allow BT RX and TX backends.

Change-Id: I2370eccb10da666ecf267f2756b2efd66ecbf8f6
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
6 years agoARM: dts: msm: Use peripheral nodes from QRD630 on QRD636
Jiangen Jiao [Fri, 8 Sep 2017 08:58:49 +0000 (16:58 +0800)]
ARM: dts: msm: Use peripheral nodes from QRD630 on QRD636

Include QRD630 device tree file to leverage peripherals nodes and
delete smb1351 node as it is not present on QRD630 board.

Change-Id: I91b6356bf7267d56af73eee1a1bea3fa5ae944f4
Signed-off-by: Jiangen Jiao <jiangenj@codeaurora.org>
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
6 years agodiag: Initialize memory device memory pools
Sreelakshmi Gownipalli [Thu, 11 Jan 2018 18:45:23 +0000 (10:45 -0800)]
diag: Initialize memory device memory pools

Initialize memory device memory pools for diag bridge
only during diag bridge initialization.

Change-Id: I6454ced55e020ade9e3bb99a266548f77f79e193
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
6 years agoARM: dts: msm: Add speed-bin 4 support for sdm660
Tirupathi Reddy [Fri, 27 Apr 2018 11:37:45 +0000 (17:07 +0530)]
ARM: dts: msm: Add speed-bin 4 support for sdm660

Add APC CPR configuration for sdm660 speed-bin 4
parts.

Change-Id: Iaeb5611218fbad22083f030a374db31c5774153b
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
6 years agoregulator: cprh-kbss: Add speed-bin 4 support for sdm660
Tirupathi Reddy [Fri, 11 May 2018 09:35:13 +0000 (15:05 +0530)]
regulator: cprh-kbss: Add speed-bin 4 support for sdm660

Update fuse combo count supported for sdm660 to 40.

Change-Id: I9ee2c15792c3f006db5969be42bce19a4ebc180c
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
6 years agoARM: dts: msm: add hab device node into the msm8996 ivi LA vplatform
Yong Ding [Tue, 8 May 2018 08:41:14 +0000 (16:41 +0800)]
ARM: dts: msm: add hab device node into the msm8996 ivi LA vplatform

HAB(Hypervisor ABstraction driver) is used to support
message tx/rx or buffer sharing between multiple OS in the
virtualization environment.
With such hab device node in the ivi LA vplatform's device
tree, hab driver will get its configurations dynamically.
So it will not use the default configurations any more.

Change-Id: Ie036799428bccac3685229c249b4943335807b68
Signed-off-by: Yong Ding <yongding@codeaurora.org>
6 years agorh850: Add support to get irq type from device tree
Zhiqiang Tu [Sat, 12 May 2018 07:21:31 +0000 (15:21 +0800)]
rh850: Add support to get irq type from device tree

Irq type may vary among targets, add support to get
it from device tree.

Change-Id: I60cb49a4c5fee3dda4ec5abc02966b0b961590da
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
6 years agoRevert "defconfig: msm: Enable 802.11AD WiFi platform driver"
Vivek Kumar [Fri, 11 May 2018 06:47:59 +0000 (12:17 +0530)]
Revert "defconfig: msm: Enable 802.11AD WiFi platform driver"

This reverts commit 976d5ca5ddeff6f4b2b364edb916d39fa6448365.

Change-Id: I4b6bb0e3af39bcdf0238ca542ab3acfc584a5fd3
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
6 years agolpm-levels: Remove kfree for memory allocated with devm_kzalloc
Maulik Shah [Fri, 11 May 2018 04:51:22 +0000 (10:21 +0530)]
lpm-levels: Remove kfree for memory allocated with devm_kzalloc

Do not use kfree for memory allocated with devm_kzalloc during
failures as device memory will get freed in device release.

Change-Id: I6c4d3f8ed55ab02e3e70a1fe65452a8817c8b64e
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
6 years agoMerge "soc: qcom: scm_qcpe: Add support for GHS"
Linux Build Service Account [Thu, 10 May 2018 18:33:48 +0000 (11:33 -0700)]
Merge "soc: qcom: scm_qcpe: Add support for GHS"

6 years agoMerge "soc: qcom: hab: hold the message when the read buffer is smaller"
Linux Build Service Account [Thu, 10 May 2018 18:33:45 +0000 (11:33 -0700)]
Merge "soc: qcom: hab: hold the message when the read buffer is smaller"

6 years agoARM: dts: msm: support msm-pcm-dtmf on msm8996 adsp/cdp
Timothy Sham [Fri, 27 Apr 2018 16:38:15 +0000 (12:38 -0400)]
ARM: dts: msm: support msm-pcm-dtmf on msm8996 adsp/cdp

Add msm-pcm-dtmf DAI for sound cards on msm8996
automotive ADP/CDP platforms.

Change-Id: I5015536ec7293892bb1da4547b2ea90b20d93123
Signed-off-by: Timothy Sham <tsham@codeaurora.org>
6 years agoMerge "Merge android-4.4.131 (d5d6526) into msm-4.4"
Linux Build Service Account [Thu, 10 May 2018 08:25:18 +0000 (01:25 -0700)]
Merge "Merge android-4.4.131 (d5d6526) into msm-4.4"

6 years agoMerge "diag: Add new WLAN_RSN event id"
Linux Build Service Account [Wed, 9 May 2018 20:54:15 +0000 (13:54 -0700)]
Merge "diag: Add new WLAN_RSN event id"

6 years agomsm: mdss: Increase fbmem buf ref count before use in mdp3
Sachin Bhayare [Thu, 12 Apr 2018 13:27:52 +0000 (18:57 +0530)]
msm: mdss: Increase fbmem buf ref count before use in mdp3

The reference count for fbmem buf is not increased before use,
which means it can be get freed unintentionally when the reference
count is decreased to "0". In this case, there is possibility of
use after free. Ensure that fbmem buf refcount is incremented
before use mdp3 driver.

Change-Id: I38787c27a26ae550c6fb28697a7583490ad19df8
Signed-off-by: Sachin Bhayare <sachin.bhayare@codeaurora.org>
6 years agoMerge "drm: msm: improve early splash mechanism"
Linux Build Service Account [Wed, 9 May 2018 12:09:47 +0000 (05:09 -0700)]
Merge "drm: msm: improve early splash mechanism"

6 years agosoc: qcom: hab: hold the message when the read buffer is smaller
Yong Ding [Mon, 23 Apr 2018 11:04:39 +0000 (19:04 +0800)]
soc: qcom: hab: hold the message when the read buffer is smaller

If the receive buffer in habmm_socket_recv() is smaller
than the message, it should be kept in the queue rather
than dropped.

Change-Id: Iabc1f73e5b443cc7ebdefc3961d5bec9049a265f
Signed-off-by: Yong Ding <yongding@codeaurora.org>
6 years agodiag: Add new WLAN_RSN event id
Manoj Prabhu B [Fri, 4 May 2018 09:05:11 +0000 (14:35 +0530)]
diag: Add new WLAN_RSN event id

The patch adds new WLAN_RSN_INFO event as latest ID.

Change-Id: Ic76506632ea0aa61c79c52824556b6aaeb0b04e6
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
6 years agoASoC: msm: qdsp6v2: increase max Rx DTMF duration
Timothy Sham [Thu, 3 May 2018 15:45:54 +0000 (11:45 -0400)]
ASoC: msm: qdsp6v2: increase max Rx DTMF duration

Increase the maximum value of the DTMF Rx Generate
mixer command and change the read to int16 to allow
for clients to be able to set '-1', infinite tone.

Change-Id: I44eed4712bb05a70b4464d9db38c348c131a3f61
Signed-off-by: Timothy Sham <tsham@codeaurora.org>
6 years agoMerge "ipvs: use IPVS_CMD_ATTR_MAX for family.maxattr"
Linux Build Service Account [Tue, 8 May 2018 20:46:01 +0000 (13:46 -0700)]
Merge "ipvs: use IPVS_CMD_ATTR_MAX for family.maxattr"

6 years agoMerge "power: smb-lib: Enable TypeC crude sensor PBS WA based on PMIC type"
Linux Build Service Account [Tue, 8 May 2018 20:45:59 +0000 (13:45 -0700)]
Merge "power: smb-lib: Enable TypeC crude sensor PBS WA based on PMIC type"

6 years agoMerge "power: smb-lib: Add support for SW based OV detection"
Linux Build Service Account [Tue, 8 May 2018 20:45:58 +0000 (13:45 -0700)]
Merge "power: smb-lib: Add support for SW based OV detection"

6 years agoMerge "smb-lib: add support of DP/DM pulsing for fix 5V, 9V and 12V"
Linux Build Service Account [Tue, 8 May 2018 20:45:58 +0000 (13:45 -0700)]
Merge "smb-lib: add support of DP/DM pulsing for fix 5V, 9V and 12V"

6 years agoMerge "ion: Consider ion pool pages as indirectly reclaimable"
Linux Build Service Account [Tue, 8 May 2018 20:45:56 +0000 (13:45 -0700)]
Merge "ion: Consider ion pool pages as indirectly reclaimable"

6 years agoMerge "mm: treat indirectly reclaimable memory as free in overcommit logic"
Linux Build Service Account [Tue, 8 May 2018 20:45:55 +0000 (13:45 -0700)]
Merge "mm: treat indirectly reclaimable memory as free in overcommit logic"

6 years agoMerge "mm: treat indirectly reclaimable memory as available in MemAvailable"
Linux Build Service Account [Tue, 8 May 2018 20:45:54 +0000 (13:45 -0700)]
Merge "mm: treat indirectly reclaimable memory as available in MemAvailable"

6 years agoMerge "soc: qcom: glink_smem_native_xprt: Move rx_worker in irq handler"
Linux Build Service Account [Tue, 8 May 2018 20:45:53 +0000 (13:45 -0700)]
Merge "soc: qcom: glink_smem_native_xprt: Move rx_worker in irq handler"

6 years agoMerge "diag: Add new Diag IDs"
Linux Build Service Account [Tue, 8 May 2018 20:45:52 +0000 (13:45 -0700)]
Merge "diag: Add new Diag IDs"

6 years agoMerge "input: touchscreen: synaptics_dsx: Fix buffer overflow"
Linux Build Service Account [Tue, 8 May 2018 20:45:51 +0000 (13:45 -0700)]
Merge "input: touchscreen: synaptics_dsx: Fix buffer overflow"

6 years agopower: smb-lib: Enable TypeC crude sensor PBS WA based on PMIC type
Umang Agrawal [Tue, 17 Apr 2018 14:46:01 +0000 (20:16 +0530)]
power: smb-lib: Enable TypeC crude sensor PBS WA based on PMIC type

Enable TypeC crude sensor PBS WA based on PMIC type since it is
required for PM660 and PMI8998 only.

Change-Id: Ib4f170ddba893e5b96372eecee9b9b74cb2a97e2
Signed-off-by: Umang Agrawal <uagrawal@codeaurora.org>
6 years agopower: smb-lib: Add support for SW based OV detection
Umang Agrawal [Mon, 16 Apr 2018 09:11:11 +0000 (14:41 +0530)]
power: smb-lib: Add support for SW based OV detection

Add support for software based USBIN OV detection, once
OV condition is detected, software will force USBIN to 5V
and continue charging with 5V.

Change-Id: Ie8f00f69db4ac6330d9da82b3455e4efab43861a
Signed-off-by: Umang Agrawal <uagrawal@codeaurora.org>
6 years agosmb-lib: add support of DP/DM pulsing for fix 5V, 9V and 12V
Umang Agrawal [Tue, 8 May 2018 11:42:30 +0000 (17:12 +0530)]
smb-lib: add support of DP/DM pulsing for fix 5V, 9V and 12V

This change will enable userspace to control adapter's output
voltage. Userspace can force adapter's output voltage to
5V/9V/12V.

Change-Id: I4a60a681c136df6864294dbd19849503a2be2e7b
Signed-off-by: Umang Agrawal <uagrawal@codeaurora.org>
6 years agoMerge "soc: qcom: glink_ssr: Initialize waitqueue in probe function"
Linux Build Service Account [Tue, 8 May 2018 11:21:31 +0000 (04:21 -0700)]
Merge "soc: qcom: glink_ssr: Initialize waitqueue in probe function"

6 years agoMerge "defconfig: msm: add bluetooth related defconfigs for gvm"
Linux Build Service Account [Tue, 8 May 2018 11:21:29 +0000 (04:21 -0700)]
Merge "defconfig: msm: add bluetooth related defconfigs for gvm"

6 years agoMerge "ARM: dts: msm: add bluetooth chip device node for gvm"
Linux Build Service Account [Tue, 8 May 2018 11:21:26 +0000 (04:21 -0700)]
Merge "ARM: dts: msm: add bluetooth chip device node for gvm"

6 years agoion: Consider ion pool pages as indirectly reclaimable
Vijayanand Jitta [Wed, 18 Apr 2018 04:58:16 +0000 (10:28 +0530)]
ion: Consider ion pool pages as indirectly reclaimable

An issue is observed where mallocs are failing due to overcommit failure.
The failure happens when there is high ION page pool since ION page
pool is not considered reclaimable by the overcommit calculation code.
This change considers ion pool pages as indirectly reclaimable and thus
accounted as available memory in the overcommit calculation.

Change-Id: I8d63209b8c19286e55c407459ff124fdc58fdcc2
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
6 years agoARM: dts: msm: add HAB physical channels for msm8996 baseline vplatform
Yong Ding [Tue, 8 May 2018 09:38:59 +0000 (17:38 +0800)]
ARM: dts: msm: add HAB physical channels for msm8996 baseline vplatform

MISC, QCPE and FDE physical channels are added for msm8996
baseline vplatform for test and security use cases.

Change-Id: I1ba984bf65b9aab8cf56f024a24494498b701fca
Signed-off-by: Yong Ding <yongding@codeaurora.org>
6 years agosoc: qcom: glink_ssr: Initialize waitqueue in probe function
Dhoat Harpal [Mon, 12 Mar 2018 11:42:13 +0000 (17:12 +0530)]
soc: qcom: glink_ssr: Initialize waitqueue in probe function

waitqueue is initialized on every call to notify_for_subsystem.
This leads to stability issue if one thread is waiting for completion
and another thread re-initializes it.

Waitqueue is initialized only in probe function.

CRs-Fixed: 2197181
Change-Id: I3509a7c4a197c727b2025c1aeb6a35690c3c8501
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
6 years agosoc: qcom: scm_qcpe: Add support for GHS
Amit Blay [Thu, 3 May 2018 13:10:40 +0000 (16:10 +0300)]
soc: qcom: scm_qcpe: Add support for GHS

Add support for GHS

Change-Id: I454ee5e9c643b6521ae5072bb461b7c43bbe9dcc
Signed-off-by: Amit Blay <ablay@codeaurora.org>
6 years agosoc: qcom: glink_smem_native_xprt: Move rx_worker in irq handler
Dhoat Harpal [Fri, 13 Apr 2018 13:36:42 +0000 (19:06 +0530)]
soc: qcom: glink_smem_native_xprt: Move rx_worker in irq handler

Tx_data cmd is processed in tasklet which is not guranteed to be
scheduled immidiatley. This decreases performance of glink.

Process tx_data command in irq handler.

CRs-Fixed: 2225619
Change-Id: Ida5e51b83fa46c76f72ae886260752baa8b942b9
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
6 years agomm: treat indirectly reclaimable memory as free in overcommit logic
Vijayanand Jitta [Tue, 10 Apr 2018 23:27:47 +0000 (16:27 -0700)]
mm: treat indirectly reclaimable memory as free in overcommit logic

Indirectly reclaimable memory can consume a significant part of total
memory and it's actually reclaimable (it will be released under actual
memory pressure).This patch considers it as free in overcommit logic.

This patch is referenced from commit d79f7aa496fc ("mm: treat indirectly
reclaimable memory as free in overcommit logic") on upstream, as node
based vmstat global_node_page_state is not present zone based vmstat
global_page_state is used instead.

Change-Id: I9af71c566c83e24cd12e7653782b1898ccc7d680
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
6 years agodiag: Add new Diag IDs
Sreelakshmi Gownipalli [Mon, 23 Apr 2018 20:41:14 +0000 (13:41 -0700)]
diag: Add new Diag IDs

Update to latest diag IDs

Change-Id: I57a25f570484f2cd8255275015ca2c70294a78fb
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
6 years agomm: treat indirectly reclaimable memory as available in MemAvailable
Vijayanand Jitta [Tue, 10 Apr 2018 23:27:40 +0000 (16:27 -0700)]
mm: treat indirectly reclaimable memory as available in MemAvailable

Adjust /proc/meminfo MemAvailable calculation by adding the amount of
indirectly reclaimable memory (rounded to the PAGE_SIZE).

This change is referenced from commit 034ebf65c3c2 ("mm: treat indirectly
reclaimable memory as available in MemAvailable") on upstream, as node
based vmstat global_node_page_state is not present, zone based vmstat
global_page_state is used instead.

Change-Id: I7303d0f8ccd5993c7234a5187430d418d49e5763
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
6 years agoMerge "irqchip: gic: print correct resume irq name"
Linux Build Service Account [Tue, 8 May 2018 02:23:43 +0000 (19:23 -0700)]
Merge "irqchip: gic: print correct resume irq name"

6 years agoMerge "mm: introduce NR_INDIRECTLY_RECLAIMABLE_BYTES"
Linux Build Service Account [Tue, 8 May 2018 02:23:40 +0000 (19:23 -0700)]
Merge "mm: introduce NR_INDIRECTLY_RECLAIMABLE_BYTES"

6 years agoMerge "taskstats: fix the length of cgroupstats_cmd_get_policy"
Linux Build Service Account [Tue, 8 May 2018 02:23:37 +0000 (19:23 -0700)]
Merge "taskstats: fix the length of cgroupstats_cmd_get_policy"

6 years agodefconfig: msm: add bluetooth related defconfigs for gvm
Song Gao [Mon, 7 May 2018 04:38:58 +0000 (12:38 +0800)]
defconfig: msm: add bluetooth related defconfigs for gvm

Currently, bluetooth are not enabled in gvm. It depends
on bluetooth power and rfkill related deconfigs.

Add these deconfigs to enable bluetooth in gvm.

Change-Id: Ib4b8d07e183852e77b02722584e5467127e68879
Signed-off-by: Song Gao <songg@codeaurora.org>
6 years agoARM: dts: msm: add bluetooth chip device node for gvm
Song Gao [Mon, 7 May 2018 04:20:29 +0000 (12:20 +0800)]
ARM: dts: msm: add bluetooth chip device node for gvm

Currently, bluetooth chip reset function can not be
controlled through BT_EN gpio pin.

Add bluetooth chip device node along with bt-reset-gpio
to make this function workable.

Change-Id: I8cb9a274f4d5991587a299693d00609128742395
Signed-off-by: Song Gao <songg@codeaurora.org>
6 years agoMerge "ARM: dts: msm: update mem region on msm8996 auto boards"
Linux Build Service Account [Mon, 7 May 2018 17:03:56 +0000 (10:03 -0700)]
Merge "ARM: dts: msm: update mem region on msm8996 auto boards"

6 years agoMerge "Android.bp: Initial header export bp for Android (qseecom only)"
Linux Build Service Account [Mon, 7 May 2018 07:58:54 +0000 (00:58 -0700)]
Merge "Android.bp: Initial header export bp for Android (qseecom only)"