Commit graph

895,257 commits

Author SHA1 Message Date
qctecmdr
c79607172a Merge "smcinvoke: Add cache operation handling inside smcinvoke driver" 2021-04-20 16:15:51 -07:00
qctecmdr
ddb3f3dfff Merge "shmbridge: Change the bridge size according to dtsi entry" 2021-04-20 16:15:50 -07:00
qctecmdr
f87e85343f Merge "cnss2: Remove deprecated PM_OPTIONS_LINK_DOWN" 2021-04-20 16:15:50 -07:00
qctecmdr
32339e54ac Merge "soc: qcom: slatecom: set btss and dspss states" 2021-04-19 12:09:48 -07:00
qctecmdr
87493416f1 Merge "msm: adsprpc: fix memory leak in fastrpc_file_free" 2021-04-19 12:09:47 -07:00
qctecmdr
10e41f8721 Merge "driver core: Use unbound workqueue for deferred probes" 2021-04-19 12:09:47 -07:00
qctecmdr
51946e58f2 Merge "net: stmmac: fix copyright" 2021-04-19 12:09:47 -07:00
qctecmdr
351400cb23 Merge "msm : adsprpc : Reject unsigned PD session" 2021-04-19 12:09:47 -07:00
qctecmdr
bc492a33d4 Merge "Bluetooth: Add a debug log for xo clk" 2021-04-19 12:09:46 -07:00
qctecmdr
4102329eea Merge "ion: Check for PagePrivate in free_buffer_page" 2021-04-19 12:09:46 -07:00
qctecmdr
0d9fc8f07c Merge "mm, page_alloc: Initialize subsection maps for non-NUMA systems" 2021-04-19 12:09:46 -07:00
qctecmdr
640f36cbaf Merge "drivers: soc: qcom: msm_performance: Add NULL check in PLH function" 2021-04-19 12:09:45 -07:00
qctecmdr
9a0fb2a541 Merge "leds: qpnp-flash-v2: Add support to control flash ramp time" 2021-04-19 01:52:43 -07:00
qctecmdr
c0751da608 Merge "cnss2: Add support to download hds.bin file to firmware" 2021-04-19 01:52:42 -07:00
qctecmdr
23457f4af7 Merge "dt-bindings: clock: Revert rpmcc id copyright year for MONACO" 2021-04-19 01:52:42 -07:00
qctecmdr
63d1aa4f25 Merge "net: config: enable VLAN config" 2021-04-19 01:52:42 -07:00
qctecmdr
b59f705d04 Merge "msm: ipa: add NTN3 offload support" 2021-04-19 01:52:41 -07:00
qctecmdr
17188cb68f Merge "msm: npu: Don't allow ioctl cmds to be interrupted" 2021-04-19 01:52:41 -07:00
qctecmdr
46e4d887fb Merge "cnss2: Add new flag to check drv support" 2021-04-19 01:52:40 -07:00
qctecmdr
381ba39479 Merge "mhi: core: Update logic to save bhie offset globally" 2021-04-19 01:52:40 -07:00
qctecmdr
cc2c00539e Merge "mtd: msm_qpic_nand: Add support to read one codeword" 2021-04-19 01:52:40 -07:00
qctecmdr
cb64026a6c Merge "clk: qcom: cpu: Add voltage voting for the CPU Mux" 2021-04-19 01:52:38 -07:00
qctecmdr
bd56fa8346 Merge "soc: qcom: rpmh: check return value of __fill_rpmh_msg" 2021-04-19 01:52:38 -07:00
qctecmdr
1858b2d26e Merge "msm: kgsl: Fix resume fail issue" 2021-04-19 01:39:22 -07:00
qctecmdr
ec4154969e Merge "msm: adsprpc: Enable ram dumps collection" 2021-04-19 01:39:22 -07:00
qctecmdr
400c1a400a Merge "msm: kgsl: Add additional pools of 256k and 128k" 2021-04-19 01:39:21 -07:00
qctecmdr
603aeb2ca6 Merge "usb: phy-msm-ssusb-qmp: Perform USB only reset in USB+DP mode" 2021-04-19 01:39:21 -07:00
qctecmdr
94de93b5b0 Merge "defconfig: gen3auto: enable rpmh master stats driver" 2021-04-19 01:39:21 -07:00
Gaurav Singh
98f4a2d932 drivers: soc: qcom: msm_performance: Add NULL check in PLH function
Added NULL pointer check in PLH command string parsing function.

