Revīziju grafs

708 Revīzijas

Autors SHA1 Ziņojums Datums
qctecmdr
0739e92588 Merge "ipa: Fix dangling HPC entry rndis/ecm composition switch when ULSO enabled in dts" 2021-07-14 11:15:43 -07:00
qctecmdr
daf9ada1b3 Merge "msm: ipa3: add dymaic IPPT SW-flt functionality" 2021-07-13 23:09:22 -07:00
Chaitanya Pratapa
2df5dc79e6 msm: ipa: fix IPA_COALESCE_DISABLE handling
Make changes to populate qmap_id when disabling coalescing.

Change-Id: Iaf0981bd22948b87bb8f9c548fe74e789eaf689c
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2021-07-13 12:47:39 -07:00
qctecmdr
cd6e0937aa Merge "msm: ipa3: add v2x ethernet pipes" 2021-07-13 09:14:53 -07:00
Chaitanya Pratapa
1110aa3cf8 msm: ipa: WAR for ULSO
1. Disable coalescing pipe aggregation timer.
2. Change all pipes resource group to UL (apart from URLLC pipe)
3. Only send force close coalece cmd for tag process.
4. Add dummy register read in tag process IC sequence.
5. Adjust src RSC group settings for UL/DL

Change-Id: I9e94c1bdc7f879a85cbbf3921bff6a04d7901c1a
2021-07-12 22:42:32 -07:00
Skylar Chang
7992c93d83 msm: ipa3: add dymaic IPPT SW-flt functionality
Add the support for user-space module to dynamically
enable or disable IPPT SW-flt lists based on ipv4 or
connection port number to decide traffic going to
ipa offload or not.

Change-Id: I49472f94201c46bc9d9716eb5ff133fb462bf435
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2021-07-12 13:33:36 -07:00
qctecmdr
a0318b2d20 Merge "msm: ipa3: ignore multiple crash" 2021-07-09 14:11:37 -07:00
Armaan Siddiqui
950ff0bdd3 msm: ipa: Don't assert when packet size is large
Earlier IPA was asserting when received packet size
larger than expected, now instead of that we drop
the packet.

Change-Id: I677c59564aa667c93069b8dda370635332bc077c
Signed-off-by: Armaan Siddiqui <asiddiqu@codeaurora.org>
2021-07-09 14:23:04 +05:30
Pooja Kumari
6a9c7c2c36 msm: ipa3: ignore multiple crash
Ignore recursive panic and multiple crash instances.

Change-Id: If76d8bb095fa68979bf6a98929fd4629cc3a9c75
Signed-off-by: Pooja Kumari <kumarip@codeaurora.org>
2021-07-08 23:15:01 -07:00
qctecmdr
b572606090 Merge "msm: ipa: clean up netdev resources in AFTER_SHUTDOWN cb" 2021-07-08 05:55:22 -07:00
qctecmdr
881d30703e Merge "msm: ipa: reorder route rules on wan ron routing table" 2021-07-08 02:50:37 -07:00
qctecmdr
0a34c2f044 Merge "msm: ipa: Remove redundant error logs and warning logs" 2021-07-08 02:11:53 -07:00
Michael Adisumarta
ab6b8a4d6c msm: ipa3: Use vmemdup_user for kernel version 5.10
vmemdup_user has been added to kernel 5.10 symbols
so no need to use memdup_user anymore.

Change-Id: I563da3a1f387ad6a34c28b665686f6e6cd15d6ac
2021-07-07 05:32:20 -07:00
qctecmdr
c25ab41b48 Merge "msm: ipa3: Fix to changes the ring variable type" 2021-07-06 22:52:14 -07:00
Ilia Lin
593bccb51c ipa: Fix dangling HPC entry rndis/ecm composition switch when
ULSO enabled in dts

Rndis/ecm use hpc based header insertion for ulso. HPC entry and
a linked header entry are added on init and removed on destruction
of rndis/ecm. Previously, the HPC entry was left dangling, pointing
to a deleted header entry.

Change-Id: I59ed7ed5ee8b3dd012f3b7d4104370dd6deac60a
Acked-by: Eliad Ben Yishay <ebenyish@qti.qualcomm.com>
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
2021-07-06 10:28:26 +03:00
Piyush Dhyani
8897667934 msm: ipa: Fix KW P1 Issues.
Changes to fix KW issues.

Change-Id: Ie89014fb738e72d4f95f8e44eb139a5fdfecaf92
Signed-off-by: Piyush Dhyani <pdhyani@codeaurora.org>
2021-07-05 16:28:58 +05:30
qctecmdr
eec24e2539 Merge "ipa: Fix overflow in header deletion" 2021-07-02 19:08:25 -07:00
Pooja Kumari
399b24aba0 msm: ipa3: add v2x ethernet pipes
Add cv2x ethernet endpoint configuration changes.

