Revīziju grafs

1145 Revīzijas

Autors SHA1 Ziņojums Datums
Pavan Kumar M
da047ee14c dataipa: modify hardcoded paths to variable based paths
Modifying hardcoded path usage to support multiple vendor
components in parallel for build compilations.

Change-Id: I3001dc60bf962885b1c0beed9b6c4f47b0ee2b4e
Signed-off-by: Pavan Kumar M <quic_rpavan@quicinc.com>
2023-10-06 10:37:19 +05:30
Srinivas Sai Mannam
afcfbe5182 dataipa: enable IPA compilation as vendor dlkm modules
Enabling IPA, GSI driver compilation as vendor DLKM
modules for cliffs.

Change-Id: I5eaca4b3ed05a2d15bf8f44df1715c84f9c8f383
Signed-off-by: Srinivas Sai Mannam <quic_srinmann@quicinc.com>
2023-09-29 18:11:11 +05:30
Pavan Kumar M
70b84dc05e dataipa: Remove clang usage from make files
Remove usage of clang in make files as it is
deprecated in soong builds.

Change-Id: I2da10dc6f0f49c58ecda18eca95369656e69b6c8
Signed-off-by: Pavan Kumar M <quic_rpavan@quicinc.com>
2023-09-25 22:12:34 +05:30
Jagadeesh Ponduru
949ab07e78 msm: ipa3: disable monaco compilation temporarily
Disable IPA compilation for monaco as a temp change.

Change-Id: I872cf2d8bd6a0ae95ae18073c71d336528a11d97
Signed-off-by: Jagadeesh Ponduru <quic_jponduru@quicinc.com>
2023-09-22 23:05:42 +05:30
qctecmdr
41aa39ce67 Merge "msm: ipa3: Added check for enabled log type & default mask" 2023-09-21 20:26:52 -07:00
Jagadeesh Ponduru
6763e2bfc8 msm: ipa3: Added check for enabled log type & default mask
Change to prevent accessing the variables by checking the default
mask with enabled log type mask.

Change-Id: Iab5bef96c4f8a12beeddab05ed27462fee656ad2
Signed-off-by: Jagadeesh Ponduru <quic_jponduru@quicinc.com>
2023-09-19 11:06:21 +05:30
qctecmdr
cf8885a78e Merge "Revert "Revert "msm: ipa3: Use atomic map API to avoid sleep in atomic context""" 2023-09-17 22:04:54 -07:00
Chaitanya Pratapa
8102f09463 Revert "Revert "msm: ipa3: Use atomic map API to avoid sleep in atomic context""
This reverts commit 21d35c69a1.

Reason for revert: Corresponding symbol change is mainlined.

Change-Id: If42ea313baaee74334f7df1ab15973ca7abd2002
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
2023-09-14 20:29:21 -07:00
qctecmdr
a7ad4b3efa Merge "msm: ipa: Resetting default client handle value" 2023-09-11 04:07:57 -07:00
Fakruddin Vohra
13a50b0a5a mdm: dataipa: increase the size of prefetch buffer
prefetch buffer is updated from 128 to 256 byte for route
and filter rule read.

Change-Id: Ibddddfda355e8032d6ec40da73394037534d1d78
Signed-off-by: Fakruddin Vohra <quic_fakruddi@quicinc.com>
2023-09-07 04:39:19 -07:00
qctecmdr
8ef89023fd Merge "ipa: Added a logic to check ipa3_qmi_ctx before accessing its pointer" 2023-09-06 16:18:31 -07:00
Avinash Kumar
91f9523942 msm: ipa: Resetting default client handle value
changes for setting default value of client handle in failure case

Change-Id: Icc6691d8d8a17b96ffc6541cf6137cae03b23946
Signed-off-by: Avinash Kumar <quic_avku@quicinc.com>
2023-09-04 04:51:35 -07:00
Abhishek Raghuvanshi
062880ada8 dataipa: Mem Optimization Phase 2
Incorporate rmnet api for data allocation for temp buffers

