Commit graph

889,574 commits

Author SHA1 Message Date
qctecmdr
56fc3ffb59 Merge "msm: kgsl: Delete unused source file" 2020-08-17 01:14:47 -07:00
Jeya R
a9ddd118b5 msm: adsprpc: Add capability for error code change in kernel
Add capability for error code change in kernel.

Acked-by: Deepika Singh <dsi@qti.qualcomm.com>
Change-Id: Ifc3967be16935b64143664f4ff076e390c69a6f7
Signed-off-by: Jeya R <jeyr@codeaurora.org>
2020-08-17 12:50:11 +05:30
Jeya R
c4e921071d msm: adsprpc: Race conditions when handling the ADSP SSR
Removed marking the static process is closed
in ADSP SSR call back. Any way, this is
handled during the PDR callback.

Change-Id: Idcc358a972546f93cb8e7cd5e28d446e7fd632e1
Acked-by: Nishant Chaubey <chaubey@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
2020-08-17 12:13:57 +05:30
qctecmdr
22abee5132 Merge "irqchip: mpm: Update the mpm to gic irq mapping" 2020-08-16 22:30:48 -07:00
qctecmdr
0cd5aa5432 Merge "soc: qcom: Add rpm master stats driver" 2020-08-16 22:30:48 -07:00
qctecmdr
c8cf88ffbe Merge "soc: qcom: socinfo: Add support for IDP and ATP platforms" 2020-08-16 22:30:47 -07:00
Pavankumar Kondeti
2c80b14d6a sched/walt: Improve the scheduler
This change is for general scheduler improvement.

Change-Id: Ia728ecbc780c9d172b49029ef3c87c6b3b490872
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2020-08-17 10:50:39 +05:30
qctecmdr
da89633622 Merge "sched:/fair: check cpu_allowed mask when find target" 2020-08-16 18:45:37 -07:00
qctecmdr
b15945be2b Merge "sound: usb: Add NULL check against udev with uaudio_dev_cleanup() API" 2020-08-16 18:45:37 -07:00
qctecmdr
25e96b1489 Merge "ASoC: Add backend user count check" 2020-08-16 18:45:36 -07:00
qctecmdr
3584a82077 Merge "sched: Improve the Scheduler" 2020-08-16 18:45:36 -07:00
qctecmdr
d76cd997bf Merge "msm: cvp: Avoid releasing non-existent ARP" 2020-08-16 18:45:36 -07:00
qctecmdr
18e66422e7 Merge "serial: msm_geni_serial: Fix DMA RX FSM reset sequence" 2020-08-16 18:45:35 -07:00
qctecmdr
f58cd25c3a Merge "clk: qcom: debugcc: Update the debug mux for CPUSS" 2020-08-16 18:45:35 -07:00
qctecmdr
c41ab06190 Merge "soc: qcom: msm_perf: use cpuinfo.min/max while adding freq qos request" 2020-08-16 15:56:10 -07:00
qctecmdr
78d04271f7 Merge "cpuidle: lpm-levels: Set suspend and s2idle ops later during probe" 2020-08-16 15:56:09 -07:00
qctecmdr
1f43952716 Merge "adsprpc: Avoid race condition during map find and free" 2020-08-16 15:56:09 -07:00
qctecmdr
5f737b6938 Merge "mm: memblock: Add more debug logs" 2020-08-16 15:56:09 -07:00
qctecmdr
ff6532d584 Merge "arm64: defconfig: Enable eMMC/SD card driver for holi QGKI defconfig" 2020-08-16 15:56:08 -07:00
Yogesh Lal
036be6d477 soc: qcom: socinfo: Add support for IDP and ATP platforms
Add support for IDP and ATP hw platforms in socinfo driver.

Change-Id: Icc2a496d06e57c1869a5129b628c2d095db9186b
Signed-off-by: Yogesh Lal <ylal@codeaurora.org>
2020-08-16 20:14:42 +05:30
qctecmdr
487ed773a1 Merge "qcom: pil: Move the IMEM location for disabling timeouts" 2020-08-16 05:04:36 -07:00
qctecmdr
cfff24a874 Merge "firmware: psci: setup OSI mode at init" 2020-08-16 05:04:36 -07:00
qctecmdr
1f6de24434 Merge "msm: ADSPRPC: Size check before allocating memory from DMA" 2020-08-16 05:04:35 -07:00
qctecmdr
d65b25438d Merge "platform: msm-geni-se: Disable CMD_DONE in DMA mode for I2C and SPI" 2020-08-16 02:32:36 -07:00
qctecmdr
c72e5d0be5 Merge "i2c: i2c-msm-geni: Reinitialize the variables after every transfer" 2020-08-16 02:32:35 -07:00
qctecmdr
349f41a0dc Merge "mmc: sdhci-msm: Update DDR_CONFIG reg with HSR value if supplied" 2020-08-16 02:32:35 -07:00
Raghavendra Rao Ananta
bf319f7525 abi: Update qcom whitelist for netdev_update_features
Add netdev_update_features to qcom whitelist to avoid
failure in the wlan.

