Grafico dei commit

646 Commit

Autore SHA1 Messaggio Data
Michael Adisumarta
706a1de8cc msm: ipa3: EoGRE feature
This feature will add support for the encapsulation of Ethernet VLAN
frames in IP/GRE on uplink, while also stripping IP/GRE headers on
downlink.

Change-Id: I33025405f7a5d738be3c86a6f5ec2fdfd4e37395
Signed-off-by: Perry Randise <prandise@codeaurora.org>
2021-06-03 13:51:05 -07:00
Ashok Vuyyuru
6c17392056 msm: ipa3: Decrement the IPA clock in delayed workqueue
While handling the suspend interrupt due aggregation timeout
possible to IEOB interrupt will be delayed. To handle this
scenario adding changes to decrement clock in delays work queue.

Change-Id: I4b9afebf5a9582f6c94aa5a9cd2eb0904b7171b8
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
2021-06-03 01:28:42 -07:00
qctecmdr
f25153074e Merge "msm: ipa: Update TARGET_PRODUCT to TARGET_BOARD_PLATFORM" 2021-06-01 22:26:16 -07:00
qctecmdr
ffde45c394 Merge "ipa: Fix local address if the HPC HW format constructor" 2021-06-01 08:35:36 -07:00
qctecmdr
7e75a41fe6 Merge "msm:ipa: Request QMI BW indication only when tethering is enabled" 2021-05-31 20:58:30 -07:00
qctecmdr
94494ce54f Merge "msm: ipa: update the MHIP rp moderation threshold for APQ IPA" 2021-05-31 20:22:07 -07:00
qctecmdr
2c34341e8d Merge "msm: ipa3: start odl remote-ch based on ODL connect" 2021-05-31 19:46:06 -07:00
qctecmdr
d4884d4f53 Merge "msm: ipa3: Configured new ep for modem throughput." 2021-05-28 15:41:44 -07:00
qctecmdr
419df39937 Merge "msm: ipa: Fix incorrect common bufffer cache size" 2021-05-27 23:12:40 -07:00
qctecmdr
cdcf7c86c2 Merge "msm: ipa3: set HOLB on eth-tx when getting disconnect" 2021-05-27 17:52:26 -07:00
Ilia Lin
ff23cca006 ipa: Fix local address if the HPC HW format constructor
Add SRAM base to the SRAM header address before passing it
to the IPA HW.

Change-Id: If96f8ab471eb099c1c4d76b537a37bf20a58d7f6
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
2021-05-27 09:08:59 -07:00
qctecmdr
f872c588bd Merge "msm: ipa: remove error log while updating curr poll state" 2021-05-26 16:01:18 -07:00
Skylar Chang
505dfdefed msm: ipa3: set HOLB on eth-tx when getting disconnect
Seeing IPA HW-stall with eth cable plug-out due to
eth-client was not able to drain out the pkts, made
the change to enable holb drops on eth-tx pipes when
getting eth_client_disconn_pipes from eth-driver.

Change-Id: Ifc795435e011f78f426c8db0e1d3ca3e0e74e806
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2021-05-26 11:42:12 -07:00
Piyush Dhyani
bd4165c96b msm: ipa: Fix incorrect common bufffer cache size
"ipa3_replenish_rx_cache" would skip the new buff allocation,
in that case "wlan_comm_total_cnt count" update is not
expected. wlan_comm_total_cnt count needs to be updated based
on new "len" and previous "len" (rx_len_cached).

Change-Id: Iacd15d39e48d2948806d0edfe51d6b328116681d
Signed-off-by: Piyush Dhyani <pdhyani@codeaurora.org>
2021-05-26 19:46:13 +05:30
Piyush Dhyani
9872fb01ae msm: ipa3: Configured new ep for modem throughput.
For measuring modem throughput initialize new
ep and configure HOLB and drop stats on that
ep.

Change-Id: Ic218877f7301c6d182742de2e0645f53ac5d7528
Signed-off-by: Piyush Dhyani <pdhyani@codeaurora.org>
2021-05-26 18:14:14 +05:30
qctecmdr
f115ffef7a Merge "msm:ipa: add debugfs nat table move capability" 2021-05-25 23:47:55 -07:00
qctecmdr
c5c5168f14 Merge "msm: ipa: add NAT table move QMI messages" 2021-05-25 23:11:09 -07:00
Michael Adisumarta
a756f7894a msm: ipa: remove error log while updating curr poll state
Remove the rate limitted error log when unexpected client
received on update current poll state.

