Commit graph

884,811 commits

Author SHA1 Message Date
qctecmdr
cea635c334 Merge "tmc-etr: Fix duplicate logs issue when use sw usb mode" 2020-07-03 22:59:57 -07:00
qctecmdr
d1539bed87 Merge "arm64: defconfig: Add support for CAMCC, VIDEOCC, GPUCC for SHIMA" 2020-07-03 22:59:57 -07:00
qctecmdr
d853cf28e0 Merge "dt-bindings: interconnect: Add support for SDXLEMUR DT bindings" 2020-07-03 22:59:54 -07:00
qctecmdr
4a586a11be Merge "build.config.msm.lahaina: Add qgki-consolidate as a supported variant" 2020-07-03 17:48:44 -07:00
qctecmdr
68cc33bb02 Merge "cnss2: Add support to create device sysfs group" 2020-07-03 17:48:43 -07:00
qctecmdr
7fd2521759 Merge "input: qcom-hv-haptics: adjust frequency calibration sequence" 2020-07-03 17:48:43 -07:00
qctecmdr
79ef6da814 Merge "spi: spi-msm-geni: Propagate missing change from 4.19 to 5.4" 2020-07-03 17:48:42 -07:00
qctecmdr
2eb8bc2d6b Merge "pci: msm: Add support to disable L1SS sleep" 2020-07-03 17:48:42 -07:00
qctecmdr
83cf165b63 Merge "mm, memory_hotplug: update pcp lists everytime onlining a memory block" 2020-07-03 17:48:41 -07:00
qctecmdr
d6adec818d Merge "input: touchscreen: focaltech_touch: Remove vfs_read()" 2020-07-03 17:48:41 -07:00
qctecmdr
7018e9ed05 Merge "defconfig: enable fixed and stub regulator for sdxlemur" 2020-07-03 12:28:56 -07:00
qctecmdr
a181eca3b9 Merge "msm: cvp: Re-initialize the HFI queue headers after CDSP-SSR" 2020-07-03 12:28:56 -07:00
qctecmdr
a265191ce0 Merge "mm: allow vmas with vm_ops to be speculatively handled" 2020-07-03 12:28:55 -07:00
qctecmdr
db51931ef7 Merge "arm64: defconfig: configuration for UTS namespace" 2020-07-03 12:28:55 -07:00
qctecmdr
54814fbe0c Merge "defconfig: msm: Enable CONFIG_QTI_TZ_LOG on perf builds" 2020-07-03 12:28:55 -07:00
qctecmdr
d4dd0c906b Merge "RTC6226: set the the Channel spacing value in Radio Config register" 2020-07-03 12:28:54 -07:00
qctecmdr
fb5e25c4b9 Merge "usb: dwc3-msm: Fix potential array out-of- bounds access" 2020-07-03 12:28:54 -07:00
qctecmdr
06a2496919 Merge "FROMGIT: binder: fix null deref of proc->context" 2020-07-03 12:28:54 -07:00
qctecmdr
412a67e1fe Merge "msm: cvp: Add IPCC mapping for CVP FW" 2020-07-03 04:10:19 -07:00
qctecmdr
30563a4dea Merge "Revert "irqdomain: Implement and expose API to clear IRQ mapping for radix tree"" 2020-07-03 04:10:18 -07:00
qctecmdr
64f0825f01 Merge "vmscan: Support multiple kswapd threads per node" 2020-07-03 04:10:18 -07:00
qctecmdr
9b42fe6257 Merge "defconfig: enable system pm violators for lahaina" 2020-07-03 04:10:17 -07:00
qctecmdr
b5c91fa029 Merge "mm: memory_hotplug: wait on device_hotplug_lock in OOM path" 2020-07-03 04:10:17 -07:00
qctecmdr
a84a5a18b4 Merge "arm64: defconfig: add trusted touch support to GKI defconfig" 2020-07-03 04:10:16 -07:00
qctecmdr
4cc91100ed Merge "leds: qti-flash: Disable flash LED channel after De-strobe" 2020-07-03 04:10:16 -07:00
qctecmdr
b4e7c7ab9c Merge "mm: disable fault around on emulated access bit architecture" 2020-07-03 04:10:16 -07:00
qctecmdr
92fd4ddff3 Merge "msm: cvp:fix potential prop_array idx out range" 2020-07-02 22:46:56 -07:00
qctecmdr
81c099aed2 Merge "ABI: Update whitelist" 2020-07-02 22:46:56 -07:00
qctecmdr
52c24cbf41 Merge "msm: kgsl: Fix kgsl_state_is_awake for gmu targets" 2020-07-02 22:46:55 -07:00
qctecmdr
5267e2c6f8 Merge "iommu: Remove iommu_debugfs_top" 2020-07-02 22:14:46 -07:00
qctecmdr
9a8fa3bef0 Merge "arm64: Enable a bunch of android recommended configs" 2020-07-02 22:14:45 -07:00
qctecmdr
472dad2bc9 Merge "defconfig: arm64: Disable SDCARD_FS for Lahaina" 2020-07-02 22:14:45 -07:00
qctecmdr
10d4fc23ab Merge "msm: ipa: Add more ipa API to ipa framework" 2020-07-02 22:14:45 -07:00
Fei Mao
6385fec1b7 input: touchscreen: focaltech_touch: Remove vfs_read()
To request a firmware file by request_firmware() is preferred.

