Gráfico de commits

946 Commits

Autor SHA1 Mensagem Data
Ashok Vuyyuru
49899d14a2 msm: ipa3: Deepsleep enable changes
Adding support to deepsleep scenario.

Change-Id: I2b388396cf9a7f26f77bbcd49c1014e16475a980
2022-04-05 00:29:54 -07:00
Piyush Dhyani
23f607b8dd msm: ipa3: Queue nop desc again if it fails.
Currently during nop desc send, we are setting
nop pending flag to false before queing desc,
due to which we are not able to queue nop desc
again if it fails for first time. Now setting
nop pending flag to false only if we successfully
queued nop desc.

Change-Id: Ice0b3726f2ff0e81c0e5b041346e0ba06619ef62
Signed-off-by: Piyush Dhyani <pdhyani@codeaurora.org>
2022-03-31 05:53:03 -07:00
qctecmdr
f7f3cc3ca5 Merge "msm: ipa: FR 75115: IPA5.5: RSC enhancements for WAN (IPA changes)" 2022-03-29 06:00:40 -07:00
qctecmdr
a6eb91ce50 Merge "msm: ipa3: Configure HOLB for WLAN2 consumer pipe" 2022-03-28 20:29:49 -07:00
qctecmdr
4e669c79e0 Merge "dataipa: Increase IPA SRAM Q6 "hw_stats_quota_size"" 2022-03-28 09:45:34 -07:00
Eliad Ben Yishay
7a7fa3c544 dataipa: IPA HW TTL update offload - debugfs
Count TTL HW updates and add to debugfs status and stats logging.

Change-Id: I72cf48a2aa6cc6fcee0c709d1366920b5430576f
Signed-off-by: Eliad Ben Yishay <quic_ebenyish@quicinc.com>
2022-03-27 05:32:38 -07:00
Michael Adisumarta
82449ebbd7 dataipa: Increase IPA SRAM Q6 "hw_stats_quota_size"
Increase the hw_stats_quota_size from 72 to 96 bytes on targets
IPA_5_0 and above.

Change-id: Id407138e7b0f684a3bce5ba00059b368cee8156b
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
2022-03-25 09:38:00 -07:00
Jagadeesh Ponduru
2c94c9a1f1 msm: ipa3: Configure HOLB for WLAN2 consumer pipe
To avoid temporary stall on WLAN client enabling the HOLB on
WLAN2 consumer pipe.

Change-Id: I3920205f7f62dbdd240da162fab4158ab8e070b4
Signed-off-by: Jagadeeesh Ponduru <quic_jponduru@quicinc.com>
2022-03-25 01:32:57 -07:00
Abhishek Raghuvanshi
5063941b56 msm: ipa: FR 75115: IPA5.5: RSC enhancements for WAN (IPA changes)
Removed routing_table_index_valid check. This is because
by setting this value to 0, we will inform q6 to apply q6
routing rules instead of AP routing rules

Change-Id: I8415e7812660f2d50fb95959a1111182841bb3e0
2022-03-23 17:05:28 -07:00
Ashok Vuyyuru
7f064cd7a1 msm: ipa3: Flush free page WQ only for page recyle replenish handler
Free page work init only for page recycle replenish handler.

Change-Id: Ieb5e7b2deb109fa46d3ab38be44eaf34fffd4ad2
Signed-off-by: Ashok Vuyyuru <quic_avuyyuru@quicinc.com>
2022-03-20 22:25:45 -07:00
qctecmdr
f55a4ad651 Merge "msm: ipa3: Fix to flush to workqueue during teardown pipe" 2022-03-17 11:17:23 -07:00
Ilia Lin
f8237ab763 ipa: Add macsec strings to debugfs
Change-Id: Ib7aaf94f4f34e48e007d9e9be49ef4a194291219
Signed-off-by: Ilia Lin <quic_ilial@quicinc.com>
2022-03-14 23:44:03 -07:00
Ashok Vuyyuru
4ee709ab00 msm: ipa3: Fix to flush to workqueue during teardown pipe
Workqueue was getting scheduled after teardwon the pipe.
Adding changes to flush to workqueue during teardown pipe.

Change-Id: I5a6b3464d76a9835bfbf7668e8dbb1cdf00c73fe
Signed-off-by: Ashok Vuyyuru <quic_avuyyuru@quicinc.com>
2022-03-10 17:21:22 +05:30
Michael Adisumarta
49c10e18c6 msm: ipa: Add TTL update test cases
Add basic IPv4 and Ipv6 test cases for TTL update in HW
based on filtering and routing rules. Also, consists of
several minor fixes during bring up.

Change-Id: Ib363434b20ad2fc8cf29c78bb5db667959f2dbfd
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2022-03-09 19:49:51 -08:00
Michael Adisumarta
ec06323b3c msm: ipa: Add support to set exception route table index
Add IOCTL support to configure route table index in case of
NAT suppression and Conntrack suppression being enabled.

