1
0
Gráfico de cometimentos

661 Cometimentos

Autor(a) SHA1 Mensagem Data
Michael Adisumarta
769eda8373 msm: ipa5: avoid NULL access in qmi_send_req_wait
Avoiding NULL ptr access in ipa3_qmi_send_req_wait function.

Change-Id: I24e9650acfc210868a759a4d964023eebfc9d2d2
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-04-13 19:34:58 -07:00
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
Amir Levy
8bd287bcb4 msm: ipa: add unit tests for NTN3 offload
Add a test suite to test Neutrino 3 hardware offload

Change-Id: I399fdc79dcf0da408ffe41e5638aff1f95461898
Signed-off-by: Amir Levy <alevy@codeaurora.org>
2021-04-11 10:44:56 +03:00
Amir Levy
4d4a72f1da msm: ipa: Add NTN3 debug stats support
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>
2021-04-11 10:44:56 +03:00
Amir Levy
9115a93389 msm: ipa: add NTN3 offload support
Add NTN3 gsi scratch and protocol.
Add NTN3 support in ipa_eth.

Change-Id: I7dde0f21711617770ea31e325db803108d929565
Signed-off-by: Amir Levy <alevy@codeaurora.org>
2021-04-11 10:44:56 +03: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
Chaitanya Pratapa
59d0c3ec7a msm: ipa3: get mhi pre-configure data using new kernel APIs
Channel and event ring doorbell base addresses are PCIe root
complex dependent. Move away from that dependency by using newly
introduced APIs to query those values from MHI driver.

Change-Id: Iac1fcf625287e4b50daf5785106eac414d161826
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
2021-03-19 21:54:56 -07:00
Bojun Pan
dd8ad88cf9 msm: ipa: update the MHI Prime/MHI Proxy API
API update for MHI Prime/Proxy.

Change-Id: I2888468ee9592e1b9045af19ce58205f3c8e5416
2021-03-18 15:56:24 -07:00
qctecmdr
1ab18b622f Merge "ipa: Use hardcoded rule ID for IP_PACKET_INIT_EX IMM" 2021-03-17 10:06:11 -07:00
qctecmdr
97240c1f4b Merge "msm: ipa: fix p1 compile errors" 2021-03-17 00:54:31 -07:00
qctecmdr
44e85bf649 Merge "ipa: Add DL WAN ICMP RT rules" 2021-03-16 13:36:32 -07:00
qctecmdr
1bbddf6609 Merge "msm: ipa: remove redundant check in polling" 2021-03-16 11:48:30 -07:00
qctecmdr
c83cad37aa Merge "ipa: Update the QMI FC request to support 128 endpoints" 2021-03-16 08:53:04 -07:00
Ilia Lin
eb67180a04 ipa: Use hardcoded rule ID for IP_PACKET_INIT_EX IMM
As per the IMM document:
"rule id value of 0x3FF is required
(if not set correctly, filtering stats may be updated)"
for both flt_rule_id and rt_rule_id.
This change assignes hardcoded value to these fields
and avoides API user from changing them.

Change-Id: I132e1171adfbd4f83d6a9307f8957a3df45f0860
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
2021-03-16 09:20:53 +02:00
Michael Adisumarta
abf6caaf9d msm: ipa: fix p1 compile errors
Fixing compile errors on LA.VENDOR.1.0.

Change-Id: I14bb7509bb6840a1ec2ce0ffa585d68bf8886b6b
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-03-15 16:45:12 -07:00
Ilia Lin
06d187dd08 ipa: Update the QMI FC request to support 128 endpoints
A new field was added to the QMI force clear request message
data structure, to accommodate up to 128 possible endpoints.
If this new field is used on newer architectures,
the old field shall be ignored.
This change implements handling of the new field in the
driver code.

Change-Id: I0d75412a7a177e6307477c54c7efcef225e83f78
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
2021-03-15 20:01:02 +02:00
Ashok Vuyyuru
9aeec4c5b7 msm: ipa3: Check channel in right state before access base address
Observing use after free issue during teardown WAN pipe if we
receive the incoming packet. Adding check channel in right state
before access base address.

Change-Id: I29a611693b78637811fe45abea93d9ed3e6f54e5
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
2021-03-15 09:32:02 -07:00
Ilia Lin
caaa50c70a ipa: Add DL WAN ICMP RT rules
Add new entries to the default WAN DL routing table
for ICMP packets. The rules will introduce
the aggregation force close flag in order to improve ICMP latency.

Change-Id: I20c8228d7d07d1ac744f85f9e68cabb75a5f21d0
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
2021-03-15 17:11:52 +02:00
Sivan Reinstein
e90f0bbcbe msm: ipa: remove redundant check in polling
remove redundant check for invalid params
in polling function.

Change-Id: I6bbff7f5504c4ac27b991fbe59923b633922ec64
Acked-by: Nadav Levintov <nadavl@qti.qualcomm.com>
Signed-off-by: Sivan Reinstein <sivanr@codeaurora.org>
2021-03-15 09:37:29 +02:00
Bojun Pan
05f6b458cf msm: ipa: fix the polling state on GSI
Adding the missing change to update the polling state.

Change-Id: Icfd26c17b91cfe62b67a44c27727fff1f14b6943
2021-03-11 09:41:28 -08:00
qctecmdr
41d4c2d74c Merge "msm: ipa: disable gsi flow control for mhi flow control channel" 2021-03-11 03:02:49 -08:00
qctecmdr
4fb261386c Merge "ipa: Enable filtering on test pipes on debug builds" 2021-03-10 09:23:41 -08:00
qctecmdr
7038889f3f Merge "msm: ipa3: Changes to decrease the num_of_chan_allocated count" 2021-03-10 08:44:43 -08:00
Ilia Lin
df14acc05f ipa: Enable filtering on test pipes on debug builds
For the kernel tests we want filtering support enabled
on the test pipes on debug builds.
This change adds new DT HW mode <4> for HW in test mode.
In this mode the test pipes will support filtering.

Change-Id: I75effad603704f41c215385c62b09e46f9a019c8
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
2021-03-10 02:52:36 -08:00
Praveen Kurapati
4ab3b7d997 msm: ipa3: Changes to decrease the num_of_chan_allocated count
Observing gsi assert in SSR scenario due to not decreasing the
num_of_chan_allocated count. Adding changes to decrease the count
in dealloc event ring.

Change-Id: Icc0713c25bc5566c377e46fef2a4feb3feed176a
Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
2021-03-10 11:43:41 +05:30
Bojun Pan
7ed013574a msm: ipa: disable gsi flow control for mhi flow control channel
disable gsi flow control for mhi flow control channel
if modem is already up.

Change-Id: I5d7f63d85fab8372bf4830d1fe1328027a1ab889
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
2021-03-09 17:00:12 -08:00