Commit graph

891,228 commits

Author SHA1 Message Date
qctecmdr
4a67eaed37 Merge "hh_dbl: fix a race condition while vm is booting" 2020-09-30 20:54:39 -07:00
qctecmdr
5fe63e27d1 Merge "Merge android11-5.4.61+ (e32adae) into msm-5.4" 2020-09-30 17:02:50 -07:00
qctecmdr
e445c18900 Merge "cnss2: Change to add prints on link down callback" 2020-09-29 10:33:06 -07:00
qctecmdr
0cd1516548 Merge "mm: fix the page_owner initializing issue for arm32" 2020-09-29 10:33:06 -07:00
qctecmdr
ba18f05ca6 Merge "defconfig: Enable Synaptics DSX Touch for Lahaina target" 2020-09-29 10:33:05 -07:00
qctecmdr
24cc636d79 Merge "defconfig: Enable LT9611UXC module for HDK8350" 2020-09-29 10:33:05 -07:00
Neeraj Upadhyay
ae0007c7e7 dt-bindings: ipcc: Add WDSP client ID
Add Client ID for WDSP in IPCC.

Change-Id: I8a350e7db2f8598f10c8262ab27536387f0ae5ac
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2020-09-29 02:02:21 -07:00
Wenjun Zhang
a8034e3d71 defconfig: Enable LT9611UXC module for HDK8350
Enable LT9611UXC module for HDK8350.

Change-Id: I8a2ebd616f04ec34f74949f74ced5f10bf8ac332
Signed-off-by: Wenjun Zhang <wjzhan@codeaurora.org>
2020-09-29 01:03:18 -07:00
Fei Mao
3bf50a04fb defconfig: Enable Synaptics DSX Touch for Lahaina target
This change enables synaptic dsx config for Lahaina target.

Change-Id: Id48fa69c3cca261b0a46a1146c44b1198bf55442
Signed-off-by: Fei Mao <feim1@codeaurora.org>
2020-09-28 23:11:31 -07:00
Zhenhua Huang
7f35a1228f mm: fix the page_owner initializing issue for arm32
arm32 original logic:
1. allocated memory for page_ext(using memblock).
2. invoke the init callback of page_ext_ops like
page_owner(using buddy).
3. initialize buddy.

after this change:
1. allocated memory for page_ext(using memblock).
2. initialize buddy.
3. invoke the init callback of page_ext_ops like
page_owner(using buddy).

with the change, failure/dummy_handle can get its correct value.

Change-Id: I6598481299da115ff4be50bf0e5a61a012d5ac83
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
2020-09-29 12:42:42 +08:00
Jeevan Shriram
e9ae2faf91 Merge android11-5.4.61+ (e32adae) into msm-5.4
* remotes/origin/tmp-e32adae:
  ANDROID: ABI: Update allowed list for QCOM
  Revert "UPSTREAM: ehci-hcd: Move include to keep CRC stable"
  Revert "ANDROID: Update android/abi_gki_aarch64.xml"
  ANDROID: Update android/abi_gki_aarch64.xml
  UPSTREAM: ehci-hcd: Move include to keep CRC stable
  UPSTREAM: kbuild: use CONFIG_CC_VERSION_TEXT to construct LINUX_COMPILER macro
  UPSTREAM: kbuild: do not pass $(KBUILD_CFLAGS) to scripts/mkcompile_h
  UPSTREAM: kbuild: ensure full rebuild when the compiler is updated
  ANDROID: abi: update for hikey960
  ANDROID: dts: hi3660: Fix duplicate adv7533 nodes
  ANDROID: kallsyms: ignore ThinLTO+CFI hash suffix in kallsyms_lookup_name()
  ANDROID: Refresh ABI.xmls with libabigail 1.8.0-1dca710a
  ANDROID: ABI: update allowed list for QCOM
  ANDROID: KMI symbol lists: migrate section name
  ANDROID: ABI: Update allowed list for GALAXY
  ANDROID: hikey960_gki.fragment: Remove UFS and USB bits
  ANDROID: lkdtm/usercopy: Use __va_function to find proper vm_mmap address
  ANDROID: mm: add generic __va_function and __pa_function
  ANDROID: vendor_hooks: Add hooks for debugging exception context
  FROMGIT: mm, oom_adj: don't loop through tasks in __set_oom_adj when not necessary

