Commit graph

898,644 commits

Author SHA1 Message Date
qctecmdr
9c15b3bfd8 Merge "usb: dwc3: Drive a pulse on DP on CDP detection" 2021-05-01 15:09:11 -07:00
Deepak Kumar
e4f4b83ee1 msm: kgsl: Fix race between kgsl device open and close
In current code, kgsl_close_device holds device mutex and calls
last_close in case open_count goes to zero. But as part of
last_close call, device mutex is released intermittently to wait
for active count to go to zero and also for dispatcher idle. This
intermittent release of device mutex opens up a window where a
kgsl_open_device call can go ahead and call first_open. As this
first_open is triggered before last_close could finish it messes
up the complete state machine. To fix this, move decrement of
open_count after last_close to allow any open/close happening when
last_close is in progress to just increment/decrement open_count
without triggering first_open or last_close.

Change-Id: Ibb2567e3ef0dc1864f2bfca346b0682792d0b675
Signed-off-by: Deepak Kumar <[email protected]>
2021-05-01 00:43:51 +05:30
Anmolpreet Kaur
07e8c4b8d3 smcinvoke: Move IPC_LOG before deleting cb_txn
Move IPC_LOG inside mutex lock and bfefore deleting
cb_txn inside process_tzcb_req to make sure that
we are not accessing cb_req value that has gone bad.

Change-Id: Icc04bab52d1364d883b0a4bb07ff4cf2cc8ce6f8
Signed-off-by: Anmolpreet Kaur <[email protected]>
2021-04-30 22:33:35 +05:30
qctecmdr
e71361a466 Merge "interconnect: qcom: Enable real interconnect provider for Monaco" 2021-04-30 07:36:00 -07:00
qctecmdr
91db2b4779 Merge "rpmsg: glink: mark intent request complete before wake up" 2021-04-30 07:35:59 -07:00
Deepak Kumar
84835ce299 msm: kgsl: Add missing syncpoint_fence/expire trace
Add missing syncpoint_fence and syncpoint_fence_expire
trace for syncpoint timeline event.

Change-Id: If437217e52c10a5a911cb04197213d3b7835ed4b
Signed-off-by: Deepak Kumar <[email protected]>
2021-04-30 18:00:56 +05:30
Paras Jain
0ecff9c28e msm-5.4 Enable SIP Segmentation Defconfig for sdxlemur
- Enable CONFIG_NF_CONNTRACK_SIP_SEGMENTATION defconfig for sdxlemur.config

Change-Id: Ic1c6c256f43bed460db2994f00ad104bbdd2765b
Signed-off-by: Paras Jain <[email protected]>
2021-04-30 04:52:52 -07:00
qctecmdr
6004767ce2 Merge "defconfig: sdxlemur: Enable thermal drivers" 2021-04-30 04:52:46 -07:00
qctecmdr
23fa0d09b8 Merge "msm-5.4: Auto pcie aspm config propagation" 2021-04-30 04:52:45 -07:00
qctecmdr
f75d1aeaef Merge "drivers: soc: qcom: rimps_memlat: add NULL check for SCMI handle" 2021-04-30 04:52:45 -07:00
qctecmdr
9de6449183 Merge "defconfig: Enable ADC_TM for sdxnightjar" 2021-04-30 04:52:45 -07:00
qctecmdr
9c2a4c2078 Merge "net: aquantia: Remove IOSSv1 glue driver" 2021-04-30 04:52:44 -07:00
qctecmdr
6259297d62 Merge "msm: adsprpc: Handle UAF in ramdumps collection" 2021-04-30 04:52:44 -07:00
Hareesh Gundu
15ce1860f8 msm: kgsl: Cleanup some of the a6xx gpudev functions
Few functions can be handled directly without having
the gpuid checks. So cleanup these functions to avoid
unnecessary gpuid checks.

Change-Id: If5b88adb4d21d327a39dc92d657d1bf5066f6667
Signed-off-by: Hareesh Gundu <[email protected]>
2021-04-30 15:06:14 +05:30
qctecmdr
58b018ec79 Merge "defconfig: Enable LLCC PMU on Direwolf target" 2021-04-30 02:05:34 -07:00
qctecmdr
b76cd3e6db Merge "power: supply: smblite: Add support for concurrency mode" 2021-04-30 02:05:33 -07:00
qctecmdr
3e979f8e83 Merge "drivers: thermal: qmi_cooling: Add new cooling device support" 2021-04-30 02:05:32 -07:00
qctecmdr
c0ecce976b Merge "rpmsg: glink: Use cpu_mask variable from glink structure" 2021-04-30 02:05:31 -07:00
qctecmdr
38b03951c3 Merge "drivers: qcom: Add Bootloader timestamps to the boot_marker list" 2021-04-30 02:05:30 -07:00
qctecmdr
b57c0b4235 Merge "soc: qcom: hgsl: Fix OOB" 2021-04-30 02:05:30 -07:00
Sneh Shah
15a7538044 net: stmmac: cleanup and free the nodes and gpios setup in probe
Cleanup debugfs, dev nodes and gpios on driver removal.