Change-Id: I99d408793a3d52a664828cc35494d740531b0c68
Signed-off-by: Fei Mao <feim1@codeaurora.org>
2020-07-02 10:15:01 +08:00
Fenglin Wu
0d7ed2e07f input: qcom-hv-haptics: adjust frequency calibration sequence
Adjust following settings in frequency calibration sequence according to
HW recommendation:
 1) Use 50% auto resonance detection error window.
 2) Play for 150 ms before reading the calibration result.

Change-Id: Id43376f6878daedaf98b1d9065a3b0b363314add
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-07-02 09:42:44 +08:00
Yue Ma
72161038f2 cnss2: Add support to create device sysfs group
Currently CNSS driver creates sysfs nodes from different paths.
Add support to create device sysfs group to consolidate the paths
so that it will be easy to extend in the future.

Change-Id: I9e923288018cad558d3cd591f08f73dcf9c60219
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2020-07-01 12:50:14 -07:00
Yue Ma
fe4e4f287c abi: Update qcom whitelist with devm_device* APIs
Add devm_device_add_group and devm_device_remove_group to qcom
whitelist to avoid build failure.

Change-Id: I68acc186ec509e2f556019b20cfa370dbd3bab06
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2020-07-01 12:49:29 -07:00
Hemant Kumar
4e6f18d642 pci: msm: Add support to disable L1SS sleep
Read device tree property qcom,l1ss-sleep-disable
to prevent sending L1SS sleep enable and disable
rpmsg to DRV processor. This support is added to
prevent PCIe link down caused due to manually
operating phy PLL.

Change-Id: I2f96f3dc186d3af0ffad110807204936af58814a
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2020-07-01 12:02:06 -07:00
Charan Teja Reddy
0112a49388 mm, memory_hotplug: update pcp lists everytime onlining a memory block
When onlining a first memory block in a zone, pcp lists are not updated
thus pcp struct will have the default setting of ->high = 0,->batch = 1.
This means till the second memory block in a zone(if it have) is onlined
the pcp lists of this zone will not contain any pages because pcp's
->count is always greater than ->high thus free_pcppages_bulk() is
called to free batch size(=1) pages every time system wants to add a
page to the pcp list through free_unref_page(). To put this in a word,
system is not using benefits offered by the pcp lists when there is a
single onlineable memory block in a zone. Correct this by always
updating the pcp lists when memory block is onlined.

Change-Id: I5a0c5cc128481fdb48b9dc4e1fe2860f59e958e3
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
[isaacm@codeaurora.org: resolved trivial merge conflicts]
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-06-30 11:21:25 -07:00
Vipin Deep Kaur
c5d86f08db spi: spi-msm-geni: Propagate missing change from 4.19 to 5.4
Propagate following change from 4.19 to 5.4 for SPI driver.
'commit 67192635d468 ("spi: spi-geni-qcom: Check for zero length
transfer")'.

Change-Id: I27bdd8b544ba1bdaa0a868d2260c4f76c156c215
Signed-off-by: Vipin Deep Kaur <vkaur@codeaurora.org>
2020-06-30 14:46:44 +05:30
Vipin Deep Kaur
e71111a9fa spi: spi-msm-geni: Propagate missing change from 4.19 to 5.4
Propagate following change from 4.19 to 5.4 for SPI driver.
'commit 634968af3a1f ("spi: spi-geni-qcom: Allow flexible MISO
sampling rate for SPI HLOS")'.

Change-Id: I5061cec80875e5fad4d25b04977b8ce1281818fd
Signed-off-by: Vipin Deep Kaur <vkaur@codeaurora.org>
2020-06-30 14:32:42 +05:30
Vipin Deep Kaur
67ec5c3b8f spi: spi-msm-geni: Propagate missing change from 4.19 to 5.4
Propagate following change from 4.19 to 5.4 for SPI driver.
'commit 64485a92b029 ("spi: spi-geni-qcom: Check for Rx DMA channel
being null")'.

Change-Id: I0dc30e38d0cbbab21d26eeab17b40b14017d48ff
Signed-off-by: Vipin Deep Kaur <vkaur@codeaurora.org>
2020-06-30 14:25:17 +05:30
Vipin Deep Kaur
ce64610d0e spi: spi-msm-geni: Propagate missing change from 4.19 to 5.4
Propagate following change from 4.19 to 5.4 for SPI driver.
'commit 185ecd35b11f ("spi: spi-geni-qcom: Reset the dma engine on
failure")'.

