Add GSI profiling stats data and the GSI FW version to debug fs.
Change-Id: I5749339f5ec9656e636a512668025bb09a97a3ec
Acked-by: Nadav Levintov <nadavl@qti.qualcomm.com>
Signed-off-by: Sivan Reinstein <sivanr@codeaurora.org>
Add AQC head_ptr_wrb_mod_threshold to gsi event scratch
and configure according to required value.
Change-Id: Ie1234d76b20fe9e17d5a0a295f748a5876ef4ddd
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Remove the gsi type pending irq check for MHI target.
We observe the HW generating the pending IEOB irq for DMA SYNC channel
as well as MHI UL channel.
Change-Id: Ib578e3e7fcf58e7cc20501994a35f14d98eda1b6
Update IPA SRAM mapping to accommodate with RQoS Q6
changes. Modem memory is increased and NAT table moved
after modem memory to allow it to expend once needed.
Change-Id: I803693f2a337abb2f7219e6de48d25a57111df5b
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Make changes to vote for right IPA clock frequency for
targets with IPAv5.1 and above.
Change-Id: I156b0ff0886133f8d46b692c99543bc9912d05b0
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
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>
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>
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>
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>
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>
Rate limitting the warning if client doesn't have
callback.
Change-Id: I09b02181e4c34ecf342e150de76eace9341a0c0a
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
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>
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>
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>
Adding wrapper API to support PM
approach for WLAN.
Change-Id: I8c234f71ff4a254dcbd9d68add893d439bcfb0cb
Signed-off-by: Piyush Dhyani <pdhyani@codeaurora.org>
Add a test suite to test Neutrino 3 hardware offload
Change-Id: I399fdc79dcf0da408ffe41e5638aff1f95461898
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Add debugfs support for NTN3 stats.
Collect stats from uC add print from debugfs.
Change-Id: Iaf31beedb7403ee924a170f3b6c45ce0b78b7680
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Add NTN3 gsi scratch and protocol.
Add NTN3 support in ipa_eth.
Change-Id: I7dde0f21711617770ea31e325db803108d929565
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Make changes to add support for data warning limit.
Change-Id: Ifb80a4b5c8d2c15e39e75c084d149ab754613481
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Return failure when default wan rt table installation fails.
Change-Id: Ia050a06ac7d99ad1dd097b8a88dc7d0133d2825f
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
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>
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>
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>
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>