Change-Id: Icd18103ef0d968edb9f2ab254321a14323dd1c5a
Signed-off-by: Sneh Shah <[email protected]>
2021-04-30 01:42:20 -07:00
Ashish Chavan
e033d8781c power: supply: Add support to report QC3+ adapter power rating
Report the QC3+ adapter power-rating via "power_now" in the usb
power-supply class.

Change-Id: I0d0e9a3e9d2f5d57f5e8696dea8f4e17a8f2df5f
Signed-off-by: Ashish Chavan <[email protected]>
2021-04-30 12:44:36 +05:30
Jeya R
a2c0b7a337 msm: adsprpc: Handle UAF in ramdumps collection
Added process exit checks when adding
file init memory to ramdump collection
to fix use after free for file init memory.

Change-Id: I8991d27e4c83f572a6baacc478a09eb42ea76d8f
Acked-by: Krishnaiah Tadakamalla <[email protected]>
Signed-off-by: Jeya R <[email protected]>
2021-04-29 22:28:24 -07:00
qctecmdr
11b282467f Merge "clk: qcom: gcc-blair: Remove support for GCC_PRNG_BCR" 2021-04-29 21:27:44 -07:00
qctecmdr
0b0fccfc72 Merge "coresight-tmc-etr: fix memory leak" 2021-04-29 21:27:44 -07:00
qctecmdr
6f6903d2ba Merge "defconfig: sdmsteppeauto: enable cnss module" 2021-04-29 21:27:43 -07:00
qctecmdr
63fb6a1668 Merge "defconfig: Enable configs for ramdump support on Direwolf" 2021-04-29 21:27:43 -07:00
qctecmdr
1cbc9f171d Merge "iio: qcom-spmi-adc5: Add AMUX2_GPIO channel to rev2 channel list" 2021-04-29 21:27:42 -07:00
qctecmdr
db135d0e62 Merge "dt-bindings: msm: Add binding for OT Fuse support" 2021-04-29 21:27:42 -07:00
qctecmdr
c4ff6bd5b5 Merge "msm: kgsl: Initialize local variable" 2021-04-29 21:27:41 -07:00
qctecmdr
3ddaf4eb3f Merge "msm-5.4 : net: SIP Segmentation incase of TCP" 2021-04-29 21:27:40 -07:00
Paras Jain
c9d00ac7e0 netfilter: Port Trigger: Support added for Port Trigger Feature
With Port Trigger feature, the DL traffic forward ports get opened
once the UL traffic is sent on respective trigger ports.

Change-Id: I7fc67a48ab4d079aa3e7c1b5fa81b4611f54493f
Acked-by: Vinisha Varre <[email protected]>
Signed-off-by: Paras Jain <[email protected]>
2021-04-30 05:19:34 +05:30
Ram Chandrasekar
743b6cc02e defconfig: sdxlemur: Enable thermal drivers
Enable thermal framework features and other thermal drivers like QMI
sensor and mitigation driver for sdxlemur.

Change-Id: I1e4a45ada65b3bff83cfc902cc059547787fbce2
Signed-off-by: Ram Chandrasekar <[email protected]>
2021-04-29 08:48:59 -07:00
Ram Chandrasekar
7cece1c6dc drivers: thermal: qmi_sensor: Add support for new sensors
Add support for new QMI sensors. Here is the list of sensors that are
newly added,
qtm_therm
modem_bcl_warn
sdr0_pa0
sdr0_pa1
sdr0_pa2
sdr0_pa3
sdr0_pa4
sdr0_pa5
sdr0
sdr1_pa0
sdr1_pa1
sdr1_pa2
sdr1_pa3
sdr1_pa4
sdr1_pa5
sdr1
mmw0
mmw1
mmw2
mmw3
mmw_ific0

This will enable these sensors to be registered with thermal framework.

Change-Id: I5ea49478afee82f7058247ee7e0e505955423e72
Signed-off-by: Ram Chandrasekar <[email protected]>
2021-04-29 08:48:54 -07:00
Sneh Shah
701109ad7a net: stmmac: Return from smmu platform remove and depopulate pdev
Return from smmu pdev remove and depopulate pdev.

Change-Id: I82ab6a8feebdc2eafa45019b5d3d754c6af99308
Signed-off-by: Sneh Shah <[email protected]>
2021-04-29 16:01:34 +05:30
Sachin Kumar Garg
7a30b2cef9 arm: defconfig: Add video h/w accelerators support for MONACO
Enable video h/w accelerators for MONACO.