CRs-Fixed: 2755037
Change-Id: I8e3340df6044a2a3e7df1e1a485f87e64a4d2ad0
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-08-15 11:59:17 -07:00
Taniya Das
f72cdf3ada clk: qcom: gcc: update frequency table for csi3phytimer clock
The Fmax table is updated as per the HW recommendation for csi3phytimer
clock. Also at the same time remove the unwanted clk set rate flag for
display rot clock.

Change-Id: I761f2cb99da27d4d04dbbf95dd546faefdad225a
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-08-15 09:52:39 -07:00
Taniya Das
35cbfe6ce8 clk: qcom: debugcc: Update the debug mux for CPUSS
update the debug mux for Silver/Gold/L3 CPU clocks.

Change-Id: I124a998fd63e6d0b63289777890c39812d51ea5d
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-08-15 20:57:16 +05:30
qctecmdr
8b06ac70d5 Merge "sched: rt: Add trace point for taskplacement" 2020-08-15 07:11:23 -07:00
qctecmdr
6be142af12 Merge "sched/walt: Improve the scheduler" 2020-08-15 07:11:23 -07:00
qctecmdr
dd0b2f4c79 Merge "sched: rt: Fix double accounting of cpu util in task placement decision" 2020-08-15 07:11:22 -07:00
qctecmdr
2a6668e356 Merge "msm: cvp: power off cvp core before fw boot" 2020-08-15 07:11:22 -07:00
qctecmdr
0017f0a9aa Merge "msm: cvp: Add DSP error handling" 2020-08-15 07:11:22 -07:00
qctecmdr
7a5c53e96e Merge "msm: adsprpc: do not check for domains support in kernel" 2020-08-15 07:11:21 -07:00
qctecmdr
427097eeb4 Merge "msm: kgsl: Fix snapshot collection for gmu wrapper registers" 2020-08-15 07:11:21 -07:00
qctecmdr
34564b8dba Merge "net: qrtr: haven: Add fragmentation support" 2020-08-15 07:11:21 -07:00
Guru Das Srinagesh
28abe52f61 pinctrl: qcom: spmi-gpio: Add support for PMX65
Add support for PMX65, which has 16 GPIO pins.

Change-Id: Ib01b5af79570fcb75b4b419c7bba118d2522d225
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
2020-08-14 14:48:59 -07:00
Mike Tipton
aa7d071da6 clk: qcom: gcc-lahaina: Enable clocks for pm8008 by default
The pm8008 regulator is connected over I2C and the I2C device configures
its clocks in runtime_resume and runtime_suspend. These callbacks are
triggered from the pm8008 driver's regmap calls. This means regulator
framework requests for pm8008 call into the clock framework with the
regulator framework locks held. The qcom clock providers also call into
the regulator framework with the clock framework locks held. If thread A
makes a pm8008 request at the same time thread B makes a clock request,
then it can result in deadlocks. Thread A will be stuck waiting on the
clock locks while thread B is stuck waiting on the regulator locks.

To prevent these deadlocks, enable the I2C clocks required for pm8008 by
default during probe and stop registering them with the framework. This
NOPs any client requests, since of_clk_get() returns NULL when passed an
unregistered clock and all other clock APIs return success before
grabbing any locks when passed NULL.

Change-Id: If308d3dab36a1ef9650256a0343789c2aaf56930
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
2020-08-14 11:57:28 -07:00
Manikandan Mohan
604d4a0b01 cnss2: Check for FW / IMS status for WFC QMI messages
Drop WFC QMI indications from FW / IMS based on corresponding
connection status withs platform driver.

