Grafik Komit

490 Melakukan

Penulis SHA1 Pesan Tanggal
Sivan Reinstein
31104f6f79 ipa: Dynamic move of filter rules between DDR & SRAM
Allow moving of Non-Hash filter rules tables between
DDR memory and SRAM memory dynamically based on
table size and SRAM storage availability.

Change-Id: I8ff710e35be9ee1e7bb026fa7fda75a17200914c
Acked-by: Nadav Levintov <nadavl@qti.qualcomm.com>
Signed-off-by: Sivan Reinstein <sivanr@codeaurora.org>
2021-05-02 08:44:51 +03:00
qctecmdr
ad7cae101a Merge "msm: ipa: GSB support" 2021-04-29 00:59:49 -07:00
qctecmdr
f80ed986e4 Merge "msm: ipa: update the rule priority" 2021-04-29 00:08:52 -07:00
qctecmdr
53ed770d59 Merge "msm: ipa5: check if the default channel is already tore down" 2021-04-28 19:52:18 -07:00
Bojun Pan
76a366567e msm: ipa: update the rule priority
Correct the rule priority for IPA5.0.

Change-Id: Iff84c41d1def9b85d221f2fba03d52024ab9b000
2021-04-28 16:44:51 -07:00
Bojun Pan
63287fc3fe msm: ipa: GSB support
Add ODU pipe for GSB support.

Change-Id: I0379ce7e5d4cbd4c6066e5288a373006eb81e2f3
2021-04-28 12:36:20 -07:00
qctecmdr
450cdebeab Merge "ipa: Change IPA EP 34 GSI channel allocation" 2021-04-28 07:04:40 -07:00
qctecmdr
8060032166 Merge "msm: ipa: fix null pointer exception in rmnet_ipa" 2021-04-28 06:14:40 -07:00
qctecmdr
42c809b7b5 Merge "ipa: Move FLT rules to SRAM for ETH PROD client" 2021-04-28 04:28:38 -07:00
qctecmdr
62e9bc1275 Merge "ipa: Update SRAM partitioning for IPA5.0" 2021-04-28 03:39:14 -07:00
Chaitanya Pratapa
16e202768d msm: ipa: fix null pointer exception in rmnet_ipa
Make changes to check if rmnet_ipa3_ctx is non null before
accessing it.

Change-Id: I26286cb43c2a116d78fbc072291454cc43e02ee5
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2021-04-27 23:25:49 -07:00
Michael Adisumarta
332e9a23de msm: ipa5: check if the default channel is already tore down
Stop only coalescing pipe if default pipe is not valid or
already tore down.

Change-Id: I9a6f65840bd6bbbb0e302d0d2c048a3e58fc88e1
Signed-off-by: Michael Adisumarta <madiusma@codeaurora.org>
2021-04-27 15:35:31 -07:00
Chaitanya Pratapa
5ad7dff0bc msm: ipa: page pool recycling enhancements
Added the following enhancements to page pool recycling logic.
1) Updated page pool implementation to use list instead of array.
2) Added provision to check for configurable number of list
elements when checking for free pages.

Change-Id: I01c43be5a169c1438fb29b8179854985e199d055
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2021-04-27 10:44:05 -07:00
Ilia Lin
b107cbe836 ipa: Change IPA EP 34 GSI channel allocation
Change IPA EP 34 GSI channel allocation to channel 8,
as per the latest EP configuration table.

Change-Id: I993c799429555d29120b8181f3d10140ce0c68cf
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
2021-04-27 16:54:36 +03:00
Sivan Reinstein
ff5fa36289 ipa: Move FLT rules to SRAM for ETH PROD client
Move Non-Hash FLT table for ETH PROD client to SRAM

Change-Id: I03aeb0669ca54bc09f880f2ddfed97d540385a00
Acked-by: Nadav Levintov <nadavl@qti.qualcomm.com>
Signed-off-by: Sivan Reinstein <sivanr@codeaurora.org>
2021-04-27 11:15:21 +03:00
Sivan Reinstein
a33e546e48 ipa: Update SRAM partitioning for IPA5.0
Update SRAM partitioning for IPA5.0 to support
Non-Hash IPv4 and IPv6 filtering rules tables in SRAM
In addition, seperate IPA5.0 and IPA5.1 SRAM partitioning.

