İşleme Grafiği

387 İşleme

Yazar SHA1 Mesaj Tarih
qctecmdr
fe7afbed79 Merge "msm: ipa: Fix reading the VLAN parameters" 2021-02-03 20:05:48 -08:00
Akshay Pandit
5228ce9529 msm: ipa: Add support for auto
cv2x endpoint configuration changes

Change-Id: Idcb36a43375fc29d68c68a7ba207e95dccc3518c
Signed-off-by: Akshay Pandit <pandit@codeaurora.org>
2021-02-03 08:40:51 +05:30
qctecmdr
c2c52bff46 Merge "msm: ipa: Return error if inited and disconnect flag is set" 2021-02-02 03:20:55 -08:00
Michael Adisumarta
7de33f54a1 msm: ipa: Fix reading the VLAN parameters
When IPA_FW is loaded via bootloader, ipa post initialization is
complete even before ipa3_write is executed. As a result
when ipa3_write is called with VLAN parameters, VLAN
info is not updated and VLAN offload fails. Fix reading the
VLAN parameters even if post initialization is complete.

Change-Id: I6f61e0ef4bfa9787b5b5d68bb323d69c443e9645
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-02-01 18:18:20 -08:00
qctecmdr
0b3c307ac4 Merge "msm: ipa: remove the ODL pipe for MHI configuration" 2021-02-01 17:01:33 -08:00
Armaan Siddiqui
ec0c63cf86 msm: ipa: Return error if inited and disconnect flag is set
Changes done to return try again error if inited and disconnect
client both are set.

Change-Id: Ia15eede7cb3a5c83ffe613be9c18ef473476668c
Signed-off-by: Armaan Siddiqui <asiddiqu@codeaurora.org>
2021-02-01 14:43:38 +05:30
qctecmdr
93215f82d4 Merge "msm: ipa: fix race condition on PM vote on sys pipes" 2021-01-30 01:17:04 -08:00
qctecmdr
2c287970e1 Merge "msm: ipa: update WAN DL pipe for MHI configurations" 2021-01-30 00:46:47 -08:00
qctecmdr
fba764fba9 Merge "msm: ipa: update the ethernet client to proper CB" 2021-01-28 08:26:41 -08:00
qctecmdr
2b8660500a Merge "msm: ipa: IPA driver changes for H/w fnr stats" 2021-01-28 06:27:41 -08:00
qctecmdr
73d27ba533 Merge "msm: ipa: Add support to L2TP over UDP" 2021-01-28 05:55:30 -08:00
qctecmdr
bb3dbd360e Merge "msm:ipa: enable more SIDs" 2021-01-28 02:02:07 -08:00
qctecmdr
046f1fd972 Merge "techpack: ipa: Read number of cb supported from dtsi" 2021-01-28 01:27:54 -08:00
qctecmdr
5df1a80196 Merge "msm: ipa: fix the register value of EE scartch register" 2021-01-27 20:54:54 -08:00
qctecmdr
0493fdc3f3 Merge "msm: ipa: Use mdt-loader and scm apis to boot IPA firmware" 2021-01-27 18:58:44 -08:00
qctecmdr
5015c14a5a Merge "msm: gsi: Fix gsi stop channel fail for old target." 2021-01-27 18:29:11 -08:00
qctecmdr
7598a2b36b Merge "msm: ipa3: Fix null pointer dereference error" 2021-01-27 17:57:55 -08:00
Bojun Pan
e9498ecc89 msm: ipa: update the ethernet client to proper CB
Below IPA5.0, all ethernet client are in IPA AP CB.
IPA5.0+, AQC/RTK/ETH move to IPA PER 2 CB.
ETH2 move to IPA PER 3 CB.

Change-Id: I98d6a40588eee7587f0b7787dbdbfadb4961c534
2021-01-27 12:47:13 -08:00
Bojun Pan
84c7c1dc22 msm: ipa: fix race condition on PM vote on sys pipes
There is race condition on PM defer deactive and PM active where
the PM active triggered by new NAPI scheduling would be accidently
unvoted by PM defer deactive after last NAPI completion. This
is causing the NoC error on packet handling due to no clock.
The fix here is to using ACTIVE_CLIENT_NO_BLOCK for clock voting
and still use PM handle for BW voting so that we would have
reference count to make sure this unexpected devote not happens.

