Commit graph

599752 commits

Author SHA1 Message Date
Ajay Agarwal
ca3d15e44b Revert "usb: host: xhci: Remove helper API retuning dcba dma address"
This reverts commit 9c1d883952.

Add back helper API to return dcba dma address.

Change-Id: I769c42d53f19bbefb65d491823911b39ec620751
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
2018-05-15 14:52:46 +05:30
Linux Build Service Account
fc81fdad87 Merge "asoc: sdm660: Add configuration for adaptive bitrate." 2018-05-14 19:56:24 -07:00
Linux Build Service Account
a7fd106f1a Merge "regulator: cprh-kbss: Add speed-bin 4 support for sdm660" 2018-05-14 19:56:23 -07:00
Linux Build Service Account
f957c365f1 Merge "diag: Initialize memory device memory pools" 2018-05-14 19:56:21 -07:00
Linux Build Service Account
0e9b2e997d Merge "Revert "defconfig: msm: Enable 802.11AD WiFi platform driver"" 2018-05-14 19:56:20 -07:00
Linux Build Service Account
90410eaf1d Merge "ARM: dts: msm: add hab device node into the msm8996 ivi LA vplatform" 2018-05-14 19:56:19 -07:00
Linux Build Service Account
0299331256 Merge "ARM: dts: msm: Use peripheral nodes from QRD630 on QRD636" 2018-05-14 19:56:16 -07:00
Derek Chen
22bc759598 defconfig: msm: enable lpass resource mgr for msm8996-auto
Enable LPASS resource manager for msm8996-auto to help
synchronize ADSP loading with early audio playback.

CRs-fixed: 2126728
Signed-off-by: Derek Chen <chenche@codeaurora.org>
Change-Id: I18c04e1cd8737c5120cd7d3e86e8ee01a1a303d5
2018-05-14 14:47:19 -07:00
Derek Chen
836a4d5bf3 ARM: dts: msm: add lpass resource mgr on automotive msm8996
Add lpass resource manager node to the automotive device tree
to allow checking for early audio playback.
Early audio support is disabled by default.

CRs-fixed: 2128456
Change-Id: I8dbab157fb9c90ccf55f807d5f2558646ed35de5
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2018-05-14 14:46:39 -07:00
Derek Chen
cdbb6fba72 ASoC: msm: qdsp6v2: add early audio interface support
Add early audio interface support to allow
synchronization between ADSP loading and early
audio playback.

Execute the command
'echo 0 > /sys/kernel/lpass_resource_mgr/check_early_audio'
to check if early audio playback is ongoing.
Output will be "Online" if early audio playback is ongoing.

CRs-fixed: 2126727
Change-Id: I95d07c8f3cd93ded112b551238a973a76fb6b7ed
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2018-05-14 17:42:38 -04:00
Derek Chen
125ff102eb ASoC: msm: qdsp6v2: return the proper LPASS status
Allow the LPASS status check API to return
the proper status code.

CRs-fixed: 2126725
Change-Id: I6c34036ec30c7d4ce8aaefb70d19b04b211f7355
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2018-05-14 17:28:59 -04:00
Soumya Managoli
1a9c85b25d 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>
2018-05-14 05:04:45 -07:00
Jiangen Jiao
c793b29774 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>
2018-05-14 15:46:46 +08:00
Sreelakshmi Gownipalli
a84cbe29cb 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>
2018-05-14 13:14:34 +05:30
Tirupathi Reddy
815bdaa1e4 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>
2018-05-14 11:18:58 +05:30
Tirupathi Reddy
b717c40ca9 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>
2018-05-14 11:18:50 +05:30
Yong Ding
4364ec12f0 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>
2018-05-14 09:36:43 +08:00
Zhiqiang Tu
59b0972a90 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>
2018-05-12 15:26:16 +08:00
Roman Kiryanov
aa3863d276 goldfish: pipe: ANDROID: mark local functions static
goldfish_dma_ioctl_getoff and goldfish_dma_ioctl_create_region
are not used outside of goldfish_pipe_v2.c - mark them
static.
Bug: 72717639
Bug: 66884503
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: Id4fe524cc4db9d36b0c794ad9f34356f396153b4
2018-05-11 11:21:59 -07:00
Roman Kiryanov
1e1da81a27 Revert "goldfish: pipe: ANDROID: Allocate memory with GFP_KERNEL."
This reverts commit ed11d8f2a0.
Since get_free_pipe_id_locked runs with interrupts disabled, we don't
want to make calls that could lead to sleep.
Bug: 72717639
Bug: 66884503
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I6c2eac97fd415bdbd5afa0a3a90559e0da3e1c86
2018-05-11 11:10:56 -07:00
Martijn Coenen
6a92abb29c UPSTREAM: ANDROID: binder: prevent transactions into own process.
This can't happen with normal nodes (because you can't get a ref
to a node you own), but it could happen with the context manager;
to make the behavior consistent with regular nodes, reject
transactions into the context manager by the process owning it.