Change-Id: I1c11212b0bb86305cd84e447eefbbf6d8f253cc0
Acked-by: Nadav Levintov <nadavl@qti.qualcomm.com>
Signed-off-by: Sivan Reinstein <sivanr@codeaurora.org>
2021-04-27 11:15:15 +03:00
qctecmdr
e0364fbb38 Merge "msm: ipa3: Remove ep suspend during usb resume." 2021-04-22 22:56:33 -07:00
qctecmdr
ee7a175c69 Merge "msm: ipa: APQ related fixes" 2021-04-22 19:30:43 -07:00
qctecmdr
bb51a5e7a5 Merge "msm: ipa3: add modem BW voting change support" 2021-04-22 17:47:20 -07:00
Michael Adisumarta
ff7b2ecc15 msm: ipa: rate limiting the warning
Rate limitting the warning if client doesn't have
callback.

Change-Id: I09b02181e4c34ecf342e150de76eace9341a0c0a
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-04-20 22:39:40 -07:00
Piyush Dhyani
5cda42ee08 msm: ipa3: Remove ep suspend during usb resume.
With unified API changes, on usb channel during
resume ep suspend bit was not cleared which was set
during suspend channel. Now Removing ep suspend bit
while resuming channel.

Change-Id: Ib165299ac67d05139c7a964ac3464663d61260a1
Signed-off-by: Piyush Dhyani <pdhyani@codeaurora.org>
2021-04-20 14:41:01 +05:30
Michael Adisumarta
d8d37f5262 msm: ipa3: add modem BW voting change support
Add the QMI support to change the modem
Bandwidth voting throughput on APQ side
to change the IPA clk scaling.

Change-Id: I904019b4f71fde9edea90dfc62afacb8d65bbd1d
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-04-16 13:20:23 -07:00
Chaitanya Pratapa
9faacc85d2 msm: ipa: APQ related fixes
Make changes to not initialize rmnet_ctrl module
for APQ platforms. Also make changes to fix the TX instance
for MHIP pipe for 5_1.

Change-Id: I2295bf7a0703650f89f18d063297c687604888e0
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2021-04-15 23:33:37 -07:00
Piyush Dhyani
d07a70bb2c msm: ipa3: Support PM API For WLAN.
Adding wrapper API to support PM
approach for WLAN.

Change-Id: I8c234f71ff4a254dcbd9d68add893d439bcfb0cb
Signed-off-by: Piyush Dhyani <pdhyani@codeaurora.org>
2021-04-15 22:56:19 +05:30
qctecmdr
6342a2adc8 Merge "msm: ipa: fix issue on dump collection" 2021-04-12 21:27:55 -07:00
qctecmdr
2e3c191514 Merge "msm: ipa: Fix TX NAPI handling" 2021-04-12 16:36:37 -07:00
qctecmdr
b8c2d297fc Merge "msm: ipa: add support for data warning limit" 2021-04-09 23:44:20 -07:00
qctecmdr
e5903abc32 Merge "msm: ipa3: return fault when adding rt rules fail" 2021-04-09 21:58:20 -07:00
Chaitanya Pratapa
4e0c7883b4 msm: ipa: add support for data warning limit
Make changes to add support for data warning limit.

Change-Id: Ifb80a4b5c8d2c15e39e75c084d149ab754613481
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2021-04-09 16:46:10 -07:00
Michael Adisumarta
66a2a3a5c7 msm: ipa3: return fault when adding rt rules fail
Return failure when default wan rt table installation fails.

Change-Id: Ia050a06ac7d99ad1dd097b8a88dc7d0133d2825f
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-04-09 16:14:18 -07:00
Chaitanya Pratapa
407bf99e8f msm: ipa: Fix TX NAPI handling
Make changes to ensure NAPI is scheduled only once.
Make changes to use right register
GSI_EE_n_CNTXT_SRC_IEOB_IRQ_CLR_k for clearing interrupt.

Change-Id: I8de97f584ac4915d59b6716e7dff0c181a48cd1e
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2021-04-09 15:40:50 -07:00
qctecmdr
b6d006b907 Merge "msm: ipa3: enable clk before SRAM memory read" 2021-04-07 23:47:22 -07:00
qctecmdr
d440ac445a Merge "msm: ipa: Fix updating the right pipe mask for hw stats" 2021-04-07 06:02:16 -07:00
Bojun Pan
5737f02b62 msm:ipa:disable flow control for mhi qmap pipe
Disable GSI enhanced flow control for mhi qmap pipe.

Change-Id: I2420ea3f76f070e3491706e76580c50737b87a7e
2021-04-06 12:19:13 -07:00
Pooja Kumari
3694ab4282 msm: ipa3: enable clk before SRAM memory read
If active client is zero, clk is disabled and SRAM
memory read cause for crash. Enable clk before SRAM
based NAT table read.