Change-Id: I1cd9c4430a176a6e3c7a4fa8c98c4160a2276e37
Signed-off-by: Abhishek Raghuvanshi <quic_araghuva@quicinc.com>
2023-09-01 11:45:53 -07:00
Abhishek Raghuvanshi
8c67d5680b ipa: Added a logic to check ipa3_qmi_ctx before accessing its pointer
Added input validation check before accessing ipa3_qmi_ctx

Change-Id: I6702a60da95c6de2b40a37b3b55c952ccf2a865a
Signed-off-by: Abhishek Raghuvanshi <quic_araghuva@quicinc.com>
2023-08-30 10:42:37 -07:00
Xhoendi Collaku
e8a5fda272 DATAIPA: Fix for dataipa dlkm errors
Adding a conditional check in Android.mk.

Change-Id: I473c8d971127b8e11d5dec0a7d715ef5868adc96
Signed-off-by: Xhoendi Collaku <quic_xcollaku@quicinc.com>
2023-08-28 15:51:18 -07:00
Chaitanya Pratapa
21d35c69a1 Revert "msm: ipa3: Use atomic map API to avoid sleep in atomic context"
This reverts commit 642c915300.

Reason for revert: iommu_map_atomic symbol change from Kernel is reverted

Change-Id: I0f4948fae1bd8ab67bbdf44ed574730f2e7e1c96
2023-08-22 22:17:52 -07:00
Ashok Vuyyuru
642c915300 msm: ipa3: Use atomic map API to avoid sleep in atomic context
From atomic context if try to map the address it causing sleep and
device assert. To avoid this use atomic map API.

Change-Id: I1c0c22d0f24cc0e827b6d401c9ffb3224a937821
Signed-off-by: Ashok Vuyyuru <quic_avuyyuru@quicinc.com>
2023-08-14 12:56:26 -07:00
Sivakanth Vaka
f180c9a1a9 ipa: adding IPA module support for blair
adding module support for blair.

Signed-off-by: Sivakanth Vaka <quic_svaka@quicinc.com>
2023-07-20 16:38:11 +05:30
Chaitanya Pratapa
131309cd05 msm: ipa: Add support compile ut framework
Make changes to compile ut framework with bzl environment.

Change-Id: I91bf53701938241729698a5bc0c4f7586f35c171
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
2023-07-12 14:29:16 -07:00
qctecmdr
df9df528ee Merge "msm: ipa3: Rate limited the IPA error logging" 2023-07-07 22:17:36 -07:00
Jagadeesh Ponduru
8b873d5564 dataipa: enable IPA compilation as vendor dlkm modules
Enabling IPA, GSI driver compilation as vendor DLKM
modules for blair and holi upgrade SP.

Change-Id: I148b8704bd2e28840b2593b8bf9a02d75145d7aa
Signed-off-by: Jagadeesh Ponduru <quic_jponduru@quicinc.com>
2023-07-06 20:35:49 +05:30
Srinivas Sai Mannam
2bccdf8791 msm: ipa3: Rate limited the IPA error logging
Rate limit the excessive ipa error logging in a test scenario.

Change-Id: I200d9b659895b0f68490acfad581c643964a3823
Signed-off-by: Srinivas Sai Mannam <quic_srinmann@quicinc.com>
2023-07-05 23:19:26 -07:00
Chaitanya Pratapa
7c9aad4ac3 dataipa: Bazel transition of IPA driver
Add changes to migrate to Bazel for IPA driver compilation.

Change-Id: If4da7ffcb24db3f2b3bfe67678b4a73a59f58ba5
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
2023-07-04 09:44:26 -07:00
Arjun Haris
9c951fb403 msm: ipa: Remove opt dp callback info from wdi context
Changes to remove wdi callback info from wdi context
to avoid race condition.

