Commit graph

892,620 commits

Author SHA1 Message Date
qctecmdr
75e68a7d23 Merge "soc: qcom: glink_probe: use lock while sending ssr notification" 2020-12-04 05:45:43 -08:00
qctecmdr
3402a7974e Merge "mailbox: apcs-ipc: Add compatible string for sdxnightjar" 2020-12-04 01:05:25 -08:00
qctecmdr
68d460cb7d Merge "haven: remove config to disable hyp uart" 2020-12-04 01:05:24 -08:00
qctecmdr
6efa9b3e62 Merge "defconfig: enable MDF core for WCD support for sdxnightjar" 2020-12-04 01:05:24 -08:00
qctecmdr
e73c8ff3a8 Merge "input: touchscreen: nt36xxx: add new touch driver" 2020-12-04 01:05:23 -08:00
Asish Bhattacharya
3cbf423423 defconfig: enable MDF core for WCD support for sdxnightjar
Enable the Kconfig to expose mfd APIs.

Change-Id: Id401ba94222df508a901c330443b705b35265883
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
2020-12-04 07:13:14 +05:30
Asish Bhattacharya
9fc7c22ea4 msm: mfd: Enable MFD for WCD support
Add support to enable MFD core.

Change-Id: I512c2024498ff426fb45127d64b7035d63c65694
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
2020-12-04 07:12:57 +05:30
Murali Nalajala
feb7397985 haven: remove config to disable hyp uart
Hyp uart is default disabled from ABL now. There is no need of
CONFIG_HH_DISABLE_UART option anymore. Hyp uart now can be controlled
using DEBUG_FS interface.

Change-Id: Ie1a0986399d30b89bf62468a23633994c8d6b11b
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2020-12-03 17:19:56 -08:00
Murali Nalajala
704f8b0a03 haven: ctrl: add debugfs interface to control hyp uart
Hyp uart is disabled default today in ABL. Provide debugfs
interface to users when they want to enable hyp uart to
debug hypervisor and VM issues.

Change-Id: I5e2c0501ed309a65c9dff1304b2e88e0d58917ae
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2020-12-03 16:38:09 -08:00
qctecmdr
b0d1963b89 Merge "arm64: defconfig: Add support for GPUCC for YUPIK" 2020-12-03 06:20:07 -08:00
qctecmdr
11b5bc34f4 Merge "usb: dwc3-msm: Avoid access of gsi_reg for non-GSI targets" 2020-12-03 06:20:07 -08:00
qctecmdr
5161b65167 Merge "cnss_utils: Compile wlan service file as part of GPL module" 2020-12-03 06:20:06 -08:00
qctecmdr
d3cbb54d34 Merge "msm: ipa: Support hardware accelerated DIAG over qdss with ipa_fmwk" 2020-12-03 06:20:06 -08:00
qctecmdr
f79ed0dbae Merge "selinux: move ibpkeys code under CONFIG_SECURITY_INFINIBAND" 2020-12-03 06:20:06 -08:00
qctecmdr
bdd0d3a7cc Merge "drivers: soc: qcom: Check if readq_relaxed macro is defined" 2020-12-03 06:20:05 -08:00
Deepak Kumar Singh
c3c08ac7a1 soc: qcom: glink_probe: use lock while sending ssr notification
In ssr handling of remote subsystem down, all rpmsg devices are removed
for that edge. If at the same time ssr down is received for other remote
subsystem, it may try to notify already down remote and end up using
invalid rpmsg device which causes use after free.

Store device state in ssr context and update this with holding a lock.
SSR notification function should also use the same lock and perform
check for validity of rpmsg device.

CRs-Fixed: 2580433
Change-Id: I339e228a527f7b6a737944d8e9e53caa31992914
Signed-off-by: Deepak Kumar Singh <deesin@codeaurora.org>
2020-12-03 13:49:27 +05:30
Deepak Kumar Singh
95d601bb7f soc: qcom: glink_probe: Use ref count for holding ssr context
During ssr rpmsg ssr device will unregister, which can result
in use of stale device pointer in ssr callback function.

Now incrementing refcount inside ssr callback function to
prevent release of rpmsg device.

CRs-Fixed: 2551255
Change-Id: If3fc57c4635378dc6fdcb7df120c83dca0e83758
Signed-off-by: Deepak Kumar Singh <deesin@codeaurora.org>
2020-12-03 13:49:09 +05:30
chenx
46689bcfc2 input: touchscreen: nt36xxx: add new touch driver
Add this new touch driver code here.

