提交線圖

1176 次程式碼提交

作者 SHA1 備註 日期
qctecmdr
f89afb89a2 Merge "msm: ipa3: Increase IPA SRAM Q6 "hw_stats_quota_size"" 2024-02-16 02:04:48 -08:00
Jagadeesh Ponduru
94e00bca16 msm: ipa3: Increase IPA SRAM Q6 "hw_stats_quota_size"
Increase the hw_stats_quota_size from 72 to 96 bytes on targets
IPA_5_2.

Change-Id: I0870329ba626115d976d0fe2b96fe76213ebe8b8
Signed-off-by: Jagadeesh Ponduru <quic_jponduru@quicinc.com>
2024-02-15 21:01:54 -08:00
Jagadeesh Ponduru
d3ae39f2e0 msm: ipa3: do not send uc debug stats alloc cmd
Do not send uc debug stats alloc cmd for IPA_HW_5_2
due to uc memory constraints it is not supported.

Change-Id: Ibf7c7e2f11b2dfe4d27bc3aa98dbc0a5613ed01c
Signed-off-by: Jagadeesh Ponduru <quic_jponduru@quicinc.com>
(cherry picked from commit 4df793d56c6e98e87563f0b007696a0b30ce8ab8)
2024-02-15 08:22:44 -08:00
qctecmdr
8c44380a21 Merge "msm: ipa3: Read rx cmn pool, temp pool factors" 2024-02-06 09:23:40 -08:00
qctecmdr
e4deb4b165 Merge "msm: ipa3: Adding changes to check pointer null or not" 2024-02-04 21:19:30 -08:00
Ashok Vuyyuru
899b2c58ea msm: ipa3: Adding changes to check pointer null or not
Adding changes to check page replish pointer null or not.

Signed-off-by: Sivakanth Vaka <quic_svaka@quicinc.com>
(cherry picked from commit 3099fdda59d009d3807eb4922d905d331d3447d7)

Change-Id: Ic6235569619ef634021f92abb668411220e0bf67
2024-02-02 11:26:57 +05:30
Pavan Kumar M
ad1e5a0858 msm: ipa3: Read rx cmn pool, temp pool factors
Read the RX CMN POOL, RX TEMP POOL factors as it is instead of
comparing it with the pre-defined values in driver.

Change-Id: Ifbcc0b79f2a5edc0eb82295865fb48e966487eaf
Signed-off-by: Pavan Kumar M <quic_rpavan@quicinc.com>
2024-02-02 10:07:26 +05:30
qctecmdr
751cec7fec Merge "dataipa: Adding IPA module support for pitti" 2024-01-22 01:16:04 -08:00
Pavan Kumar M
0736e5599e msm: ipa3: End point configuration changes for IPA-V5.2
Added end point, resource config, GSI configuration and
SRAM entries for IPAv-5.2

Enabling IPA, GSI driver compilation as vendor DLKM
modules for pitti target.

Change-Id: Ib0ae6d6605f11a2b08c63782f8a11d8011d46bbe
Signed-off-by: Pavan Kumar M <quic_rpavan@quicinc.com>
2024-01-18 13:47:03 +05:30
Sivakanth Vaka
48dece3898 dataipa: Adding IPA module support for pitti
Enabling IPA, GSI driver compilation as vendor DLKM
modules for pitti target.

Signed-off-by: Sivakanth Vaka <quic_svaka@quicinc.com>
2024-01-17 22:19:35 +05:30
Pavan Kumar M
1c9e811cbf msm: ipa: Reset client handle default value
Reset client handle value to its default value (-1) in all scenarios
except for the generic failure cases.

Change-Id: I7ada229d4db123418ad9fdad75eb7f1619b7bf7e
Signed-off-by: Pavan Kumar M <quic_rpavan@quicinc.com>
2024-01-11 11:14:31 +05:30
qctecmdr
7a7d7d81af Merge "msm: ipa: Fix to protect odl pipe operations" 2023-12-14 13:24:39 -08:00
Chaitanya Pratapa
5c191cf6e6 msm: ipa: Fix to protect odl pipe operations
There could be a race condition between Modem SSR and Diag daemon
releasing the ADPL node. Fix to do ensure proper locking
when cleaning up and setting up the ODL pipe during SSR.

Change-Id: I07f34076f739d91ef7ca2d7df3d09754a8e8475a
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
2023-12-13 23:45:44 +05:30
Srinivas Sai Mannam
22e343587c msm: ipa: Trigger ipa_exit_callback
Trigger ipa_exit_callback on deep sleep mode entry
for USB to clean up and post quick boot, USB GSI
driver can wait for ready callback again from IPA.

Change-Id: Ic14aaff484a52de110e4f46ee6f90dbabd7fc616
Signed-off-by: Srinivas Sai Mannam <quic_srinmann@quicinc.com>
2023-12-05 09:45:46 +05:30
qctecmdr
0d984ecd5e Merge "ipa: set ipa_clk_vote while turning OFF ipa clocks" 2023-12-04 11:27:13 -08:00
qctecmdr
2bf4557940 Merge "msm: ipa3: Fix to handle right error code" 2023-12-03 22:43:32 -08:00
Abhishek Raghuvanshi
0929858503 ipa: set ipa_clk_vote while turning OFF ipa clocks
set ipa_clk_vote while disabling clocks