Change-Id: Ia858e009975d8cc63a1b924f50de4713dbad7d97
Signed-off-by: Arjun Haris <quic_arjunh@quicinc.com>
2023-06-06 22:21:43 -07:00
Abhishek Raghuvanshi
cd183717f2 dataipa: Added logic to check only three WiGig clients for 5_5 hw and above
Added a logic to check only three WiGig clients while checking hw stats.
This is because fourth client is not available on 5_5 hardware.

Change-Id: I5200b9b75196e954fffd8acbc32c67fe191e4290
2023-06-05 11:37:12 -07:00
qctecmdr
b3a05e114e Merge "msm: ipa3: Rate limited the error logging" 2023-06-02 19:11:30 -07:00
Srinivas Sai Mannam
3ff5ac2b73 msm: ipa3: Rate limited the error logging
Rate limit the excessive ipa error logging in a test scenario.

Change-Id: Iaf660eea3e35b8d8fe91d5b3a2654b5877e31886
2023-06-01 14:49:07 +05:30
Avinash Kumar
7ebbfc4a86 msm: ipa3: add change to check log_type_mask defined or not
Adding a change to check whether log_type_mask is defined or
not to avoid allocating unknown memory size and to avoid out
of bound access.

Change-Id: I901863ee68f8c77424c4d4d3bb5f3a380a61dbee
2023-05-29 03:25:16 -07:00
Chaitanya Pratapa
a827313771 msm: ipa: enable frag offload on WLAN pipe
Make changes to enable frag offload on WLAN pipe.

Change-Id: Ie881180c991c683776f51f522d6e4e046043a663
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
2023-05-18 14:15:13 +05:30
qctecmdr
abc55aa7fd Merge "msm: ipa3: adding check for holb stats" 2023-04-26 21:30:03 -07:00
qctecmdr
887c7da2a5 Merge "msm: ipa3: Update the Error log with rate limit" 2023-04-20 22:36:46 -07:00
Chaitanya Pratapa
e294f01cfe msm: ipa: make changes to avoid allocating userdata for WDI channels
WDI channels do not require userdata. Avoid allocating userdata for new
WDI protocols as otherwise allocations might fail due to large allocation
size resulting in pipe setup failure.

Change-Id: I7630a9c5b450937b264cdeb4b45ace70fd160be3
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
2023-04-19 12:43:46 -07:00
qctecmdr
d6804f5960 Merge "msm: ipa: fix to tx stop channel" 2023-04-13 14:07:55 -07:00
qctecmdr
05c017c435 Merge "msm: ipa: Enable ipa clock voting only when needed" 2023-04-13 13:29:18 -07:00
Abhishek Raghuvanshi
46bc1041ae msm: ipa: fix to tx stop channel
When opt dpath is enabled, make changes to stop and start the
channel only when it is required.

Change-Id: I849ccbe969a6c965b18022f3c23e545902d551e2
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
2023-04-13 22:12:01 +05:30
Ashok Vuyyuru
03221c801d msm: ipa3: Adding changes to increase workqueue priority
In some scenarios WQ scheduling was delayed. To avoid these
issues adding changes to increase the WQ priority.

Change-Id: I597e73a354f2d136843b19a84c859fe3eb7b51e0
Signed-off-by: Ashok Vuyyuru <quic_avuyyuru@quicinc.com>
2023-04-13 02:49:45 -07:00
Arjun Haris
3beb9e21ad msm: ipa: Enable ipa clock voting only when needed
Make changes to enable IPA clock only when it is required.

Change-Id: I1af79ea4f0015e8b7b9d43b18b73b58e66b12c5a
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
2023-04-12 17:50:44 -07:00
Prasad Arepalli
78e2720e15 msm: ipa3: Update the Error log with rate limit
Rate limited the Error logging.

Change-Id: I5e7a5d0bcfac2430c680dd36fddb704d59f5f672
2023-04-12 12:28:45 +05:30
Ashok Vuyyuru
395fcbaab4 msm: ipa3: Changes to fix header offset usage in DDR case
When DDR header table was full not verifying any free offset entries
present in the list with current logic. So adding changes to use
free offset location in DDR when DDR header table was full.