Change-Id: If1ece48dc16256dae9a810b3efa6eb4f533f06a8
2021-01-27 11:15:12 -08:00
Bojun Pan
7b42e056c9 msm: ipa: update WAN DL pipe for MHI configurations
EP update for WAN DL pipes.

Change-Id: If010aac643a2a52c30dd5c4349601e4df35ecab9
2021-01-26 12:25:16 -08:00
Bojun Pan
6b963dec00 msm: ipa: fix the register value of EE scartch register
Fix the register value of EE scartch register.

Change-Id: I01dadd55309e7c500c409a6a6fccfb009a873e24
2021-01-25 16:36:14 -08:00
Chaitanya Pratapa
11dcec93e1 msm: ipa: use qcom #defines from qcom-iommu-util.h
Internal qcom #defines have been moved to  qcom-iommu-util.h.
Make changes to use the new header file.

Change-Id: I594ad0ef79580f618fc4f33f14cdc8ef1786577c
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2021-01-25 14:10:05 -08:00
Armaan Siddiqui
9480789d06 msm: ipa: IPA driver changes for H/w fnr stats
Modify ipa driver to use ipa-hw stats instead
of querying stats from ipa-q6 driver via QMI.

Change-Id: Ie0932923188b83762d93855007736027d6dff400
Signed-off-by: Abhishek Choubey <abchoube@codeaurora.org>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2021-01-25 11:22:03 +05:30
Armaan Siddiqui
5cafe9bb19 msm: ipa: Add support to L2TP over UDP
L2TP over UDP requires new commands to be send to uC
to use the new header length for additition and deletion

Change-Id: I6c642e745386bad5fb7ef63b4167e91ce561e0dd
2021-01-24 22:59:19 +05:30
Michael Adisumarta
662f45bfb0 msm: ipa: Use mdt-loader and scm apis to boot IPA firmware
Convert IPA driver to use mdt-loader and scm apis to load/reset IPA
firmware instead of registering to PIL framework. This change
includes both PIL and mdt loading based on CONFIG_QCOM_MDT_LOADER.

Change-Id: I62283e5955b549519ecab13017633fe51322c1ff
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-01-20 15:13:18 -08:00
Piyush Dhyani
6da4954462 msm: ipa3: Fix null pointer dereference error
If smmu is not enabled, smmu context device check
was missing before accessing it which was resulting
in null pointer dereference. Now adding check
before accessing it.

Change-Id: I94393524c79847a165ba605d34906525640b359a
Signed-off-by: Piyush Dhyani <pdhyani@codeaurora.org>
2021-01-18 06:13:09 -08:00
Amir Levy
64f902e835 msm:ipa: enable more SIDs
Enable SIDs for eth/eth1/wlan1.

Change-Id: Ifc4f2c5b46c4c5c4a7ad44c8e099c20978c2c762
2021-01-15 10:07:47 -08:00
Akshay Pandit
9e9824bcc6 techpack: ipa: Read number of cb supported from dtsi
Read the the max number of cb supported from dtsi. When expected number
of cb's are probed, mark IPA_FW_LOAD_EVNT_SMMU_DONE.
Calculate hw_type_index after auto & mhi config is already saved in
ipa context.

Signed-off-by: Akshay Pandit <pandit@codeaurora.org>
2021-01-15 10:07:34 -08:00
Piyush Dhyani
953369c4de msm: gsi: Fix gsi stop channel fail for old target.
In older target we may not receive gsi interrupt while
stopping the channel in first retry, so we inject dma
1B packet while retrying. We were observing crash during
stop channel as we were reading channel current state
only after interrupt recieved. Now reading channel
current state in case we not recieved interrupt for
older target.

Change-Id: I4f436bee610ce6ccd5e0f4c982689c15291a2011
Signed-off-by: Piyush Dhyani <pdhyani@codeaurora.org>
2021-01-15 19:57:28 +05:30
qctecmdr
894d1fee7b Merge "msm: ipa: update the MHI channel for qmap flow control" 2021-01-14 12:13:41 -08:00
qctecmdr
3646b55f08 Merge "msm: ipa3: pass the hdl instead of pointer" 2021-01-14 11:49:57 -08:00
Michael Adisumarta
45bbdaa355 msm: ipa3: pass the hdl instead of pointer
Fix pass by value for ipa_pm_set_throughput and activate_sync