Change-Id: I29bd035e0251d3f9959e9af4be53a1fd2ef7f710
Signed-off-by: Pooja Kumari <kumarip@codeaurora.org>
2021-04-06 18:18:08 +05:30
Chaitanya Pratapa
b0bdcf56b0 msm: ipa: Fix updating the right pipe mask for hw stats
Make changes to update the right pipe mask for tethering
stats. Also the dst_mask now points only to producer pipes i.e
bit 0 indicates the first producer pipe. Make changes to
right shift by first producer pipe number.

Change-Id: I43776ce96fdda5711e73689040c15a2c46bb6c2f
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2021-04-05 17:19:40 -07:00
Bojun Pan
3231a465e4 msm: ipa: fix issue on dump collection
Adding the clock reference count back as the clock is not
actually disabled in this assert.

Change-Id: I6532749bd6ffe36e87e725088e13a11bf4635dbc
2021-04-05 12:59:04 -07:00
qctecmdr
5ae5eaa2c4 Merge "ipa: Fix RT \ FLT local tables" 2021-04-05 08:16:57 -07:00
Bojun Pan
6b1e1ff2f9 msm: ipa: remove redundant check for KW issue
Remove redundant NULL check.

Change-Id: Ic9c00ba527bab1063cee0e089184f97356c99048
2021-03-31 15:44:21 -07:00
qctecmdr
6ce2951938 Merge "msm: ipa: enable ULSO for WWAN UL pipe" 2021-03-31 08:29:10 -07:00
Sivan Reinstein
289607eec1 ipa: Fix RT \ FLT local tables
Fix code related to RT \ FLT tables in SRAM

Change-Id: I3f550a19fd0d0b962800cd82b8e23e9af8d9b942
Acked-by: Nadav Levintov <nadavl@qti.qualcomm.com>
Signed-off-by: Sivan Reinstein <sivanr@codeaurora.org>
2021-03-31 15:59:01 +03:00
Chaitanya Pratapa
a138ed4182 msm: ipa: Fix doing polling after NAPI reschedule
Make changes to do polling in same NAPI context after
NAPI is rescheduled as we can be stuck forever in
same NAPI context.

Make changes to not assert in case clock is not active
when handling TX interrupt as the packet would have been
processed already as part of NAPI reschedule.

Change-Id: I65c87fa31899a745ff99cc7708eed79927263815
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2021-03-26 11:13:03 -07:00
Bojun Pan
d96181ac68 msm: ipa: enable ULSO for WWAN UL pipe
Enable ULSO for WWAN E2E use case.
Change-Id: I3608b15abebea45c9b1b4642f7ec167aba0733d5
2021-03-25 16:09:48 -07:00
Sivan Reinstein
7582104cb6 msm: ipa: napi_tx fix for shared events and ipa devote
Update poll state only for EPs with shared evt ring.
Prevent devoting ipa twice incase of irq during tx_napi poll.

Change-Id: I6ae69e17067bdd47d9ac153b04eb86ae1d11199d
Acked-by: Nadav Levintov <nadavl@qti.qualcomm.com>
Signed-off-by: Sivan Reinstein <sivanr@codeaurora.org>
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2021-03-24 18:53:56 -07:00
Chaitanya Pratapa
9a5c0007a8 msm: ipa: use separate event ring for WAN producer
To acheieve better performance use separate event ring
for WAN producer.

Change-Id: I79fcb275f4d578acce7ffedbd85f991646cbfd90
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2021-03-24 18:53:14 -07:00
qctecmdr
fa59f0f1f2 Merge "msm: IPA: Adding ULSO feature." 2021-03-24 01:58:52 -07:00
qctecmdr
629c5b2191 Merge "msm: ipa: enable MPM module" 2021-03-23 15:45:53 -07:00
qctecmdr
99df8abf07 Merge "msm: ipa3: Fix to WLAN compilation issue" 2021-03-23 03:13:30 -07:00
Chaitanya Pratapa
23cb08e81e msm: ipa: enable MPM module
Make changes to enable APQ based target out of 5_1.
Enable IPA MPM module. Make changes to init MPM
from IPA driver to avoid cycling dependency.

Change-Id: Id1e28198305c785d93a39b9093aaa230dfbb9b55
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2021-03-22 09:50:54 -07:00
Amir Levy
1d3d561cdd msm: IPA: Adding ULSO feature.
This is a new feature starting from IPA 5.0.
ULSO - uplink segmentation offload implements
HW IP packets segmentation.

Change-Id: I1d0b70eeb323e4a52c582b5d5d0017817bd14944
Acked-by: Eliad Ben Yishay <ebenyish@qti.qualcomm.com>
Signed-off-by: Amir Levy <alevy@codeaurora.org>
2021-03-21 00:31:36 -07:00