Change-Id: I1a4ef2364a36188dd5b189f6ee6cb77fe7e185c4
Signed-off-by: Gaurav Singh <sgaurav@codeaurora.org>
2021-04-18 21:44:25 -07:00
Tushar Nimkar
c6a31f78b8 soc: qcom: rpmh: check return value of __fill_rpmh_msg
It is possible that number of commands to be send can exceed
MAX_RPMH_PAYLOAD.

This change adds error checking for such case.

Change-Id: I9c05bf3befd6590fee4625230bb44d7711c625a7
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-04-19 09:51:59 +05:30
Amir Levy
75e0fd1b4b msm: ipa: add NTN3 offload support
Add NTN3 setup info struct to enable NTN3
IPA offload.

Change-Id: Idb8399fa7574dc7ac3b4c119c40b441bfa28793d
Signed-off-by: Amir Levy <alevy@codeaurora.org>
2021-04-17 22:58:42 -07:00
Sharath Chandra Vurukala
ce0554a122 net: config: enable VLAN config
Enable VLAN config for auto VM.

Change-Id: I4dbafdef3c1959dd1a1907c477a36c5ccc83f638
Signed-off-by: Sharath Chandra Vurukala <sharathv@codeaurora.org>
2021-04-17 21:39:10 +05:30
Taniya Das
6312f4e886 clk: qcom: cpu: Add voltage voting for the CPU Mux
The CPU mux requires to vote correctly on the supply during the
frequency transitions, thus add the pre/post callback hooks which would
enable & set voltage vote on the rail.

Change-Id: I0d4bb88e8d319bfc3f4f8d682964eb7ff3719ce0
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2021-04-17 06:17:05 +05:30
Anmolpreet Kaur
2be63ba292 smcinvoke: Add cache operation handling inside smcinvoke driver
MMU Mapping uses short descriptor mapping on v7 targets and long
descriptor mapping for v8 targets. We have concept of NS shared
cache lines for long decscriptor mapped targets  which means no
cache maintenance is required for those.On MDM targets, we use short
descriptor mapping due to low memory constraints and hence the cache
line is not shared and explicit cache maintenance is required. Add
shmbridge flush and invalidate operations inside smcinvoke driver for
MDM targets so as to ensure proper cache maintenance is done.

This change also removes some redundant code and refactors it for
better readability and lesser loc.

Change-Id: Id8216c5247b0584c26f85c08899df16db7f0dc0a
Signed-off-by: Anmolpreet Kaur <anmolpre@codeaurora.org>
2021-04-17 02:32:24 +05:30
Anmolpreet Kaur
b5e7ea5c4b shmbridge: Change the bridge size according to dtsi entry
For MDMs, LEVMs and targets other than MSMs, we might not
need to register memory as large as 4M for shmbridge.
This change helps to decide the shmbridge pool size according
to the dtsi entry of the target.

Change-Id: I8f6905b5793f2dbe69f269a05cbbe74855eab708
Signed-off-by: Anmolpreet Kaur <anmolpre@codeaurora.org>
2021-04-16 21:20:59 +05:30
Praveen Koya
e4aed03915 soc: qcom: slatecom: set btss and dspss states
set ready and error states for btsss and dspss properly.
define buffer size to hold the bt and dsp state.

Change-Id: I5fd8378547efe730ca2094a44039ff1d6e28ec1d
Signed-off-by: Praveen Koya <pkoya@codeaurora.org>
2021-04-16 21:17:01 +05:30
qctecmdr
c1c7f2ef3b Merge "usb: typec: ucsi_glink: Fix a NULL pointer dereference" 2021-04-16 06:46:58 -07:00
qctecmdr
ca25647889 Merge "defconfig: sdmsteppeauto: Enable boot stats and boot marker" 2021-04-16 06:46:57 -07:00
qctecmdr
4aeece1d4c Merge "cpufreq: qcom: cpufreq-hw: Add support for SDPM rail voting" 2021-04-16 06:46:57 -07:00
qctecmdr
2a8be665b9 Merge "coresight-tmc-etr: Add QDSS IPA bam connection support" 2021-04-16 06:46:56 -07:00
Tushar Nimkar
aa60bf101b defconfig: gen3auto: enable rpmh master stats driver
This enables rpmh master stats driver to get different subsystem's
statistical information.

