Age | Commit message (Collapse) | Author |
|
into android-msm-pixel-4.14
Bug: 189072771
Signed-off-by: JohnnLee <johnnlee@google.com>
Change-Id: Ib31408da89e8abe757189840164536b6246b2bbd
|
|
Change-Id: Ie52cd28ef37eea973ffc252682e5d026de842138
|
|
android-msm-pixel-4.14
Conflicts:
drivers/emac-dwc-eqos/DWC_ETH_QOS_yheader.h
drivers/rmnet/shs/rmnet_shs_wq.c
Bug: 182255618
Change-Id: I0f714fea8500701efe1c717b3f94686796c88fe8
|
|
Change-Id: Ic460de7770bb9b37ef0515f29951a55ae3a1140b
|
|
RPS script support to install the RPS setting as per target.
Change-Id: Ib5ebb73f620b307508d6f4eeeb87eda0c0bcda4b
|
|
Change-Id: Ia0340a65398bf3996dc1a3393346261a7e6ef47a
|
|
Remove double dereference to get segs_per_skb.
This should prevent a null dereference is node is invalid.
Change-Id: I6f199457088c9f33d69192dd24360b95718db54d
Acked-by: Raul Martinez <mraul@qti.qualcomm.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
|
|
Change-Id: I6d05f236a2a497aa5b050800f0cbdd724b7a21c4
|
|
Change-Id: Iaeef7c1bdc0a6c5a8b0b21653a69e498c3ddf3cc
|
|
Avoid setting the gso info when there is only one segment in
an SKB.
Change-Id: I666fac9500caef5fb9b82b7678df533de9213663
Acked-by: Ryan Chapman <rchapman@qti.qualcomm.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
|
|
Copy the gso_type in segmented SKBs to avoid warning of
packets not being able to be forwarded.
Change-Id: I163b00233439edead2508f63766d3531053bd57b
Acked-by: Ryan Chapman <rchapman@qti.qualcomm.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
|
|
Previously hstat node was not being cleared correctly.
This change correctly resets segmentation field to prevent
the stale field from being used on a recycle.
CRs-Fixed: 2699690
Change-Id: Ie9d6b5f64d2e94d8a8c3fb99fdcee1b13ae2ec6d
Acked-by: Raul Martinez <mraul@qti.qualcomm.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
|
|
Bug: 149536833
Change-Id: I106366dcc7a77197807409318eb55402104679dc
Signed-off-by: Wilson Sung <wilsonsung@google.com>
|
|
android-msm-pixel-4.14
Conflicts:
drivers/emac-dwc-eqos/DWC_ETH_QOS_yheader.h
drivers/rmnet/shs/rmnet_shs_wq.c
Bug: 155859424
Signed-off-by: Wilson Sung <wilsonsung@google.com>
Change-Id: Ia233ce675f3ffea5de23e0e146199f9da937abd4
|
|
Low memory handler in shs is in atomic context so prevent
the disabling of bottom halves.
Change-Id: I0eae18f8876edddd964346fee5b6b39af952d6fa
Acked-by: Raul Martinez <mraul@qti.qualcomm.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
|
|
Change-Id: I71fb209d29e14d0f3a95c9a2a6b5c4a9943a06da
|
|
NULL check added in "rmnet_shs_wq_mem_init" for "shs_proc_dir" .
Change-Id: I75296da8476ee52e4c49dc0e7f8d83ac7568782d
Signed-off-by: Chinmay Agarwal <chinagar@codeaurora.org>
|
|
android-msm-floral-4.14
Bug: 155859424
Change-Id: I0a01d96563211cfa85f3822527dbed8039f83de5
Signed-off-by: Wilson Sung <wilsonsung@google.com>
|
|
Change-Id: I9bf50b7deba8eb0b44c05d1567a990f0424e99d6
|
|
|
|
Add RX packet drops when out of memory reaper runs.
Remove WQ_MEM_RECLAIM from rmnet_shs_wq.
Change-Id: I4b9ff4762be272ca162beb9aa691db1c29467cbf
Acked-by: Raul Martinez <mraul@qti.qualcomm.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
|
|
Change-Id: I7fee54d46b8684a9d863bf7a9bf81390e07afa71
|
|
|
|
Adds various levels of segmentation for flows in TCP slow start.
Instead of segmentation causing all packets to be 1500 bytes,
we will control how much larger packets get broken up by
passing segs_per_skb, which indicates how many MTU sizes packets
should be in the newly segmented SKBs. i.e. segs_per_skb = 2
means 2*MTU can be passed in a segmented skb.
Change-Id: I422a794f3b1d3f2e313ce8f89695a536984cd947
Acked-by: Ryan Chapman <rchapman@qti.qualcomm.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
|
|
android-msm-floral-4.14
Bug: 152368391
Change-Id: Ife9545fb8abb9ab82b2d44370e0b8dbee0103269
Signed-off-by: Wilson Sung <wilsonsung@google.com>
|
|
Remove the root user and group permissions from the proc files.
CRs-Fixed: 2668115
Change-Id: Ib0b9502db4d52c20554e19762d72afd05c7b1532
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
|
|
Change-Id: I0676bb33de92d5d5d5b8ad22cee9ca7e835a1a8a
|
|
|
|
Checking for backlog will no longer occur for
only cpus with segmented flows. Backlog NET_RX switching
will now be checked for on every silver CPU regardless if
segmented flows are available.
Change-Id: Ic6912e9c3ddd719cb9b0f5b13609ba7161d31b1f
Acked-by: Raul Martinez <mraul@qti.qualcomm.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
|
|
Some small OOO packets were still seen in extreme cases.
Reducing the backlog limit threshold slightly.
Change-Id: I9ccd09445d521e94879bef5cba2041702086e83d
Acked-by: Raul Martinez <mraul@qti.qualcomm.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
|
|
Change-Id: I6e141612f0aa7319272685bcaedf938116f8be30
|
|
|
|
|
|
Allow up to 50 flows to be coalesced by software;
Change-Id: I0c578f3c5b65b2826767c4bd7421b585f2125936
Signed-off-by: Sean Tranchetti <stranche@codeaurora.org>
|
|
Commit 56901a4a6639 ("drivers: rmnet_perf: Take lock during DL marker
handling") locks the DL marker handling to ensure synchronization. When
rmnet_perf handles deaggregation of QMAP frames, this will result in
attempting to take the lock recursively, as the lock will already be held
by the deaggregation logic.
Change-Id: I731574ed56e770193c9b094758d7f4119ef91781
Signed-off-by: Sean Tranchetti <stranche@codeaurora.org>
|
|
Since handling DL markers can result in flushing the various flow nodes,
the rmnet_perf lock must be taken to ensure synchronization with the
rest of the driver. During hotplug scenarios, a regular flush could be
going on while a DL marker handling callback is invoked. In certain cases,
the callback can proceed farther than it should, and send a second pointer
to a previously flushed descriptor down the call chain. This phantom
descriptor can cause various problems, but the most "common" case seen
is a NULL dereference such as the following:
rmnet_frag_deliver+0x110/0x730
rmnet_perf_core_send_desc+0x44/0x50 [rmnet_perf]
rmnet_perf_opt_flush_single_flow_node+0x220/0x430 [rmnet_perf]
rmnet_perf_opt_flush_all_flow_nodes+0x40/0x70 [rmnet_perf]
rmnet_perf_core_handle_map_control_start+0x38/0x130 [rmnet_perf]
rmnet_map_dl_hdr_notify_v2+0x3c/0x58
rmnet_frag_flow_command+0x104/0x120
rmnet_frag_ingress_handler+0x2c8/0x3c8
rmnet_rx_handler+0x188/0x238
Change-Id: I79cb626732358c827d6c9df4239c0c55821bd3a5
Signed-off-by: Sean Tranchetti <stranche@codeaurora.org>
|
|
Change-Id: I73033efb6a6ec59825cc40967cc348e8c05e6df1
|
|
Bug: 149536833
Change-Id: I08a58cb15fed67b2a41d51fdee7f3b20ed541dd4
Signed-off-by: Wilson Sung <wilsonsung@google.com>
|
|
Change-Id: I59341cd10deaf65dfaaa8307d1c01b1dfa2e015a
|
|
GSB is needed only for MDM PLs
|
|
Change-Id: Iacc25275348ec8ab156b20243c6b15fdac4fcf28
|
|
Snapshot of shs driver on data.lnx.5.1 up to the following
change id.
drivers: rmnet: shs: Unrevert Deadlock fix
I1307d82ffa12d0cc1115baa25a19df8ada924e89
Change-Id: I868f2fff8a90d1e99860803c994cee0f69af60b2
Acked-by: Raul Martinez <mraul@qti.qualcomm.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
|
|
Change instant rate timer to rely more on byte limit counts.
Add backlog limit to loaded core metric that will only be active
when a slow start flow is on the cpu. This type of NET_RX switch
will also have a longer core switch timer.
Change-Id: I414db0d10c1b72d54df25138bd8adf0902357847
Acked-by: Raul Martinez <mraul@qti.qualcomm.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
|
|
Change-Id: Icb6c973a2d6c4282156c1836605aabb0d10bf785
|
|
|
|
|
|
|
|
For a time after a vnd is created, the shs internal map_mask is updated
to an invalid state. If this happens during data transfer it could cause
invalid cpu states.
This fix will cause the map_mask to only take into acount already initialized
vnd rps values.
Fixes the following-
Unable to handle kernel write to read-only memory at virtual address ffffff99a0b5484c
pc : rmnet_shs_flush_lock_table+0x264/0x688 [rmnet_shs]
lr : rmnet_shs_flush_lock_table+0x238/0x688 [rmnet_shs]
Call trace:
rmnet_shs_flush_lock_table+0x264/0x688 [rmnet_shs]
rmnet_shs_chain_to_skb_list+0x320/0x340 [rmnet_shs]
rmnet_shs_assign+0x980/0x1290 [rmnet_shs]
rmnet_deliver_skb+0x240/0x410
rmnet_frag_deliver+0x618/0x778
rmnet_perf_core_flush_curr_pkt+0x12c/0x148 [rmnet_perf]
rmnet_perf_tcp_opt_ingress+0x88/0x268 [rmnet_perf]
rmnet_perf_opt_ingress+0x348/0x398 [rmnet_perf]
rmnet_perf_core_desc_entry+0x128/0x180 [rmnet_perf]
rmnet_frag_ingress_handler+0x3a8/0x578
rmnet_rx_handler+0x230/0x400
__netif_receive_skb_core+0x518/0xd60
process_backlog+0x1d4/0x438
net_rx_action+0x124/0x5b8
__do_softirq+0x2f8/0x5d8
irq_exit+0xec/0x110
handle_IPI+0x1b8/0x2f8
gic_handle_irq+0x10c/0x1d0
el0_irq_naked+0x50/0x5c
Change-Id: I4c10ebb83140eb14ee3b643d057e3de29dfa851b
Acked-by: Raul Martinez <mraul@qti.qualcomm.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
|
|
android-msm-floral-4.14
Bug: 149660093
Change-Id: Ibc0260e3160dd1a4b421b2559312bc16a5c0c7d8
Signed-off-by: Wilson Sung <wilsonsung@google.com>
|
|
Change-Id: Ibf8e4f1ea80214c92cc710655b962f2abbaa00a5
|