Change-Id: Ibc8c382cb67246ccc0fad570648bf78963cc7f51
Signed-off-by: chenx <luxh0702@thundersoft.com>
Git-commit: 7af455f1e6f65871f9c722dff4c1c9de6989500b
Git-repo: https://source.codeaurora.org/external/thundersoft/ihvjointlab/sensor-driver/commit/?h=Novatek_nt36xxx
Signed-off-by: Fei Mao <feim1@codeaurora.org>
2020-12-02 21:37:55 -08:00
qctecmdr
e14ef833ac Merge "guestvm_loader: isolate cpus when VM is starting" 2020-12-02 16:21:18 -08:00
qctecmdr
1ddf016918 Merge "icnss: Update FW_INIT_DONE QMI indication with hang event params" 2020-12-02 16:21:17 -08:00
qctecmdr
3068283a7a Merge "clk: qcom: Add support for NPU QDSS clocks" 2020-12-02 16:21:17 -08:00
qctecmdr
16577402f7 Merge "coresight: Doesn't save and restore ETMs state while CPU hot-plug" 2020-12-02 16:21:17 -08:00
qctecmdr
858cd7768a Merge "msm: kgsl: Poll a6x crashdumper register memory for status" 2020-12-02 12:33:05 -08:00
qctecmdr
716324595c Merge "icnss2: Add support for host triggered recovery" 2020-12-02 12:33:04 -08:00
qctecmdr
03ee1e4f8a Merge "icnss2: Avoid race between soc wake release threads" 2020-12-02 12:33:04 -08:00
qctecmdr
a9178e5c9b Merge "spi: spi-msm-geni: Bypass hw_version read for SVM" 2020-12-02 12:33:04 -08:00
qctecmdr
9c36b67360 Merge "soc: qcom: Initialize the irq count work item" 2020-12-02 12:33:03 -08:00
qctecmdr
e72d8c95da Merge "defconfig: sdxlemur: add dependence defconfig" 2020-12-02 08:44:35 -08:00
qctecmdr
4420d6ffed Merge "cnss2: pci: Trigger link down recovery if link fails to enter L0" 2020-12-02 08:44:35 -08:00
qctecmdr
ac8cdc9962 Merge "msm: pcie: support configurable number of PARF testbus selectors" 2020-12-02 08:44:34 -08:00
qctecmdr
1db02978e4 Merge "msm: dp: fix no audio over DP on device bootup" 2020-12-02 08:44:34 -08:00
qctecmdr
e10adfe482 Merge "regulator: qpnp-amoled: add support to disable pulse skipping" 2020-12-02 03:04:39 -08:00
qctecmdr
27be1572fd Merge "defconfig: Add support for compiling sdxnightjar target" 2020-12-02 03:04:39 -08:00
qctecmdr
9936d8bd66 Merge "cfg80211: export regulatory_hint_user() API" 2020-12-02 03:04:39 -08:00
qctecmdr
7f38220137 Merge "input: qcom-hv-haptics: add mutex lock for FIFO play" 2020-12-02 03:04:38 -08:00
qctecmdr
a9bfd29936 Merge "arm64: defconfig: Enable power drivers for gen3auto" 2020-12-02 03:04:38 -08:00
qctecmdr
a9ad07647e Merge "HID: qvr: wake up after acknowledgment from viewer" 2020-12-02 03:04:38 -08:00
Murali Nalajala
56a1e8a1fe guestvm_loader: isolate cpus when VM is starting
Do initial CPU reservation before starting VM, to
avoid any resource contention, while booting guest
VM. Remove the reservation after a configured timeout,
which defaults to 8 seconds.

Change-Id: Id49b07edd3e558dee074eafb729423ad8f8ff98d
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2020-12-02 09:52:41 +05:30
Ajay Agarwal
3737f15cc7 usb: dwc3-msm: Avoid access of gsi_reg for non-GSI targets
Some targets do not have GSI feature. For such targets, gsi_reg
array does not get allocated. DWC3_CONTROLLER_NOTIFY_CLEAR_DB
event from gadget driver will access this unallocated memory.
Fix this by putting a check for gsi_reg.

