summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-10Merge LA.UM.9.12.R2.10.00.00.685.014 via branch 'qcom-msm-4.19-7250' into ↵android-s-preview-2_r0.5android-s-preview-1_r0.5android-11.0.0_r0.95android-11.0.0_r0.86android-11.0.0_r0.81android-11.0.0_r0.76android-11.0.0_r0.66android-11.0.0_r0.57android-11.0.0_r0.56android-11.0.0_r0.47android-11.0.0_r0.46android-11.0.0_r0.33android-11.0.0_r0.32android-11.0.0_r0.27android-11.0.0_r0.26android-11.0.0_r0.18android-11.0.0_r0.16android-11.0.0_r0.115android-11.0.0_r0.105android-11.0.0_r0.100android-msm-redfin-4.19-android11-qpr1android-msm-redfin-4.19-android11-d1android-msm-redbull-4.19-s-preview-2android-msm-redbull-4.19-s-preview-1android-msm-redbull-4.19-android11-qpr3android-msm-redbull-4.19-android11-qpr2android-msm-bramble-4.19-android11-qpr1android-msm-bramble-4.19-android11-d1lucaswei
android-msm-pixel-4.19 Bug: 158429902 Signed-off-by: lucaswei <lucaswei@google.com> Change-Id: I055cafe491df95918248801595c73e3de3cb37ad
2020-06-08Merge branch 'LA.UM.9.12.R2.10.00.00.685.014' into qcom-msm-4.19-7250Robin Peng
Change-Id: Ia0c5f922e4277f047e9e2443378aac38c2e60bf5
2020-05-31Merge d6c991beeff2b0cedd188dac8d04da3900c5c1ea on remote branchLinux Build Service Account
Change-Id: I3b8a3fefcdfa179a9ef3aa6a04b2ce4c006242a0
2020-05-25supporting modularized CONFIG_QCOM_QMI_POWER_COLLAPSEAaron Ding
Bug: 157100899 Change-Id: Ifbe5ec4edffe33a404a6a703bca17f9696da527f Signed-off-by: Aaron Ding <aaronding@google.com>
2020-05-20drivers: rmnet: shs: Fix Error reported in Static AnalysisChinmay Agarwal
NULL check added in "rmnet_shs_wq_mem_init" for "shs_proc_dir" . Change-Id: I75296da8476ee52e4c49dc0e7f8d83ac7568782d Signed-off-by: Chinmay Agarwal <chinagar@codeaurora.org>
2020-05-13Merge LA.UM.9.12.R2.10.00.00.685.004 via branch 'qcom-msm-4.19-7250' into ↵Wilson Sung
android-msm-pixel-4.19 Conflicts: drivers/generic-sw-bridge/generic_sw_bridge.h drivers/generic-sw-bridge/generic_sw_bridge_main.c Bug: 156322859 Change-Id: I77327c1ef30d64164c519c61984a954ec1ad4f14 Signed-off-by: Wilson Sung <wilsonsung@google.com>
2020-05-12Merge branch 'LA.UM.9.12.R2.10.00.00.685.004' into qcom-msm-4.19-7250Robin Peng
Change-Id: Id5c7b76427c4e3368bf16fdd9badec699dc5b158
2020-05-11Merge branch ↵Robin Peng
'LA.UM.9.12.R1.10.00.00.597.048+LA.QSSI.11.0.R1.10.00.00.668.013' into qcom-msm-4.19-7250 Change-Id: Idd409dbc7ff1a4c10f5d12bcab10e0e75980982a
2020-05-07Merge e002315f6197f00982564ff5053ab98dce682e6c on remote branchLinux Build Service Account
Change-Id: I7023fae8568e77f5c922eca8ead81373fd6bf1d8
2020-05-01Merge "drivers: rmnet: shs: Add oom handler"qctecmdr
2020-05-01Merge 20f73a0d9d368f4659047363ac2179778fd2f1b6 on remote branchLinux Build Service Account
Change-Id: Icf378eba710e2afc2534a453cff370197035f2dc
2020-04-29drivers: rmnet: shs: Add oom handlerSubash Abhinov Kasiviswanathan
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>
2020-04-28Merge "rmnet_shs: Change file permissions"qctecmdr
2020-04-24drivers: rmnet: shs: add segmentation levels for slow start flowsSubash Abhinov Kasiviswanathan
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>
2020-04-20rmnet_shs: Change file permissionsSubash Abhinov Kasiviswanathan
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>
2020-04-19Merge 901b28da5ea27d7abc9c462ba370fa4ae2db0795 on remote branchLinux Build Service Account
Change-Id: Ibaeee89297672a67f8fafc00e7936ecbbd6a8810
2020-04-13Merge LA.UM.9.12.R1.10.00.00.597.042 via branch 'qcom-msm-4.19-7250' into ↵lucaswei
android-msm-pixel-4.19 Bug: 153823050 Signed-off-by: lucaswei <lucaswei@google.com> Change-Id: I7ed58db88e7f3bb5c23021d8b0df6ba7701cfb4d
2020-04-13Merge branch 'LA.UM.9.12.R1.10.00.00.597.042' into qcom-msm-4.19-7250Robin Peng
Change-Id: I58f801239dc4d98f395c2ac4fa20e8d5263f3fb1
2020-04-10Merge "drivers: rmnet: shs: Check backlog on all flushes"qctecmdr
2020-04-08drivers: rmnet: shs: Check backlog on all flushesSubash Abhinov Kasiviswanathan
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>
2020-04-08drivers: rmnet: shs: Reduce Max Backlog limitSubash Abhinov Kasiviswanathan
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>
2020-04-06Merge "drivers: rmnet_perf: Avoid recursive spinlock in legacy mode"qctecmdr
2020-04-06Merge "drivers: rmnet_perf: Increase number of flow nodes"qctecmdr
2020-04-05Merge c390153e4f08c5b5fe985a0afc9f73c559ab0441 on remote branchLinux Build Service Account
Change-Id: Id25ecf7fc46c73bb2be6b44e636f5b67190354de
2020-04-01drivers: rmnet_perf: Increase number of flow nodesSean Tranchetti
Allow up to 50 flows to be coalesced by software; Change-Id: I0c578f3c5b65b2826767c4bd7421b585f2125936 Signed-off-by: Sean Tranchetti <stranche@codeaurora.org>
2020-04-01drivers: rmnet_perf: Avoid recursive spinlock in legacy modeSean Tranchetti
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>
2020-04-01drivers: rmnet_perf: Take lock during DL marker handlingSean Tranchetti
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>
2020-03-30Merge "Merge LA.UM.9.12.R1.10.00.00.597.032 via branch 'qcom-msm-4.19-7250' ↵Lucas Wei
into android-msm-pixel-4.19" into android-msm-pixel-4.19
2020-03-26Merge af399a1677059208970e9f71ffa6bccb1f3db770 on remote branchLinux Build Service Account
Change-Id: I7525d69f8ef073f809e40c9f732e2d60c801f0d4
2020-03-23GKI: ANDROID: Fix drivers for wakeup_source_register prototype changeSandeep Patil
The wakeup_source_register() is the only function all wakeup sources must be initiated with starting now. This allows for all wakeup sources to now show up in /sys/class/wakeup/ for userspace to read. This change fixes all current usage of wakeup_source_register() to also add a possible 'struct device' parameter associated with it or use NULL when it doesn't exist. Bug: 129087298 Bug: 151789966 Test: Launch Camera + Take Picture / Record Video Test: Connect to Wifi Network Test: Play Youtube Video Test: USB debugging works Test: Touchscreen / multi touch works Test: Audio playback Test: Battery percentage and power supplies work. Signed-off-by: Sandeep Patil <sspatil@google.com> Change-Id: Ieb6d0a38ff012c9916bb46c238b08070fb98449a
2020-03-23data-kerenl: Remove GSB code from LAAman Gupta
GSB is needed only for MDM PLs
2020-03-18GKI: ANDROID: Replace wakeup_source_init w/ wakeup_source_registerSandeep Patil
This replacement allows for all drivers to have their wakeup sources show up in /sys/class/wakeup. Starting with Android 12 all wakeup sources are read out of sysfs (instead of the old debugfs path). Bug: 129087298 Bug: 151789966 Test: Launch Camera + Take Picture / Record Video Test: Connect to Wifi Network Test: Play Youtube Video Test: USB debugging works Test: Touchscreen / multi touch works Test: Audio playback Test: Battery percentage and power supplies work. Signed-off-by: Sandeep Patil <sspatil@google.com> Change-Id: If3db710b62cc4349bf643f81bfc24c693933af4a
2020-03-18drivers: rmnet: shs: Snapshot of data.lnx.5.1Subash Abhinov Kasiviswanathan
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>
2020-03-18GKI: ANDROID: stop using obsolete wakeup_source_trash() APISandeep Patil
Bug: 151789966 Test: Build and boot Bramble Signed-off-by: Sandeep Patil <sspatil@google.com> Change-Id: I307f1e7929207527dfed4ee02a856b1fd0bd8258
2020-03-16Merge LA.UM.9.12.R1.10.00.00.597.032 via branch 'qcom-msm-4.19-7250' into ↵Robin Peng
android-msm-pixel-4.19 Bug: 151568484 Change-Id: I0c18f24f21d8aef56681ee27104e6ef7ca6b6262 Signed-off-by: Robin Peng <robinpeng@google.com>
2020-03-16Merge branch 'LA.UM.9.12.R1.10.00.00.597.032' into qcom-msm-4.19-7250Robin Peng
Change-Id: If5831fc06c66912239e418f9716e5626d04c82f1
2020-03-11drivers: rmnet_shs: Add Max Backlog switch for TCPSubash Abhinov Kasiviswanathan
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>
2020-03-02Merge 762f7ff9d5f6c3973d3eae970927f43825925aaf on remote branchLinux Build Service Account
Change-Id: I6d7ebdde31577ee6a6a40bb7c81aff262338c6ee
2020-02-24Merge LA.UM.9.12.R1.10.00.00.597.022 via branch 'qcom-msm-4.19-7250' into ↵Robin Peng
android-msm-pixel-4.19 Bug: 149799837 Change-Id: Ie201c378b9a0babea114afabfc3a434701b5ad42 Signed-off-by: Robin Peng <robinpeng@google.com>
2020-02-20Merge "data-kernel: emac: Emac probe end marker"qctecmdr
2020-02-20Merge "drivers: shs: Add filter flow module param"qctecmdr
2020-02-20Merge "drivers: rmnet_shs: Fix invalid mask on vnd creation"qctecmdr
2020-02-20Merge branch 'LA.UM.9.12.R1.10.00.00.597.022' into qcom-msm-4.19-7250Robin Peng
Change-Id: Ib2d4e487fedc8e99ecd7be8ad8cbc99052dcce06
2020-02-18drivers: rmnet_shs: Fix invalid mask on vnd creationSubash Abhinov Kasiviswanathan
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>
2020-02-12data-kernel: EMAC: phy attach optimization.Sunil Paidimarri
Skip phy chip sw reset as we already doing hw reset to improve emac probe time. Change-Id: I2a8696855e97c0b60dfebbe83b9e2bdd6349d24b Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2020-02-11data-kernel: emac: Emac probe end markerLakshit Tyagi
- Add place marker for emac probe end Change-Id: Ia7ba12397dabaa6cfc81c82839458bdea5b08ffd Signed-off-by: Lakshit Tyagi <ltyagi@codeaurora.org>
2020-02-10drivers: shs: Add filter flow module paramSubash Abhinov Kasiviswanathan
Add a module param of currently running consistent flows. This module param will allow a filtered viewed in cases when shs goes into idle mode and when multiple idle flows have been created. Change-Id: I6b9c9b18c30575d2b59dd76814f4b7b2a2953bc0 Acked-by: Raul Martinez <mraul@qti.qualcomm.com> Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
2020-02-10Merge c93506932fc4870b824f8412a34775d37900b04c on remote branchLinux Build Service Account
Change-Id: Ie07e09378d3ecc6ceecd670938711bb46fe17e68
2020-02-10Merge LA.UM.9.12.R1.10.00.00.597.021 via branch 'qcom-msm-4.19-7250' into ↵Robin Peng
android-msm-pixel-4.19 Bug: 149175890 Change-Id: Iaa61c6a267b39aebd317c277fc95935c7d996685 Signed-off-by: Robin Peng <robinpeng@google.com>
2020-02-10Merge branch 'LA.UM.9.12.R1.10.00.00.597.021' into qcom-msm-4.19-7250Robin Peng
Change-Id: I2d934464036d4d6b3a72a465a264ca49f9ed1945