Change-Id: I60123b88fa43655e107ea238c5cc2d958d9ffe65
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-05-25 12:16:30 -07:00
Armaan Siddiqui
6e398da743 msm: ipa: Update TARGET_PRODUCT to TARGET_BOARD_PLATFORM
Update Target Product to TARGET_BOARD_PLATFORM

Change-Id: If9d61997dc9b6aa684679547108fc5528c36255e
Signed-off-by: Armaan Siddiqui <asiddiqu@codeaurora.org>
2021-05-25 10:44:53 +05:30
Michael Adisumarta
9acc9ed2d9 msm: ipa3: Send actual DL flt rule to Q6
Currently max length size of DL flt rule is
sent to Q6. But 64K memory allocation is not
always guaranteed. Send actual size of DL flt rule
to Q6 to avoid memory error and install flt rule.

Change-Id: Id5f7bbb616c23feb6efbacd288f790432156630b
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-05-24 12:09:02 -07:00
Ilia Lin
b9215fe424 ipa-kernel-tests: Add HDR insertion for distributed table
The header table is now distributed dynamically between
SRAM and DDR. Adding new tests validating this feature.

Change-Id: Id5312c6f5d36659b0232310674bda3947647a4fc
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
2021-05-24 10:21:11 +03:00
qctecmdr
87909f14fd Merge "ipanat: move NAT table on request from modem" 2021-05-23 12:10:55 -07:00
qctecmdr
5e39019863 Merge "msm: ipa: fix page_recycle_cnt array size" 2021-05-20 20:04:22 -07:00
qctecmdr
ad073dd8ed Merge "msm: ipa: fix to MHIP LPM mode" 2021-05-20 19:20:17 -07:00
qctecmdr
76f2b86821 Merge "msm: gsi: Add debug code for Flow Control" 2021-05-20 18:08:58 -07:00
Amir Levy
3b421c7536 ipanat: move NAT table on request from modem
On request from modem move NAT table to DDR only
or back to hybrid mode. send QMI indication when
transition has finished.

Change-Id: I6d7fd5576519016da5b99e13e7019a925109244a
Signed-off-by: Amir Levy <alevy@codeaurora.org>
2021-05-20 10:59:12 +03:00
Amir Levy
8ff9623252 msm:ipa: add debugfs nat table move capability
Enable moving the NAT table to DDR\SRAM and vice versa
by debugfs.

Change-Id: I4818e790db7703d9c71ed8b0eb98564a918e86db
Signed-off-by: Amir Levy <alevy@codeaurora.org>
2021-05-20 00:17:08 -07:00
Amir Levy
7aa6f5f716 msm: ipa: add NAT table move QMI messages
Add NAT table move request and response messages. On
QMI request from Modem send message to IPACM to move
NAT table from HYBRID mode to DDR only and vice versa.
Add IOCTL to allow IPACM to send indication to modem
about NAT table move complete.

Change-Id: I0c0031be7309bdf81e201dd41227e2d802e6e7b0
Signed-off-by: Amir Levy <alevy@codeaurora.org>
2021-05-20 00:16:22 -07:00
Sivan Reinstein
5b713d37b0 msm: gsi: Add debug code for Flow Control
Increase timeout while waiting for FC command to complete.
For enable FC command wait longer in case PENDING bit is set.

Change-Id: I6d4443b1688d2ae426079638216829a4ddb30d94
Acked-by: Nadav Levintov <nadavl@qti.qualcomm.com>
Signed-off-by: Sivan Reinstein <sivanr@codeaurora.org>
2021-05-20 09:14:08 +03:00
Michael Adisumarta
685be554e1 msm: ipa: fix page_recycle_cnt array size
Increase the array size to include recycle count for
LL pipe as well.

Change-Id: I607067d01fc4fd2c756f36ebea965cbe37666cb2
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-05-19 17:04:07 -07:00
qctecmdr
95ca49f517 Merge "ipa-kernel-tests: Pull latest changes" 2021-05-18 11:35:56 -07:00
Ashok Vuyyuru
bc67a6408e msm: ipa3: Fix to save sgt table info in proper context
Sg table tables are not contiguous page due to this while copying
total sg table it failing. To avoid this copying the each sg
table individually