Change-Id: I84ca8d4c3849984c3b18432e9e42136adf6c5d5c
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2020-09-28 11:25:52 -07:00
qctecmdr
1a6f8ce5e2 Merge "msm-perf: Extended support for perf notification" 2020-09-28 10:21:01 -07:00
qctecmdr
5e70bd4dd3 Merge "msm: kgsl: Make sure GPU is idle before changing the CPAPRIV bit" 2020-09-28 10:21:01 -07:00
qctecmdr
e6c57233a1 Merge "msm: kgsl: Update HW idle check for A619 holi" 2020-09-28 10:21:01 -07:00
qctecmdr
31bfb6aa10 Merge "usb: gadget: Remove assigning the function descriptors" 2020-09-28 10:21:00 -07:00
qctecmdr
aa1bfb0326 Merge "pci: controller: msm: Prevent L0s before switching Gen speed" 2020-09-28 10:21:00 -07:00
Hareesh Gundu
b2cc23c873 msm: kgsl: Update HW idle check for A619 holi
Update HW idle check for A619 holi to ensure GPU
idle status is captured correctly.

Change-Id: I2c332e43b3e3f653421e0bc4ab823ac557cfa141
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2020-09-28 06:06:48 -07:00
richagar
27bee16a2f msm-perf: Extended support for perf notification
Added support for passing init info from userspace

Change-Id: Ica31b6ed19e6536dadd36b35b31e5202da75490f
Signed-off-by: richagar <richagar@codeaurora.org>
2020-09-28 17:32:17 +05:30
qctecmdr
69e5f82913 Merge "Revert "dt-bindings: input: touchscren: add description for synaptics_dsx"" 2020-09-28 04:21:28 -07:00
qctecmdr
1bbb11eaa8 Merge "defconfig: lahaina-qgki: enable CONFIG_USB_LAN78XX" 2020-09-28 04:21:28 -07:00
qctecmdr
eb8fa2b7b0 Merge "defconfig: Enablle usb peripheral audio on sdxlemur" 2020-09-28 04:21:27 -07:00
qctecmdr
a68b98fe72 Merge "msm: kgsl: Poll GDSCR to ensure CX collapse" 2020-09-28 04:21:27 -07:00
qctecmdr
048c65bd13 Merge "usb: phy: qmp: debug value of portselect pin" 2020-09-28 04:21:26 -07:00
qctecmdr
0236484610 Merge "usb: f_fs: Fix memory leak if copy_from_iter_full fails" 2020-09-28 04:21:26 -07:00
qctecmdr
bff3607241 Merge "USB: f_fs: Set ffs->func to NULL after disabling endpoint in set_alt()" 2020-09-28 04:21:26 -07:00
qctecmdr
e2f7dca423 Merge "input: touchscreen: mxt: add callback from drm panel" 2020-09-28 00:02:02 -07:00
qctecmdr
647825cc7a Merge "input: touchscreen: mxt: irq handler return value" 2020-09-28 00:02:02 -07:00
qctecmdr
cd5ad41594 Merge "input: touchscreen: focaltech: fix return value" 2020-09-28 00:02:01 -07:00
qctecmdr
73f7912c9a Merge "sched/walt: Improve the scheduler" 2020-09-28 00:02:01 -07:00
qctecmdr
dc931543e7 Merge "msm: pcie: update PCIe internal AUX CLK from boolean to a programmable type" 2020-09-28 00:02:01 -07:00
qctecmdr
f210f412fb Merge "drm/bridge: lt9611uxc: Add video config for lt9611uxc" 2020-09-28 00:02:00 -07:00
qctecmdr
3b01263f65 Merge "Support full CONE NAT and ADDRESS RESTRICTED CONE NAT" 2020-09-28 00:02:00 -07:00
Jack Pham
df30b04c71 USB: f_fs: Set ffs->func to NULL after disabling endpoint in set_alt()
When adb root is performed, userspace will close and open ffs_epsfile.
Closing this file will call ffs_functionfs_callback() which does call
remove_config(). This will call ffs_function_eps_disable to disable
endpoints and then calls ffs_func_unbind(). Unbind() will also call
endpoint disable which might lead to disabling endpoint which is already
disabled. Hence set ffs->func to NULL after disabling endpoints in
set_alt().

CRs-Fixed: 557532
Change-Id: I3052bdee74a1793d4e003de4b991d353e5d699b0
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2020-09-28 10:05:27 +05:30
Jack Pham
6dec79e68c usb: gadget: f_fs: Fail waiting IO after eps disabled
Normally in epfile_io() and epfile_ioctl(), if the endpoint is
not enabled the system call will block waiting until the endpoint
is enabled. During a USB disconnect, the function's endpoints get
disabled, so that if an IO call occurs right after that, it would
perform the same blocking wait. From the kernel perspective this
is indistinguishable from an IO call happening after the function
is first initialized but not yet enabled. Hence a userspace
process would be blocked and unaware of the cable disconnection.