Change-Id: I2689aa8887e8b1308827db8155acc4aad81240f7
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-04-16 14:16:36 +05:30
Jeya R
d325bc29d5 msm: adsprpc: fix memory leak in fastrpc_file_free
Free memory allocated to dev_pm_qos_req when session allocation fails.

Change-Id: Ic6cd872b835de2956bf6c7752a06a39a6419993c
Acked-by: Nishant Chaubey <chaubey@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
2021-04-16 13:54:14 +05:30
Yogesh Lal
e3f406b261 driver core: Use unbound workqueue for deferred probes
Deferred probe usually runs only on pinned kworkers, which might take
longer time if a device contains multiple sub-devices. One such case
is of sound card on mobile devices, where we have good number of
mixers and controls per mixer.

We observed boot up improvement - deferred probes take ~600ms when bound
to little core kworker and ~200ms when deferred probe is queued on
unbound wq. This is due to scheduler moving the worker running deferred
probe work to big CPUs. Without this change, we see the worker is running
on LITTLE CPU due to affinity.

Since kworker runs deferred probe of several devices, the locality may
not be important. Also, init thread executing driver initcalls, can
potentially migrate as it has cpu affinity set to all cpus.In addition
to this, async probes use unbounded workqueue. So, using unbounded wq for
deferred probes looks to be similar to these w.r.t. scheduling behavior.

Change-Id: Ibae0b8c9e7ee0e55e7a46063634902c751bda7bb
Link: https://lore.kernel.org/r/1616583698-6398-1-git-send-email-ylal@codeaurora.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Yogesh Lal <ylal@codeaurora.org>
2021-04-16 10:43:23 +05:30
Jeya R
8ebea1dd70 msm: adsprpc: Enable ram dumps collection
Enabled ram dump collection for
cDSP that is used for debug the
cDSP crashes due to UserPD.

Change-Id: I22b276ea5c19dc13d55ab8f36c807e14488fc4ed
Acked-by: Krishnaiah Tadakamalla <ktadakam@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
2021-04-15 22:05:36 -07:00
Liu Jianhua
7afa961010 msm: kgsl: Fix resume fail issue
Replace the pm flag of rgmu
GMU_PRIV_PM_SUSPEND with RGMU_PRIV_PM_SUSPEND.

Change-Id: Ibf47e815dd4f45e31c0e31dabb8dde25979d79a6
Signed-off-by: Liu Jianhua <jianhl@codeaurora.org>
2021-04-15 20:05:49 -07:00
dpyun
944d1c1756 msm: npu: Don't allow ioctl cmds to be interrupted
When the ioctl is interrupted, it is difficult to
predict and handle the firmware state properly from
the kernel. This change is to keep ioctl cmds from
being interrupted.

Change-Id: I1377122d23e4a63438cc7a844aec56f7e8a9b4cf
Signed-off-by: dpyun <dpyun@codeaurora.org>
2021-04-15 14:24:31 -04:00
priyankar
95e63a815f Correct typo while checking for asd regulator name
This patch contains changes for correcting typo which will correct
expected result from strnstr() function while checking for asd
regulator name.

Change-Id: I85721e775f9bb0c13480ae15ad3b7f4e235e7942
Signed-off-by: priyankar <prigup@codeaurora.org>
2021-04-15 23:44:27 +05:30
Isaac J. Manjarres
d801e75f14 mm, page_alloc: Initialize subsection maps for non-NUMA systems
Subsection maps are only initialized for NUMA systems when
they invoke free_areas_init(). Not initializing the subsection
maps with memory that exists at boot can cause the memmap for
a section to be freed when memory for a subsection within that
section is hot-added and then hot-removed, which is not correct
behavior, as pfn_valid() will always fail for any memory within
the section, since it no longer has a memmap. Thus, initialize
subsection maps for non-NUMA systems as well.

Change-Id: I8a0633f9b8634d9df7bb88bfbb6f4c306a277e0c
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2021-04-15 11:12:18 -07:00
Vinay Sudra
8d0c58e276 defconfig: sdmsteppeauto: Enable boot stats and boot marker
Enable boot stats driver and boot time marker config
options for sdmsteppeauto targets.

Change-Id: I578eb23cce54daead796b54035fcf2ffb90ca12b
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-04-15 01:07:44 -07:00
Suraj Jaiswal
8b3061a3c1 net: stmmac: fix copyright
Do not modify the copyright for Linaro.

Change-Id: I7752f9b1f2009ca8af67f2d3f79aec632cf7db90
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2021-04-14 23:21:40 -07:00