Commit graph

892,674 commits

Author SHA1 Message Date
qctecmdr
89fbbd03f2 Merge "defconfig: Enable SPMI PMIC configuration for sdxnightjar" 2020-12-08 09:27:15 -08:00
qctecmdr
ead299c4a5 Merge "drivers: soc: qcom: rimps_memlat: free attribute pointer" 2020-12-08 09:27:14 -08:00
qctecmdr
d6ba2746fc Merge "msm: ADSPRPC: Handle third party applications" 2020-12-08 09:27:14 -08:00
qctecmdr
cb7b0f1e7f Merge "msm: kgsl: Don't access addr_mode_cntl registers for holi through host" 2020-12-08 09:27:14 -08:00
qctecmdr
e71fa8be05 Merge "netfilter: Changes to handle segmentation in SIP ALG" 2020-12-08 09:27:13 -08:00
qctecmdr
d073975204 Merge "gki: Set GKI_VERSION to 4271ad6" 2020-12-08 09:13:49 -08:00
Santosh Mardi
a2bf9edd8b drivers: soc: qcom: rimps_memlat: free attribute pointer
Attribute pointer used while creating the common
and monitor pmu events, needs to be freed while returning
from function.

Change-Id: I7862e8ec81754102d2700cac03bb739c9bcdf32b
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-12-07 02:37:43 -08:00
Santosh Mardi
e68fe94391 drivers: soc: qcom: rimps_memlat: update available frequencies format
Update available freuqency output format, previously entries in the
output is separated with new line, update this format to have space
after each entry instead of new line.

Also update the available frequency node from available_freq to
available_frequencies.

Change-Id: I2b2409168713477cbc801c8837a11c5c4613e996
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-12-07 02:37:37 -08:00
Kavya Nunna
93af365ff2 defconfig: Enable SPMI PMIC configuration for sdxnightjar
Enable SPMI PMIC defconfigs for sdxnightjar for the SPMI
devices.

Change-Id: I36f12e942f8dc980f53024b5ae3585a428ec3589
Signed-off-by: Kavya Nunna <knunna@codeaurora.org>
2020-12-07 12:32:17 +05:30
Hareesh Gundu
d9b978c086 msm: kgsl: Don't access addr_mode_cntl registers for holi through host
Sometimes probably crashdump timeout scenarios accessing addr_mode_cntl
registers through the host path resulting to slave timeout issue.
Hence revert this commit 'fca32c53c237("msm: kgsl: Add addr_mode_cntl
registers for legacy snapshot for holi gpu")'.

Change-Id: I771d9aecad69dd03d7e2ab771aee164c1cdfeabd
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2020-12-06 21:44:26 -08:00
qctecmdr
33569a19db Merge "iio: adc: Add support to read ADC5 current channels" 2020-12-05 23:42:41 -08:00
qctecmdr
506ffbdc3e Merge "dt-bindings: iio: Add support to read ADC5 current channels" 2020-12-05 23:42:40 -08:00
qctecmdr
cd70e1f455 Merge "input: touchscreen: nt36xxx: Fix Propagation" 2020-12-05 23:42:40 -08:00
qctecmdr
0249e58009 Merge "sched/walt: Improve the scheduler" 2020-12-05 23:42:40 -08:00
qctecmdr
ca8993b29a Merge "block: disable multi-page bvec" 2020-12-04 22:41:50 -08:00
qctecmdr
2376e2a4b4 Merge "defconfig: Enable EUD on sdxlemur" 2020-12-04 11:18:01 -08:00
qctecmdr
b5aa72cc8f Merge "msm: adsprpc: Change perf module design" 2020-12-04 11:18:01 -08:00
qctecmdr
5fd6cfbf0f Merge "msm: kgsl: Including drawobj flag for msm-perf api" 2020-12-04 05:45:45 -08:00
qctecmdr
8b2cfb34e8 Merge "usb: gadget: Don't giveback request if ep command times out" 2020-12-04 05:45:44 -08:00
qctecmdr
7b64f46b79 Merge "iommu: arm-smmu: defer tlbi invalidation" 2020-12-04 05:45:44 -08:00
qctecmdr
f1971555ee Merge "proc/meminfo: update offline region in Memtotal" 2020-12-04 05:45:44 -08:00
qctecmdr
93fe7227e1 Merge "drivers: soc: ddr_stats: Initialize the uninitialized variable" 2020-12-04 05:45:44 -08:00
qctecmdr
5116273a38 Merge "drivers: staging: ion: mark secure page private" 2020-12-04 05:45:43 -08:00
qctecmdr
a3ecd679dc Merge "msm: ADSPRPC: Handle Null pointer De-reference" 2020-12-04 05:45:43 -08:00
qctecmdr
75e68a7d23 Merge "soc: qcom: glink_probe: use lock while sending ssr notification" 2020-12-04 05:45:43 -08:00
Aman Mehta
b712bdb81b msm: kgsl: Including drawobj flag for msm-perf api
The inclusion of draw object flag for msm_perf_events_update.
Since user-space thread is triggered based on kgsl events
this will be vital to distinguish the events based on frame
states and prevent undesirable user-space thread wake-ups.