Change-Id: I6d1ac9cb5a282a871722e56f51c7c027b24b6b55
Signed-off-by: Pooja Kumari <Pooja Kumari@codeaurora.org>
2021-07-02 19:11:41 +05:30
Michael Adisumarta
e83b209ad3 msm: ipa: Remove redundant error logs and warning logs
Removing Error logs and Warning logs from rndis and PM module.

Change-Id: Ie993b1d1fe0936eb75bb90c54bf62fd5a848fc5f
SIgned-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-07-01 19:05:49 -07:00
Perry Randise
80b50ead8c msm: ipa3: EoGRE feature fix
Three functional changes:

1) Eogre to uC header corruption (ie. first byte) fixed with this
   change by adding the DUMMY consumer to the IPA's endpoint
   configuration.

2) Removed the ethernet conditional from the reconfigure ep metadata
   reg to override mux-id.

3) Added IPA_PROC_CTX_TLV_TYPE_HDR_ADD tlv back to the
   IPA_HDR_PROC_EoGRE_HEADER_REMOVE process context message.

Change-Id: I08a1af3156724f965ccad5a6c1026ef2e62bc063
Signed-off-by: Perry Randise <prandise@codeaurora.org>
2021-06-30 14:08:40 -04:00
qctecmdr
fc361c9655 Merge "msm: IPA: NTN3 offload BU: modify interrupt moderation values" 2021-06-29 22:31:58 -07:00
Ilia Lin
1b186d274b ipa: Fix overflow in header deletion
During header deletion, if there is a HPC referencing to a header,
and the header is deleted, the later commit will cause
writing garbage values to the HW during commit.

Also adding more security checks in the same flow.

Change-Id: I1f2e42673f030aca622c2b232ac5d463fefc485f
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
2021-06-29 09:50:40 +03:00
qctecmdr
3861667798 Merge "msm: ipa: remove condition to avoid crash in wrap around case" 2021-06-28 21:39:23 -07:00
Ilia Lin
4a9b74c041 msm: IPA: NTN3 offload BU: modify interrupt moderation values
Modify the values used for Tx tail pointer update per completion.

Change-Id: Id6ed8e9d7ca05a8b8611407f05c69633d09a9c82
Acked-by: Eliad Ben Yishay <ebenyish@qti.qualcomm.com>
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
2021-06-28 16:38:48 -07:00
Michael Adisumarta
fca610a919 msm: ipa: reorder route rules on wan ron routing table
Reordering route rule to include low latency rule on top
of the wan routing table.

Change-Id: Ic92e68b1659740d26bc34619921887f60b9d2055
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-06-25 15:20:06 -07:00
qctecmdr
eb16241db6 Merge "msm: ipa: fix the double free for the queue transfer failure" 2021-06-24 16:12:23 -07:00
Michael Adisumarta
a723c6dc69 msm: ipa: remove condition to avoid crash in wrap around case
Rbase ptr and wp can be same in wrap around case, due to which
channel allocation fails and crash occurs.

Change-Id: I3546d77a0c41ea3fc5c86703bc79e6932af35404
Signed-off-by: Armaan Siddiqui <asiddiqu@codeaurora.org>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-06-24 12:48:41 -07:00
qctecmdr
cc367777e8 Merge "msm: ipa: configure right HPS DPS sequence for QDSS PROD" 2021-06-23 16:18:31 -07:00
Michael Adisumarta
5ca2645be4 msm: ipa: fix the double free for the queue transfer failure
Fix the double free cache for the queue transfer failure.

Change-Id: Ife6abe3f4c06e6fc5c5ac15544f040d5c8cc831d
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-06-23 12:56:20 -07:00
Chaitanya Pratapa
287c3d3b84 msm: ipa: clean up netdev resources in AFTER_SHUTDOWN cb
Make changes to clean up netdev resource in AFTER_SHUTDOWN
callback to not delay SSR processing.

Change-Id: I41792d1e6600b8abc4baf60b19982d3043432cf9
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2021-06-22 18:47:38 -07:00
Skylar Chang
c0beeec184 msm: ipa3: fix the debugfs events
Fix the event counts from ipa-driver
to ipacm.

Change-Id: I4bd5f6deaa472bb49a7f34c20200f85323635bcf
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2021-06-22 05:12:35 -07:00
Ilia Lin
1d099c8f21 msm: IPA: ULSO LAN USB - ECM driver change
Support for ULSO LAN USB use case in ecm datapath.