Change-Id: Id2ba72c71e8c541ea54488078f30a9103c0d3eba
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
2022-03-09 11:33:40 -08:00
Michael Adisumarta
a986957002 dataipa: ipa-kernel-tests: ulso test, network-traffic fix
* Early stage target does not support every std library operations
* changed vector insert before begin to push_back to eliminate illegal
memory access
* Added virtual destructor PacketModifier

Change-Id: I34041e8b81547d474c050425beac8ae8a78a4799
Signed-off-by: Eliad Ben Yishay <quic_ebenyish@quicinc.com>
2022-03-07 16:39:53 -08:00
qctecmdr
40dd5065fd Merge "msm: ipa: Add NAT and IPv6 CT suppression tests" 2022-03-04 22:07:21 -08:00
Chaitanya Pratapa
a2fff96c69 msm: ipa: avoid OOM Killer for temp allocations
Make changes to use __GFP_RETRY_MAYFAIL to avoid triggering
OOM Killer when allocating pages for temp allocations.

Change-Id: I2f5843c9a1c0a9f41e215c8241713f4670e4b35c
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
2022-03-04 10:17:13 -08:00
qctecmdr
b58b42f808 Merge "dataipa: IPA_5_5 test pipes configuration correction" 2022-03-04 04:28:36 -08:00
qctecmdr
4054974b41 Merge "msm: ipa3: Following HPG sequence for HOLB enabling" 2022-03-04 02:58:37 -08:00
Michael Adisumarta
d7c12b1fc0 msm: ipa3: Following HPG sequence for HOLB enabling
Correcting the sequence to dynamically change the HOLB timer.

Change-Id: Iefcac36b93f3aee037628e3b0ec81aa5f5636caa
Acked-by: Suhas mallesh <smallesh@codeaurora.org>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2022-03-03 20:17:31 -08:00
Michael Adisumarta
752cf6dbba dataipa: Add stringify for TTL exception pkt status.
Add missing stringify for TTL exception packet status.

Change-Id: I698c3dbe1c41b461fa26d5907d4b503138c2fbc6
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
2022-03-03 12:51:40 -08:00
Chaitanya Pratapa
8b281fbc53 msm: ipa: Add support to configure COAL_MASTER_CFG
Make changes to configure COAL_MASTER_CFG. Enable IPv4 ID
ignore bit by default. Give provision to configure via DT.

Change-Id: I17d4b368458417f4379d82bbfce754672b5f27aa
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
2022-03-02 10:35:02 -08:00
Ashok Vuyyuru
e3b4e1d460 msm: ipa3: Changes to enhance find free pages from list
Adding changes to enhance find free pages from list,
 1. When free page not available instead of keep trying
    using temporary pages.
 2. In tasklet search for free pages adding to head.

Change-Id: I991336167519322081faf8f82feec4e3f0d7b161
Signed-off-by: Ashok Vuyyuru <quic_avuyyuru@quicinc.com>
2022-02-28 10:36:43 +05:30
Chaitanya Pratapa
1fb4520d43 msm: ipa: Add NAT and IPv6 CT suppression tests
Add kernel tests to validate NAT and IPv6 CT suppression
tests.

Change-Id: If69b651330846b92c85184c5afdeba73bafa1592
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
2022-02-25 18:04:34 -08:00
Michael Adisumarta
d19fb3fe37 dataipa: IPA_5_5 test pipes configuration correction
Test pipe configuration correctness for IPA_5_5

Change-Id: I6f6b05cb45a830e35eb97138bbe0046884ac5367
Signed-off-by: Michael Adisumarta <quic_madisuma@codeaurora.org>
2022-02-25 16:32:54 -08:00
Michael Adisumarta
47c0ae3849 msm: ipa3: WAN Coalescing Feature Enhancement
There are new IPA 5.5 hardware coalescing enhancements that relate to
WAN Coalescing. They are attended to herein.

Change-Id: I54f2655458d90d3b6111a970329b6b56016776f4
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
2022-02-17 16:33:40 -08:00
qctecmdr
3d6de4e3c3 Merge "ipa: Fix the collection of packets context on crash" 2022-02-13 06:28:50 -08:00
Dor Deri
d7a614c2a6 ipa: Fix the collection of packets context on crash
Change the offsets for the collection of the packets
context so when crash occur the dump will have the proper
information in the packet context structures.

Signed-off-by: Dor Deri <quic_dderi@quicinc.com>
2022-02-08 13:36:36 +02:00
Michael Adisumarta
2c539e5d76 dataipa: add proper offset for flavor_9 ipahal_reg object
Add offset for flavor 9 ipahal register object as per HPG.