Reported-by: syzbot+09e05aba06723a94d43d@syzkaller.appspotmail.com
Signed-off-by: Martijn Coenen <maco@android.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 7aa135fcf26377f92dc0680a57566b4c7f3e281b)
2018-05-11 07:29:13 +00:00
Vivek Kumar
1e2d077f01 Revert "defconfig: msm: Enable 802.11AD WiFi platform driver"
This reverts commit 976d5ca5dd.

Change-Id: I4b6bb0e3af39bcdf0238ca542ab3acfc584a5fd3
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
2018-05-11 12:18:34 +05:30
Maulik Shah
9a56229f15 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>
2018-05-11 11:40:52 +05:30
Yimin Peng
9401b69e1d spmi: pmic-arb: support updating interrupt type flags
Have the qpnpint_irq_set_type function clear unwanted high/low
trigger bits when updating the interrupt flags.

Change-Id: Ie55d6178ea94350ecf8c79714cb863ea63d76ea6
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
2018-05-11 10:08:19 +08:00
Linux Build Service Account
d5b2406b66 Merge "soc: qcom: scm_qcpe: Add support for GHS" 2018-05-10 11:33:47 -07:00
Linux Build Service Account
390f993317 Merge "soc: qcom: hab: hold the message when the read buffer is smaller" 2018-05-10 11:33:45 -07:00
Timothy Sham
b613e31b6e 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>
2018-05-10 11:30:31 -07:00
Linux Build Service Account
6e5dae3ae1 Merge "Merge android-4.4.131 (d5d6526) into msm-4.4" 2018-05-10 01:25:18 -07:00
Linux Build Service Account
d7521d9bb9 Merge "diag: Add new WLAN_RSN event id" 2018-05-09 13:54:14 -07:00
Sachin Bhayare
e9d6a3f0a7 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>
2018-05-09 05:32:43 -07:00
Linux Build Service Account
d718058109 Merge "drm: msm: improve early splash mechanism" 2018-05-09 05:09:47 -07:00
Yong Ding
c7e6dca757 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>
2018-05-09 19:31:48 +08:00
Manoj Prabhu B
6241aeff0f 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>
2018-05-09 01:35:39 -07:00
Timothy Sham
6e3516ef4c 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>
2018-05-08 14:27:20 -07:00
Linux Build Service Account
43fb4adbdc Merge "ipvs: use IPVS_CMD_ATTR_MAX for family.maxattr" 2018-05-08 13:46:00 -07:00
Linux Build Service Account
058359baba Merge "power: smb-lib: Enable TypeC crude sensor PBS WA based on PMIC type" 2018-05-08 13:45:59 -07:00
Linux Build Service Account
6b9ca47dab Merge "power: smb-lib: Add support for SW based OV detection" 2018-05-08 13:45:58 -07:00
Linux Build Service Account
4623da5bd0 Merge "smb-lib: add support of DP/DM pulsing for fix 5V, 9V and 12V" 2018-05-08 13:45:57 -07:00
Linux Build Service Account
49ff4084ee Merge "ion: Consider ion pool pages as indirectly reclaimable" 2018-05-08 13:45:55 -07:00
Linux Build Service Account
60fd114777 Merge "mm: treat indirectly reclaimable memory as free in overcommit logic" 2018-05-08 13:45:55 -07:00
Linux Build Service Account
d822f25d6d Merge "mm: treat indirectly reclaimable memory as available in MemAvailable" 2018-05-08 13:45:54 -07:00
Linux Build Service Account
c18ab0bcb7 Merge "soc: qcom: glink_smem_native_xprt: Move rx_worker in irq handler" 2018-05-08 13:45:53 -07:00
Linux Build Service Account
14effa597c Merge "diag: Add new Diag IDs" 2018-05-08 13:45:52 -07:00
Linux Build Service Account
78cb670fd2 Merge "input: touchscreen: synaptics_dsx: Fix buffer overflow" 2018-05-08 13:45:49 -07:00
Roman Kiryanov
3702e76fb6 goldfish: pipe: ANDROID: Add DMA support
This change improves the pipe performance by removing unnesessary
memory copying.

Bug: 72717639
Bug: 66884503
Change-Id: I0d279f682039e411faf4212713d82ec355c3e9ee
Signed-off-by: Roman Kiryanov <rkir@google.com>
Signed-off-by: Lingfeng Yang <lfy@google.com>
2018-05-08 10:13:50 -07:00
Jaegeuk Kim
033c952f2e UPSTREAM: f2fs: clear PageError on writepage - part 2
This patch clears PageError in some pages tagged by read path, but when we
write the pages with valid contents, writepage should clear the bit likewise
ext4.

Change-Id: I7d599ea65d0e30e5faa1cbfb3e1309f62511202b
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit a44b418c31)
2018-05-08 16:08:58 +00:00
Umang Agrawal
aa38c97b5e 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>
2018-05-08 17:16:01 +05:30
Umang Agrawal
d9749262e8 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>
2018-05-08 17:15:56 +05:30
Umang Agrawal
0d177827e0 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>
2018-05-08 17:15:50 +05:30
Linux Build Service Account
46b4f44537 Merge "soc: qcom: glink_ssr: Initialize waitqueue in probe function" 2018-05-08 04:21:31 -07:00