Change-Id: Ia58e95a38f7fef660c37ba73e2a271076df1ff18
Acked-by: Eliad Ben Yishay <ebenyish@qti.qualcomm.com>
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
2021-06-21 18:55:38 +03:00
qctecmdr
33a35a879d Merge "msm: ipa3: Support usb config in pcie mode" 2021-06-18 15:37:11 -07:00
Michael Adisumarta
e0ce40402b msm: ipa: configure right HPS DPS sequence for QDSS PROD
Configure right HPS DPS sequene for QDSS PROD pipe and
configure correct channel property.

Change-Id: Ib06b30b1a12a84962fe260fa36c7e5392ef1439a
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-06-18 14:26:56 -07:00
qctecmdr
2c05da96d9 Merge "ipa3: mpm: remove WARN_ON for security concern" 2021-06-17 17:56:36 -07:00
qctecmdr
504e7ce320 Merge "msm: ipa3: msm: ipa: Update metadata register for ETH" 2021-06-17 03:54:06 -07:00
Pooja Kumari
9b1f0b387e msm: ipa3: Support usb config in pcie mode
Defines new ep config of usb in pcie use case.

Change-Id: I5041c825cef73a0f769b5a219fa25e31590ed41b
Signed-off-by: Pooja Kumari <kumarip@codeaurora.org>
2021-06-17 13:29:08 +05:30
qctecmdr
2eb2091087 Merge "msm: ipa: Add change to fix out of bound access issue" 2021-06-16 22:29:12 -07:00
qctecmdr
f7c5db45dd Merge "msm: ipa3: dynamic change ul/dl ring/aggre/uc-threshold" 2021-06-15 16:31:51 -07:00
Skylar Chang
98048ef0cb msm: ipa3: msm: ipa: Update metadata register for ETH
Update metadata register to pick up metadata value with vlan id
from header of packets for AQC and RTK pipe.

Change-Id: I336adb6fac3c4a633ea5eea802097c4cdecf9e1f
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2021-06-14 22:18:05 -07:00
Michael Adisumarta
b08436c840 msm: ipa: disable rmnet_ll and rmnet_ctl flags for APQ
Disabling rmnet_ll and rmnet_ctl init on APQ target.

Change-Id: I070f362f0eb1ad1c51dc34cdb0eb772c250fc9f9
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-06-14 15:57:00 -07:00
qctecmdr
ecde2909f3 Merge "msm: ipa3: Fix IPA clk is not going to gated state." 2021-06-14 06:09:08 -07:00
qctecmdr
415c2978d5 Merge "msm: ipa: error handling check for flt table check" 2021-06-14 05:25:52 -07:00
qctecmdr
d96f1965a5 Merge "ipa: Fix HPC KW static analysis error" 2021-06-13 18:18:48 -07:00
qctecmdr
322ed51165 Merge "msm: ipa3: Added pdn config type check" 2021-06-13 17:04:53 -07:00
qctecmdr
b0c5084b4d Merge "msm: ipa3: Add check to avoid Quota indication for WLAN" 2021-06-13 16:28:01 -07:00
Praveen Kurapati
dd7d524777 msm: ipa3: Add check to avoid Quota indication for WLAN
Quota indication is not yet supported on WLAN Iface.
Add check to return if the request comes for WLAN Iface.

Change-Id: Ib183d0ed21a87f6f759af8d4e5bc4093dffd9374
Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
2021-06-10 09:34:24 -07:00
Michael Adisumarta
a33c3267ac ipa3: mpm: remove WARN_ON for security concern
Removing the WARN_ON on dmesg due to security
concern to expose device address, change to
use IPA_MPM_ERR in ipc logs for debugging
reference.

Change-Id: I73d5ba9ad43cb43c7eb89801e1131482310b8464
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2021-06-08 17:08:03 -07:00
Michael Adisumarta
8a8748f70f msm: ipa3: dynamic change ul/dl ring/aggre/uc-threshold
This change dynamically sets MHIP ring size ul/dl, aggregation
parameters, uc threshold from debug FS.

Change-Id: Ib189c50de86b01beebcac10c75e0afec56c8da42
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-06-08 17:07:17 -07:00
Michael Adisumarta
9cbd252bc9 msm: ipa: changing to sleep in the range during sdci reset
Changing the sleep range to 1010 - 1050 microsecond if
xdci reset is called after xdci stop.

Change-Id: Ic4aa4c98f61b45cd222b9021e46cc6c00857762c
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-06-07 20:15:46 -07:00