Change-Id: Ifa5877e551503e371750cbc7fdf958cc975725dd
Signed-off-by: Manikandan Mohan <manikand@codeaurora.org>
2020-08-14 10:36:59 -07:00
Raghu Ananya Arabolu
9a0121f39d msm: kgsl: Add clocks to access KGSL SMMU register space
Add gpu_cc_cx_gmu, gpu_cc_hub_aon & gpu_cc_hub_cx_int clock to the
list of clocks to vote for in order to access the KGSL SMMU register
space.

Change-Id: I84ff20b1c05c9045c3b271cd85ea98957fc4a6ce
Signed-off-by: Raghu Ananya Arabolu <rarabolu@codeaurora.org>
2020-08-14 09:12:30 -07:00
Pankaj Gupta
16492fb266 msm: kgsl: Fix GBIF Halt ack timeout for a619_holi
For a619_holi GPU, use RBBM_GBIF_HALT registers to halt GX
traffic and poll for the ack.

Change-Id: Iaae9084a04a5acc05ae5561d0a3c44da0ab5cebb
Signed-off-by: Pankaj Gupta <gpankaj@codeaurora.org>
2020-08-14 20:41:10 +05:30
Ritesh Kumar
94c76c0d74 input: touchscreen: synaptics_tcm: defer probe if panel not found
In many cases display panel information may not be available when the
touch driver is being probed. This change defers the probe if the
panel is not found to ensure that the correct touch driver is probed.

Change-Id: I52b8cd49342b6213639eefb8f10876178612af49
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
2020-08-14 03:01:57 -07:00
Kishore Sri venkata Ganesh Bolisetty
b3c09961a7 soc: qcom: msm_perf: use cpuinfo.min/max while adding freq qos request
cpuinfo.min_freq/max_freq gives the real min/max frequencies available.
whereas policy min/max offer current min/max of the policy, which
may be the desired values set by any other client like msm_perf or
even a postboot setting. This can potentially limit min/max
frequencies ranges.

Change-Id: Ia7978ccd99b419f68d06fec24dac1adfacff36b7
Signed-off-by: Kishore Sri venkata Ganesh Bolisetty <bsrivenk@codeaurora.org>
2020-08-14 00:34:20 -07:00
Hareesh Gundu
331ffbaa1a msm: kgsl: Fix GMEM base for A615 family GPUs
For all A615 GPU family GMEM base start with 1MB as
per requirement.

Change-Id: Ie4ca5b9d264492f10eff39daf758d5c72d32c653
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2020-08-14 12:29:11 +05:30
Himateja Reddy
f73a335606 msm: adsprpc: allow unsigned PD offload to secure channel
Currently, access to a secure channel is not allowed using the
non-secure device node. However, since OEMs could configure all
remote subsystems as secure, allow access to a secure channel even
when the application has opened the non-secure node, if the domain
supports unsigned PD offload.

Change-Id: I64ad1f57098cedfe2663c2b975c74bfdc74a3947
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Himateja Reddy <hmreddy@codeaurora.org>
2020-08-13 23:25:18 -07:00
Harshdeep Dhatt
65172415d1 msm: kgsl: Add suspend_context to gmu based targets
This needs to be explicitly added to the new slumber entry sequence
for gmu and rgmu based targets.

Change-Id: I582067d065b1c58cab3d1d149292dd94e182bd66
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-08-13 23:29:20 -06:00
Harshdeep Dhatt
2b2f29cc50 msm: kgsl: Fix gmu fence error during slumber
There can exist a race where we clear the A6XX_RBBM_INT_0_MASK
register while the gpu is going into IFPC. Fix this by clearing this
register before clearing the OOB.

Change-Id: I08e9dbccbfdbee93ba7ef35fbbc673938ee033da
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-08-13 23:29:19 -06:00
Harshdeep Dhatt
c56b6599e3 msm: kgsl: Kick dcvs in idle thread for gmu targets
This ensures that dcvs runs while the gpu is still actively working
on the same submission for longer than the idle timer.

Change-Id: I85f2ff21dc19a9e589d6ed918bebea4c42b2a39d
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-08-13 23:29:18 -06:00
Harshdeep Dhatt
a8f76a631d msm: kgsl: Fix KGSL_PROP_PWRCTRL property for gmu based targets
This property is used to enable dcvs or disable both dcvs and slumber
using kgsl power state transitions. Since gmu or rgmu based targets
don't use the power states, add and use gmu core flag to enable and disable
slumber for those targets.

Change-Id: Iace3af9427c7b84509c9041604972cf14e7cd675
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-08-13 23:27:59 -06:00