Change-Id: I08dfceaaee674ab642126c42d6978af5749d9909
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
2021-05-17 15:44:17 +05:30
qctecmdr
089976fc29 Merge "msm: ipa3: Changes to read the halt command return code after some delay" 2021-05-14 00:52:38 -07:00
qctecmdr
eacf46ce27 Merge "msm: ipa: update IPA clock plan for 5.0" 2021-05-13 22:52:36 -07:00
qctecmdr
199beb54af Merge "msm: ipa: fix for common event ring size" 2021-05-13 17:35:58 -07:00
Michael Adisumarta
9eea7feb1c msm: ipa: fix for common event ring size
When common event ring size is used, event ring memory is shared
across the pipes. Make changes to not increase the descriptor
fifo memory for pipes which use common event ring.

Change-Id: I3b93c8074c8c85eca2f04f18057dad6bfa7a8581
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2021-05-13 12:06:56 -07:00
Ashok Vuyyuru
797b181281 msm: ipa3: Changes to read the halt command return code after some delay
In some cases for updating the return code in SCRATCH register taking
time after raising the global interrupt. Adding changes to wait for
some time read the SCRATCH register again and also printing the
test bus registers and Q6 channel state in failed scenario.

Change-Id: I4112a2290739daa79629f718d9725258518aba4c
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
2021-05-13 11:59:29 +05:30
Bojun Pan
d71131b194 msm: ipa: add ipa pkt threshold functionality
ioctl interface to config the pkt threshold.

Change-Id: I71c037d17d14283bdcf456a255259fca42040821
2021-05-12 14:46:30 -07:00
Bojun Pan
358648ec10 msm: ipa: revert "add ipa pkt threshold functionality"
This reverts commit c1c1fd1cf3.

Change-Id: Ice7ace5dbd7d3bfdf9fc6280cdefa8ab5d806932
2021-05-12 14:36:42 -07:00
qctecmdr
fc1ef37e26 Merge "ip-accelerator: Add kernel-test to verify dynamic FLT table move" 2021-05-12 07:50:01 -07:00
qctecmdr
37553a788a Merge "msm: ipa: Clear IEOB for stopped channels with MSI IRQ" 2021-05-12 06:21:23 -07:00
qctecmdr
607b84c377 Merge "msm: ipa: enable multi queue on rmnet_ipa0" 2021-05-12 05:45:14 -07:00
qctecmdr
bb7b7dc551 Merge "msm:ipa: don't assert on wrong flt parameters" 2021-05-12 05:07:33 -07:00
Sivan Reinstein
aad6531b8d ip-accelerator: Add kernel-test to verify dynamic FLT table move
Verify dynamic move of FLT table between SRAM and DDR

Change-Id: Ib4d3248697dc7c9d484163cbf827e809697b8c84
Acked-by: Nadav Levintov <nadavl@qti.qualcomm.com>
Signed-off-by: Sivan Reinstein <sivanr@codeaurora.org>
2021-05-12 12:15:04 +03:00
qctecmdr
506114ab6c Merge "msm: ipa4: Add changes to support PCIe addr for WDI2 over GSI" 2021-05-11 23:05:28 -07:00
Sivan Reinstein
2a9bd8f3af msm: ipa: Clear IEOB for stopped channels with MSI IRQ
Clear IEOBs as part of CH stop for channels with MSI IRQ type

Change-Id: I7b9af7f385b0876fc2f43314bd3588110911a021
Acked-by: Nadav Levintov <nadav@qti.qualcomm.com>
Signed-off-by: Sivan Reinstein <sivanr@codeaurora.org>
2021-05-11 22:51:29 -07:00
qctecmdr
84a087fefa Merge "msm: ipa4: Enable dynamic switch between WDI2 and WDI3" 2021-05-11 22:27:35 -07:00
qctecmdr
56f3b1c620 Merge "msm: ipa3: new low latency data pipes support" 2021-05-11 21:50:59 -07:00
qctecmdr
23bbb03606 Merge "IPA: ipa3_tx_dp remove redundant variable" 2021-05-11 13:28:48 -07:00
Amir Levy
8f6db82c32 IPA: ipa3_tx_dp remove redundant variable
Removing a variable which was only set to NULL and later "freed".

Change-Id: I4973f8f2850669b9092eddee6d4179ab2089f227
Acked-by: Eliad Ben Yishay <ebenyish@qti.qualcomm.com>
Signed-off-by: Amir Levy <alevy@codeaurora.org>
2021-05-11 06:19:33 -07:00