Change-Id: I37b92e5d4a573b3875ad00bcf02dd389e3a320e8
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
2022-02-07 23:00:07 -08:00
Chaitanya Pratapa
7ae30f4367 msm: ipa: IPA_5.5 kernel tests update
Add support for IPA_5.5 in kernel tests.

Change-Id: I448936055c84d6e38f886becfba372627fb37147
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2022-02-01 15:32:33 -08:00
qctecmdr
2f1d80c7b8 Merge "Fastforwarding dataipa CRT:data-kernel.lnx.1.2-220128 to data-kernel.lnx.2.0" 2022-02-01 09:48:27 -08:00
qctecmdr
abe5fec384 Merge "msm: ipa3: Fix to validate the NAT table entries during NAT table init" 2022-02-01 02:55:15 -08:00
Kasiviswanathan, Subash Abhinov
a8a418196b Fastforwarding dataipa CRT:data-kernel.lnx.1.2-220128 to data-kernel.lnx.2.0 2022-01-31 20:01:31 -07:00
Dor Deri
602f431d59 ipa: upgrade reg save to IPAv5.5
Add support for IPAv5.5 reg collection.

Change-Id: Id4c92d7120fff6e96e635c92369af7a3de0f2fc0
Signed-off-by: Dor Deri <quic_dderi@quicinc.com>
2022-01-31 00:44:21 -08:00
Himansu Nayak
1840d3b8f5 msm: ipa3: Fix to validate the NAT table entries during NAT table init
During NAT table Initialization parameter pass from HLOS, if max/zero
table entries passed it was leading to out of bound read. Adding checks
to validate the table entries before passing to NAT table parameter.

Signed-off-by: Himansu Nayak <quic_himansu@quicinc.com>
2022-01-30 18:49:39 -08:00
Dor Deri
82799ba033 ipa :Fix direction collection of NTN stats
PROD client - rx direction,
CONS client - tx direction.

Signed-off-by: Dor Deri <quic_dderi@quicinc.com>
2022-01-26 16:11:36 +02:00
qctecmdr
73f434ca21 Merge "msm: ipa3: Fix to avoid the boot up crash in non smmu targets" 2022-01-25 19:50:58 -08:00
qctecmdr
4e8750865d Merge "msm: ipa: Get device pointers if smmu is disabled" 2022-01-25 19:02:00 -08:00
Raghavendar rao l
e7b6c31d82 msm: ipa3: Fix to avoid the boot up crash in non smmu targets
Updated change to perform ipa pre initialization even before
attempting to load the ipa firmware along with pdev node
initialization for non smmu target.

Change-Id: I04421c1f11f0c7b4d7a0f30135741946b157aa2c
Signed-off-by: Raghavendar rao l <quic_rlomte@quicinc.com>
2022-01-26 00:37:23 +05:30
Cheng Zeng
ee204109cc msm: ipa: Get device pointers if smmu is disabled
If arm-smmu is not configured, smmu cb will not be
probed, still need to get pdev and uc_pdev.

Signed-off-by: Cheng Zeng <quic_chenzeng@quicinc.com>
2022-01-25 10:52:22 -08:00
qctecmdr
0723b1936c Merge "msm: ipa: Break from loop when icc_path is error" 2022-01-25 10:03:37 -08:00
qctecmdr
fdf06d74f0 Merge "msm: ipa3: Prevent addition of duplicate headers" 2022-01-25 07:33:34 -08:00
qctecmdr
cbab2d5f32 Merge "msm: ipahal: Add 2 new exception cases for status pkt" 2022-01-25 05:56:11 -08:00
qctecmdr
d84081f0d0 Merge "msm: ipa3: add fix on ddr hdr tbl free-list" 2022-01-25 04:44:26 -08:00
qctecmdr
81152decfa Merge "msm: ipa: Set the logbuf to NULL after kfree" 2022-01-24 23:52:52 -08:00
qctecmdr
b1700337cf Merge "msm: ipa3: Add pm mapping for MHI low latency pipe" 2022-01-24 23:06:14 -08:00
qctecmdr
0c29e06313 Merge "msm: ipa3: Changes not allow ODL pipe setup during SSR" 2022-01-24 22:15:33 -08:00
Michael Adisumarta
deddb2eae3 msm: ipahal: Add 2 new exception cases for status pkt
Add new enums for invalid pipe exception pkt and HDRI
exception. Handle the case where these exceptions
are received.

Change-Id: I920e4f1c121850c535c471f647fd5842ec25ba6e
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
2022-01-24 16:26:26 -08:00
Michael Adisumarta
56b691cb52 msm: ipa3: Prevent addition of duplicate headers
Print a failure if IPA tries to add a header with the same name
as a header that is already present in the header list and
return that original header.

Change-Id: I3e3b91da216b9a0c383c8653ea5cd2587804329f
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
2022-01-24 14:49:23 -08:00