Change-Id: I920356e394b3818336c959ef72fc9df4ae3e55eb
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-01-13 22:14:08 -08:00
Chaitanya Pratapa
dddff2741e msm: gsi: remove usage of devm_ioremap_nocache
devm_ioremap_nocache is deprectaed in newer kernels. Make
changes to remove the usage.

Change-Id: I84ad1a8fb707b516a6976d3038878b55ba0dd6b4
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2021-01-12 17:26:24 -08:00
Bojun Pan
7770dce837 msm: ipa: update the MHI channel for qmap flow control
Use ch 105/106 for qmap flow ctrl for IPA5.0.

Change-Id: I3d818ce253472b638f055e85af7f178a03e34e8b
2021-01-12 15:25:13 -08:00
qctecmdr
328b2e5ab9 Merge "msm: ipa: add check to see if pm client is not NULL" 2021-01-11 11:44:57 -08:00
qctecmdr
1e4e569a6a Merge "msm: ipa: compile ipa driver as part of DLKM" 2021-01-08 22:20:30 -08:00
Bojun Pan
71abcd8f8b msm: ipa: remove the ODL pipe for MHI configuration
The ODL sys pipe is not applicable for MHI flavor.

Change-Id: I206b90647151418db270a2a68f5567ce8e43b293
2021-01-08 19:46:51 -08:00
qctecmdr
a7f2198ef2 Merge "msm: ipa3: Add change to increase timeout value" 2021-01-08 15:58:33 -08:00
qctecmdr
a20c7b228a Merge "msm: ipahal: Add uCP exception case for status pkt" 2021-01-07 18:28:53 -08:00
Michael Adisumarta
2390ccee5c msm: ipahal: Add uCP exception case for status pkt
Add a new enum for uCP exception pkt status.
Handle the case where this pkt status exception is received.

Change-Id: Ib69e307548efed3482d4636db9161f423c051570
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-01-07 04:29:20 -08:00
Michael Adisumarta
183e1fedd4 msm: ipahal: add uC activation registers and ucp structs
Add relevant structs and functions to modify the
address registers for NAT uC and conntrack UC
for external, local, and shared activation tables.
Add ucp fields to ipv4 nat and ipv6ct entries.

Change-Id: Iadb3232fb45052b643bbf36bc48043df8619d2fb
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-01-07 17:37:09 +05:30
Chaitanya Pratapa
2c4f0c1e17 msm: ipa: compile ipa driver as part of DLKM
Make changes to enable IPA driver as part of vendor
component and compile as a DLKM. Disable ECM driver
for GKI configuration.

Change-Id: I6e2500fa31e3b53e23559bda6104a92958c5430d
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2021-01-06 11:37:26 -08:00
Chaitanya Pratapa
d10d7d54b9 msm: ipa: align to latest kernel version
Make changes to align to the latest kernel version.
Fixes to compilation errors and forbidden warnings.

Change-Id: I5c7a7b8a8ce2ccd98af3d6458bd6a9bdddeb361b
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2021-01-06 11:36:48 -08:00
qctecmdr
aff5cc54ab Merge "msm: ipa: use Kbuild for techpack compilation" 2021-01-05 18:19:32 -08:00
qctecmdr
c915c26659 Merge "rmnet: Convert to use remoteproc notifications" 2021-01-05 15:28:48 -08:00
Praveen Kurapati
3df19d625c msm: ipa3: Add change to increase timeout value
Add change to increase the stop channel retry timeout value
to avoid race condition cause by AP retrying to stop channel
and GSI trying to send stop channel command.

Change-Id: I405f923d9bc87f7b8612ded9137d7b8d23eb37e8
Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
2021-01-05 09:40:51 +05:30
qctecmdr
356fa45853 Merge "msm: ipa3: Changes to support to IPA HW version 3.0 target" 2021-01-04 16:34:52 -08:00
qctecmdr
d9ce9ccfab Merge "msm: ipa3: Add sram memory regions for ssdxnightjar target" 2021-01-04 12:35:08 -08:00
Ashok Vuyyuru
8c07a7fdfc msm: ipa3: Changes to support to IPA HW version 3.0 target
Adding changes to support the IPA HW 3.0 version in latest
kernel release.

Change-Id: Id9ac11015f4752bddb8070e179c7b7284b0abe31
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
2021-01-05 00:59:23 +05:30
qctecmdr
72370c317e Merge "msm: ipa: fix to not use stack memory to store descriptors" 2020-12-31 07:57:57 -08:00