Change-Id: I3839d5bc773e7d7ea71ba6ff611f55f4869000f3
Signed-off-by: Vipin Deep Kaur <vkaur@codeaurora.org>
2020-06-30 14:20:12 +05:30
prernak
3f19888c6c defconfig: msm: Enable CONFIG_QTI_TZ_LOG on perf builds
Enable CONFIG_QTI_TZ_LOG as tz logs are required on perf builds.

Change-Id: I41db5d53a8eadc794edb0ba8c0abebafbb8f4594
Signed-off-by: prernak <prernak@codeaurora.org>
2020-06-30 13:46:21 +05:30
Arthur Shuai
86bf6f981f arm64: defconfig: configuration for UTS namespace
Add and enable UTS namespace.

Change-Id: I07fd4034d9371d3b47e93f73f2e94334bd31afdd
Signed-off-by: Arthur Shuai <shuaiq@codeaurora.org>
2020-06-30 00:39:05 -07:00
Vipin Deep Kaur
182605a377 spi: spi-msm-geni: Propagate missing change from 4.19 to 5.4
Propagate following change from 4.19 to 5.4 for SPI driver.
'commit f5bcbeb4a2a1 ("spi-geni-qcom: Add shared_ee dtsi property
for spi driver")'.

Change-Id: Ic64d6a6e358ba5fd1898eaacfb72586cdab9184a
Signed-off-by: Vipin Deep Kaur <vkaur@codeaurora.org>
2020-06-30 11:31:00 +05:30
Vipin Deep Kaur
196ed030ad spi: spi-msm-geni: Propagate missing change from 4.19 to 5.4
Propagate following change from 4.19 to 5.4 for SPI driver.
'commit 22cec88da571 ("i2c: i2c-qcom-geni: Add lock and unlock
tre support in I2C GSI mode")'.

Change-Id: I1b92829cd04b379e48c34b09b5ab5ef4440ac0a8
Signed-off-by: Vipin Deep Kaur <vkaur@codeaurora.org>
2020-06-30 10:56:16 +05:30
Haseeb Khan
6086680640 msm: cvp: Re-initialize the HFI queue headers after CDSP-SSR
The change is to fix hang issue after CDSP-SSR.

Change-Id: I7608b32b5c308c08902b19b1b2343a0fae6888ab
Signed-off-by: Haseeb Khan <hkhan@codeaurora.org>
2020-06-30 01:33:17 +05:30
Todd Kjos
6dfe047050 FROMGIT: binder: fix null deref of proc->context
The binder driver makes the assumption proc->context pointer is invariant after
initialization (as documented in the kerneldoc header for struct proc).
However, in commit f0fe2c0f050d ("binder: prevent UAF for binderfs devices II")
proc->context is set to NULL during binder_deferred_release().

Another proc was in the middle of setting up a transaction to the dying
process and crashed on a NULL pointer deref on "context" which is a local
set to &proc->context:

    new_ref->data.desc = (node == context->binder_context_mgr_node) ? 0 : 1;

Here's the stack:

[ 5237.855435] Call trace:
[ 5237.855441] binder_get_ref_for_node_olocked+0x100/0x2ec
[ 5237.855446] binder_inc_ref_for_node+0x140/0x280
[ 5237.855451] binder_translate_binder+0x1d0/0x388
[ 5237.855456] binder_transaction+0x2228/0x3730
[ 5237.855461] binder_thread_write+0x640/0x25bc
[ 5237.855466] binder_ioctl_write_read+0xb0/0x464
[ 5237.855471] binder_ioctl+0x30c/0x96c
[ 5237.855477] do_vfs_ioctl+0x3e0/0x700
[ 5237.855482] __arm64_sys_ioctl+0x78/0xa4
[ 5237.855488] el0_svc_common+0xb4/0x194
[ 5237.855493] el0_svc_handler+0x74/0x98
[ 5237.855497] el0_svc+0x8/0xc

The fix is to move the kfree of the binder_device to binder_free_proc()
so the binder_device is freed when we know there are no references
remaining on the binder_proc.

Fixes: f0fe2c0f050d ("binder: prevent UAF for binderfs devices II")
Signed-off-by: Todd Kjos <tkjos@google.com>
(cherry picked from commit d35d3660e065b69fdb8bf512f3d899f350afce52
     git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-linus)
Bug: 158252621
Git-commit: bf0e4f96e4
Git-repo: https://android.googlesource.com/kernel/common/+/refs/heads/android-5.4-stable
Change-Id: Icb74dba032540a67854deb00e1e78e32326717b6
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-06-29 11:52:28 -07:00
himta ram
f5b71df415 RTC6226: set the the Channel spacing value in Radio Config register
Channel spacing value is not updated to Radio
Config register.This leads to scan all valid station
in scan list.
Update the the Channel spacing value in Radio Config
register as per rtc6226 driver data sheet.

CRs-Fixed: 2721208
Change-Id: I40b3a32c916714b4db15279b7e6abaa22b85afad
Signed-off-by: himta ram <hram@codeaurora.org>
2020-06-29 18:57:54 +05:30