Change-Id: Id5fe45d010d7f8a02c9af0ad778cc8a9a8bd47bf
Signed-off-by: Sachin Kumar Garg <[email protected]>
2021-04-29 12:50:37 +05:30
Deepak Kumar Singh
32933046af rpmsg: glink: mark intent request complete before wake up
Channel release function is not making intent wait condition true
before calling wake_up, due to this thread waiting on intent is
stuck and does not wake up until timeout happens. By this time
channel context is freed and this casues finish wait to fail due
to access of wait queue in freed channel context.

Mark intent request complete before calling wake_up.

CRs-Fixed: 2914979
Change-Id: Ia4162c9e62f0f5a7bd04ca0e09c2cd58319ef341
Signed-off-by: Deepak Kumar Singh <[email protected]>
2021-04-29 11:42:22 +05:30
Sriharsha Allenki
8e8dbca45a pci: msm: Disable access to MSI config as part of suspend
Some platforms do not support DRV suspend and resume.
On these platforms the access to MSI config is not
prevented as part of suspend leading to NOC faults.
Fix this by preventing the access to the same as part
of suspend, and allowing it as part of resume.

Change-Id: I435d9f1bad3843154f5a4ebff21cd8e358802817
Signed-off-by: Sriharsha Allenki <[email protected]>
2021-04-29 11:13:20 +05:30
Santosh Mardi
e5c82d7b7c drivers: soc: qcom: rimps_memlat: add NULL check for SCMI handle
SCMI handle will remain NULL in case of SCMI failures during
initialization.

Update all store functions to check for NULL before accessing
vendor ops structure.

Change-Id: Ied56f62785579078fb06fb526e29aaef9d45e00d
Signed-off-by: Santosh Mardi <[email protected]>
2021-04-28 22:29:14 -07:00
Ashish Chavan
f62bc5be51 power: supply: smblite: Add support for concurrency mode
Add an interface to enable/disable boost concurrency. When
enabled the charger in buck-mode can act as a boost over a
separate path. The feature is supported only on PM5100 and
can be enabled using "qcom,concurrency-mode-supported" flag.

Change-Id: I3ab78af2123add2c4d5cba96500e1576b3c7deb3
Signed-off-by: Ashish Chavan <[email protected]>
2021-04-29 10:29:49 +05:30
wadesong
72155bb8e2 msm-5.4: Auto pcie aspm config propagation
Propagate the pcie aspm settings from original auto (both metal
and gvm) defconfigs to make sure they're aligned with the
settings on top of the newly adopted kernel branch.

Change-Id: I260cd9b236e715183d11bbc3e625641b57c93ee8
Signed-off-by: wadesong <[email protected]>
Signed-off-by: Hans Chang <[email protected]>
2021-04-28 21:47:52 -07:00
Jishnu Prakash
25000642a4 defconfig: Enable ADC_TM for sdxnightjar
Enable ADC_TM driver for sdxnightjar.

Change-Id: I71c74eecf6bc2721ac53a11bf3008a065ebb64ed
Signed-off-by: Jishnu Prakash <[email protected]>
2021-04-29 09:40:46 +05:30
qctecmdr
55572f84cc Merge "iio: adc: Add QCOM SPMI PMIC5 GEN3 ADC driver" 2021-04-28 17:58:46 -07:00
qctecmdr
489d62a621 Merge "defconfig: autogvm: Enable boot stats and boot marker" 2021-04-28 17:58:46 -07:00
qctecmdr
4df76a611c Merge "msm: ipa3: support dymaic nf pkt-threshold change" 2021-04-28 17:58:46 -07:00
qctecmdr
180a53c7c1 Merge "QCMAP: Packet counters are not updated in conntrack" 2021-04-28 17:58:46 -07:00
qctecmdr
c72a3aa209 Merge "Port Trigger Config" 2021-04-28 17:58:45 -07:00
qctecmdr
095e984b70 Merge "cnss2: Add support to retry with a list of PCIe RC ports" 2021-04-28 17:58:45 -07:00
Yue Ma
5bb387ed02 cnss2: Add support to retry with a list of PCIe RC ports
If PCIe enumeration fails with primary PCIe RC port, retry with
other PCIe RC ports if any in the list from device tree using
the same logic.

Change-Id: I4e803f74dfeda914a9944ab2d14a4055fc223301
Signed-off-by: Yue Ma <[email protected]>
2021-04-28 13:40:57 -07:00
Paras Jain
5be87b2ffa Port Trigger Config
Config change for enabling Port Trigger Feature

Change-Id: Ibd75ffd6346b10a4d666363e2e657c1cdb073b94
Acked-by: Vinisha Varre <[email protected]>
Signed-off-by: Paras Jain <[email protected]>
2021-04-29 01:06:48 +05:30