Change-Id: I5e8803f1dbecab3a18a774d730c43e23ae2613e2
Signed-off-by: Abhishek Raghuvanshi <quic_araghuva@quicinc.com>
2023-11-30 08:59:28 -08:00
Pavan Kumar M
7a128e9a46 msm: ipa3: Adding changes to use new deepsleep API
In latest kernel version old variable are depreciated so
adding changes to use new deepsleep API to check deepsleep state.

Change-Id: I135b2397b88234bec0a7f3d66b2f18f1520a2c71
Signed-off-by: Ashok Vuyyuru <quic_avuyyuru@quicinc.com>
Signed-off-by: Pavan Kumar M <quic_rpavan@quicinc.com>
2023-11-22 14:16:49 +05:30
Pavan Kumar M
b43ef45788 msm: ipa3: supporting hibernate & cleanup unused deepsleep API's
Adding changes to listen for new PM driver events to support
hibernate feature. Also, in 5.15 kernel, deepsleep & hibernate
entry/exit SSR API's are becoming same as regular SSR usecases.
So, cleaning up the unused deepsleep API's accordingly.

Change-Id: Ie8d901f824b586bbb7a5e61a1cdc877cd14eb1d0
Signed-off-by: Jagadeesh Ponduru <quic_jponduru@quicinc.com>
Signed-off-by: Pavan Kumar M <quic_rpavan@quicinc.com>
2023-11-22 13:03:57 +05:30
qctecmdr
858a6ea5a8 Merge "Revert "msm: ipa3: disable monaco compilation temporarily"" 2023-11-15 14:50:35 -08:00
qctecmdr
9bd2a2f140 Merge "msm: ipa: Null terminated interface name string argument received from ioctl" 2023-11-14 22:06:18 -08:00
Pavan Kumar M
e5c94174ec Revert "msm: ipa3: disable monaco compilation temporarily"
This reverts commit 949ab07e78.

Change-Id: Ib3236d886d195d5093ed104bd922fb00c784ae40
Signed-off-by: Jagadeesh Ponduru <quic_jponduru@quicinc.com>
Signed-off-by: Pavan Kumar M <quic_rpavan@quicinc.com>
2023-11-10 03:52:22 -08:00
Chaitanya Pratapa
86661dd91e msm: ipa: ensure ipa clock is devoted
In case the work to disable the clock is failed, disable
the clock immediately to ensure ipa clock is devoted
properly.

Change-Id: I06e56774377472158dc5cfe0ecf33b202293d8ed
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
2023-10-30 09:37:40 -07:00
Avinash Kumar
b639c459e4 msm: ipa: Null terminated interface name string argument
received from ioctl

WAN MTU IOCTL received NULL terminated the interface name
string to prevent out of bound memory access while printing
interface name.

Change-Id: I4ca8021e91689f2b1bf0bef7917a5fc7c2168aef
Signed-off-by: Avinash Kumar <quic_avku@quicinc.com>
2023-10-18 06:11:28 -07:00
qctecmdr
c22bf37a01 Merge "dataipa: enable IPA compilation as vendor dlkm modules" 2023-10-12 10:26:32 -07:00
qctecmdr
54ab5e2006 Merge "dataipa: modify hardcoded paths to variable based paths" 2023-10-12 09:50:33 -07:00
qctecmdr
67cb15e19c Merge "msm: ipa3: added a check to ignore WIGIG client in IPA 4_11" 2023-10-11 22:09:30 -07:00
Srinivas Sai Mannam
29e1822031 dataipa: enable IPA compilation as vendor dlkm modules
Updating cliffs according to HW version 5.5 for enabling IPA,
GSI driver compilation as vendor DLKM modules for cliffs.

Change-Id: I1d5104d56f7729a48d31ff2dc63a722ede8e80c7
Signed-off-by: Srinivas Sai Mannam <quic_srinmann@quicinc.com>
2023-10-11 21:57:55 -07:00
Jagadeesh Ponduru
3bfa9ad4f0 msm: ipa3: added a check to ignore WIGIG client in IPA 4_11
Adding change to ignore WIGIG client here as it is undefined
in this HW version and effecting subsequent tethering stats
collection here.

Change-Id: I8be73e8581e067db5b20ed77d3040acb1e56e357
Signed-off-by: Jagadeesh Ponduru <quic_jponduru@quicinc.com>
2023-10-11 22:54:34 +05:30
Avinash Kumar
2039c3d7ff msm: ipa3: Pointer Check for offset entry
Added check for offset pointer.

Change-Id: I914a0fe3de7933e1d9d4d1e10d74a7b7b490d031
Signed-off-by: Avinash Kumar <quic_avku@quicinc.com>
2023-10-09 10:45:43 -07:00
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