Change-Id: If2d010db178e2388a83b5b63b47d3d05f2c3f7e2
Signed-off-by: Ashok Vuyyuru <quic_avuyyuru@quicinc.com>
2023-04-11 21:56:00 -07:00
Arjun Haris
df85de1c8e msm: ipa: Update filter idx in indication when add/ remove fails
Changes to update filter index to failure indication, when wdi filter
add/remove fails from  ipa driver layer

Change-Id: I3b590594befe252913dde43fe408a4cd96b9249c
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
2023-04-07 22:01:37 -07:00
Arjun Haris
d0b383b4f6 msm: ipa: Avoid sending remove all filter indication during SSR
Changes to not send remove all filter indication to Q6 when modem SSR
is trigerred

Change-Id: If1c86ce41b91f4df1eab592090fbbb7c4f12e535
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
2023-04-07 21:56:00 -07:00
Veerendra Kumar Kamsali
e739dfa5ab msm: ipa3: adding check for holb stats
Adding null checks while getting the holb stats

Change-Id: Iba83cd86522679137f66fa1e7844884955fecf4d
Signed-off-by: Veerendra Kumar Kamsali <quic_veekum@quicinc.com>
2023-04-07 06:35:39 -07:00
Jagadeesh Ponduru
757a544d71 msm: ipa3: fix pointer arithmetic to avoid out-of-bound
When offset gets added to base of the array, it returns
offset plus the number equal to size of the whole array.
So, correct it by passing the address of offset element
in the array.

Change-Id: I8a087ca277bdc476674c7221b5fc0920e6986570
2023-04-06 11:05:52 -07:00
qctecmdr
10732b43aa Merge "dataipa: Fixed KW issues for lanai" 2023-04-05 13:44:42 -07:00
Raghavendar rao l
02c7482fd4 msm: ipa3: Update the Error log with rate limit
Rate limited the Error logging, while route addition failing.

Change-Id: I595cbdf5eebbf82371e20becab49d9a36553b62c
Signed-off-by: Raghavendar rao l <quic_rlomte@quicinc.com>
2023-04-04 22:58:57 -07:00
Abhishek Raghuvanshi
1298e4a684 dataipa: Fixed KW issues for lanai
Added changes to fix kw issues

Change-Id: Ib83029c03569cea9e312d284f5b3f5daedc8dd1e
2023-04-03 15:04:43 -07:00
qctecmdr
648933315e Merge "msm: ipa3: Fix to use free offset list DDR header entries" 2023-03-28 22:15:52 -07:00
Jagadeesh Ponduru
7b40f47fb4 msm: ipa3: using strscpy to have a robust string copy
Adding change to use strscpy to have a robust way of string
copying into another buffer, if we have unknown source string
at run time to avoid fortify_panic.

Change-Id: I16a4fce06ef9bc47b4c6c3d901984e0a7c514d38
2023-03-27 18:38:02 -07:00
Arjun Haris
90d0c7c462 msm: ipa: Update wdi moderation threshold for WDI opt datapath scenario
Changes to update WDI moderation threshold for cases where WDI opt
datapath is enabled.

Change-Id: I917da8772febbd9e60dfcd66d5953401ce5fe78a
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
2023-03-21 23:33:57 -07:00
Ashok Vuyyuru
9093aae4e5 msm: ipa3: Adding prefetch buff size for kalama target
Due to missing the prefetch buff size route and filter table will
overflow if IPA HW tries to prefetch 128Bytes of additional memory when
dealing with filter/routing tables. This can result in overflowing
of memory if we map only the required size. Make changes to
add the prefetch buff size for kalama target.

Change-Id: I045e14b25e397dc800a775f0d5cc02a889fc7c21
Signed-off-by: Ashok Vuyyuru <quic_avuyyuru@quicinc.com>
2023-03-21 01:44:47 -07:00