Change-Id: I9903c0c6533abf3d6e689a40ea84ecbc066e10d8
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
2020-12-01 20:22:26 -08:00
Michael Adisumarta
33962cd2e1 msm: ipa: Support hardware accelerated DIAG over qdss with ipa_fmwk
Add support to accelarate QDSS diag traffic over IPA to the PCIe
host with ipa fmwk support.

Change-Id: I64a8c493e8b6ef3fc525a3edcfd57e1cd11ccb6c
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2020-12-01 17:13:20 -08:00
Pratham Pratap
026280fcfa usb: phy: snps: Return error if driver fails to enable power
Currently driver is not returning any error from the error
handling path if driver fails to enable power for PHY.
This patch adds a check and returns error if the driver
actually fails to set_voltage or fails to enable a particular
regulator.

Change-Id: I5427690602b6152151adee71c6388ce836ab90c6
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
2020-12-01 11:32:20 -08:00
Hareesh Gundu
1817bbf51b msm: kgsl: Poll a6x crashdumper register memory for status
Use a6x crashdumper register memory end location to know
the crashdumper status completion. This will avoid AHB
traffic while crashdumper was active in snapshot dumping
and fixes the slave timeout issue.

Change-Id: Ic24e75557297c6a1a3f2ad7893f4d8d308f9943c
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2020-12-01 08:58:50 -08:00
qctecmdr
d1d92738ec Merge "Merge android11-5.4.61+ (3720133) into msm-5.4" 2020-12-01 02:17:29 -08:00
Hemant Kumar
d948568a1f usb: phy: snps: Ensure VDDA regulator is put in HPM
To properly ensure that the vdd regulator is put in the correct
operating mode, it needs to have a call to regulator_set_load()
prior to being enabled. This is crucial for platforms where the
HS PHY is the only consumer of the regulator as it could be
inadvertently left in LPM mode and cause the PHY to not function
properly.

Change-Id: I87815c60f044d854ecc75ac6039fd80c2d3197aa
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2020-11-30 23:51:08 -08:00
Maulik Shah
ef6d5a474e arm64: defconfig: Enable power drivers for gen3auto
Enable LPM and SoC sleep stats drivers for gen3auto.

Change-Id: I7dd08d1044054d5b330d149aa1f26f13d9d7b9bf
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2020-12-01 10:53:50 +05:30
Fenglin Wu
b8790b3e44 input: qcom-hv-haptics: add mutex lock for FIFO play
When stop command comes during FIFO refill, it would free custom_effect
FIFO sample memory and set the pointer to NULL, and this would cause
the NULL pointer dereference during FIFO refill. To fix this, add a
mutex lock between FIFO stop and FIFO refill sequence to avoid a race.

Change-Id: I8792c2183f06e84fca3a7c4dddfed667b25f2528
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-12-01 11:53:51 +08:00
Mihir Shete
5c2f214753 cfg80211: export regulatory_hint_user() API
This is to help the hardware configured in world
roaming mode to save power when not connected to
any AP.

CRs-Fixed: 542802
Change-Id: Ia643d0e9848dcd486832973bd6dd186edd7bd4ea
Signed-off-by: Mihir Shete <smihir@codeaurora.org>
Signed-off-by: Will Huang <wilhuang@codeaurora.org>
2020-12-01 09:17:10 +08:00
Veera Vegivada
51be9de76c clk: qcom: Add support for NPU QDSS clocks
QDSS clocks are required for npu use cases
hence enable them.

Change-Id: I741d65677b46d2b3ca4d46ab14f4ee03ae262555
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2020-11-30 19:18:52 +05:30
Vipin Deep Kaur
aad84d1d48 spi: spi-msm-geni: Bypass hw_version read for SVM
QUP common registers should not be accessed from SVM as that
memory is assigned to PVM. So, bypass the reading of hw version
registers and rely on PVM for the specific HW initialization done
based on different hw versions.

Change-Id: I1f18c80aaf143daf4da1402aa617d3b8f52f9b95
Signed-off-by: Vipin Deep Kaur <vkaur@codeaurora.org>
2020-11-30 04:09:31 -08:00
Aasir Rasheed
5c518e884c icnss: Update FW_INIT_DONE QMI indication with hang event params
Update FW_INIT_DONE QMI indication with hang event address offset
and length.

Change-Id: I4a9c9f796329c01feefd4188f0894a3fe4462584
Signed-off-by: Aasir Rasheed <arasheed@codeaurora.org>
2020-11-30 03:52:19 -08:00