For userspace daemons such as ADB, this can be a problem since its
read/write threads cannot be reaped until the I/O call returns,
which won't happen until the cable is reconnected. In that case,
the previous pending read/write would proceed to get successfully
queued. In the case of a read, the previous read consumes data
meant for the new session, and in the case of a write, stale data
could be sent to the host.

To fix this, add a counter to keep track of the epfile's open status.
Upon the endpoint getting disabled mark the endpoint as invalid so as
to fail subsequent IOs until the epfile is fully closed. Returning
-ENODEV upon failure should allow the userspace process to close the
file, so that it can reopen and begin a new session.

Change-Id: I655ffdaa03485753431ff05dc521bf8d1b463ff1
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2020-09-28 10:04:00 +05:30
Wenjun Zhang
44272cb4f1 drm/bridge: lt9611uxc: Add video config for lt9611uxc
Add lanes number and infterface number config for lt9611uxc,
and add the code to control lt9611 power enable/disable using gpio.

Change-Id: I18e12791ac671ba1d14f0815a94068fd5ae1abf2
Signed-off-by: Wenjun Zhang <wjzhan@codeaurora.org>
2020-09-28 10:42:48 +08:00
qctecmdr
bcb3f4fc7d Merge "msm: kgsl: Enable Preemption on A660 GPU variant" 2020-09-27 08:29:34 -07:00
qctecmdr
f6ed8b3e3f Merge "edac: improve gold CPU cache way parsing" 2020-09-27 08:29:33 -07:00
qctecmdr
b362348e33 Merge "msm-perf: Added support for Perf data collection" 2020-09-27 08:29:33 -07:00
qctecmdr
e3a8eb7789 Merge "clk: qcom: gcc-shima: Enable clocks for pm8008 by default" 2020-09-27 08:29:32 -07:00
qctecmdr
f3dfd22d9b Merge "clk: qcom: cpu: Add CPU clock driver for SDXLEMUR" 2020-09-27 08:29:32 -07:00
qctecmdr
f47bea82c8 Merge "arm64: defconfig: Enable SPS driver for Holi" 2020-09-27 08:29:32 -07:00
qctecmdr
6e5219d5bc Merge "scsi: ufs: Don't skip UFS probe in emmc based bootdevice" 2020-09-26 18:44:24 -07:00
Murali Nalajala
461167a69e hh_dbl: fix a race condition while vm is booting
When VM is booting, neuron driver can send a request to PVM using doorbell.
Currently this call is racing with when the doorbell driver is getting
the resources from the RM driver. Prevent clients to send a message when
resources are not ready. Added locking in function to check whether
resources are ready are not.

Unable to handle kernel NULL pointer dereference at virtual address 0x0
__wake_up_common+0x88/0x190
__wake_up+0x78/0xc0
hh_dbl_populate_cap_info+0xf4/0x1f8
hh_rm_populate_hyp_res+0x17c/0x2d0
hh_rm_get_svm_res_work_fn+0x34/0x78
process_one_work+0x214/0x468
worker_thread+0x330/0x4c0
kthread+0x134/0x148.

Change-Id: Id66b2d6382f33260dbb4c8d069c9fe5bc41e52fe
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2020-09-26 07:26:36 -07:00
Ajay Prathi
40477dec73 arm64: defconfig: Enable SPS driver for Holi
Enable SPS driver for Lahaina GKI version.
SPS (Smart Peripheral System) enables the support of
all BAMs in the system which provide DMA
functionality to various peripherals.

Change-Id: I5eb575d594bbd2c4858f224fcd40f1c2a04643f7
Signed-off-by: Ajay Prathi <aprathi@codeaurora.org>
2020-09-26 14:57:37 +05:30
qctecmdr
da2e3647bf Merge "defconfig: lahaina: remove CONFIG_LEDS_CLASS_FLASH & CONFIG_LEDS_TRIGGER_TIMER" 2020-09-25 13:11:08 -07:00
qctecmdr
1276e88a08 Merge "icc: dt-bindings: add endpoint IDs for interconnects for YUPIK" 2020-09-25 10:11:38 -07:00
qctecmdr
6d09adc73b Merge "defconfig: msm: Enable support for SCSI Generic(Sg)" 2020-09-25 10:11:38 -07:00
qctecmdr
c1cbc356a9 Merge "msm: cvp: Avoid referencing uninitialized variable" 2020-09-25 10:11:38 -07:00
qctecmdr
f5ea7fb93e Merge "cnss2: Assert when power on retry reaches maximum" 2020-09-25 10:11:37 -07:00
qctecmdr
11cd834e3c Merge "cnss2: Log a message after assert/de-assert WLAN_EN GPIO" 2020-09-25 10:11:37 -07:00