Change-Id: I28040808d6c114b718aad0e0ab63554683e77460
Signed-off-by: Aman Mehta <amanmeht@codeaurora.org>
2020-12-04 01:24:32 -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
Prakash Gupta
ed8be7b855 proc/meminfo: update offline region in Memtotal
When memory block is logically offlined, it is still part of System RAM but
is inactive, and can be made active or Onlined anytime.
Take totalram snapshot to include offlined memory in Memtotal.
This method avoids taking device_hotplug lock to meminfo.

Fixes: dc00b6d99a ("proc/meminfo: include offlined region for mem total")
Change-Id: I2b69444e6f066e1c1928278707616840308b00d0
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
2020-12-03 02:42:01 -08:00
Prakash Gupta
88d7aafe84 iommu: arm-smmu: defer tlbi invalidation
With QCOM quirks, the invalidations are agrregated to reduce map/unmap
time.  In absenence of CONFIG_QCOM_IOMMU_TLBI_QUIRKS enabled, the map/unmap
latency impact time critical usecases. Hence defer TLB invalidation when
CONFIG_QCOM_IOMMU_TLBI_QUIRKS is not enabled.

Change-Id: I866b4211901f71fe054bbd9f465b4df5c7dac82c
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
2020-12-03 02:29:26 -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
Ravikanth Tuniki
6b33e5f704 input: touchscreen: nt36xxx: Fix Propagation
This change propagates the missing fixes in novatek tcm touch
driver from msm-4.19 to msm-5.4.

Change-Id: Ie404c8412f7efa847b8e14965bcaf45568225502
Signed-off-by: Ravikanth Tuniki <rtunik@codeaurora.org>
2020-12-03 13:26:01 +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
Vamsi krishna Gattupalli
7b145c3ad4 msm: ADSPRPC: Handle third party applications
Reject the session when third party applications
try to spawn signed PD and  channel configured as secure.

Change-Id: Iab18ad364985372f8007b6dda933ef4e5adf0213
Acked-by: Nishant Chaubey <chaubey@qti.qualcomm.com>
Signed-off-by: Vamsi krishna Gattupalli <vgattupa@codeaurora.org>
2020-12-03 11:06:29 +05:30
Jishnu Prakash
348ea390bc iio: adc: Add support to read ADC5 current channels
Add scaling function required to read PMIC5 current ADC channels
so that channel 0xA5 (ADC5_PARALLEL_ISENSE) can use that.

Change-Id: I55ede0c736c6f350df8ac92ea8661db4129da13c
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-12-03 10:49:08 +05:30
Blagovest Kolenichev
e0d735105c gki: Set GKI_VERSION to 4271ad6
Change-Id: I8af18243659aaf7f29cc07f9106be2e25f235505
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
2020-12-02 20:55:23 -08:00
qctecmdr
e14ef833ac Merge "guestvm_loader: isolate cpus when VM is starting" 2020-12-02 16:21:18 -08:00