Commit graph

882,284 commits

Author SHA1 Message Date
Devi Sandeep Endluri V V
01dbe6a77b tcp: Reset tcp connections in SYN-SENT state
Userspace sends tcp connection (sock) destroy on network permission
change. Kernel though doesn't send reset for the connections in
SYN-SENT state and these connections continue to remain. Even as
per RFC 793, there is no hard rule to not send RST on ABORT in
this state. Modify tcp_abort and tcp_disconnect behavior to send
RST for connections in syn-sent state to avoid lingering
connections on network switch.

CRs-Fixed: 2396964
Change-Id: If931fb979e519c474697d82d8c9dbaf0edb626e3
Signed-off-by: Devi Sandeep Endluri V V <dendluri@codeaurora.org>
2020-04-17 03:18:19 -07:00
qctecmdr
ab470e82dd Merge "sched: Improve the scheduler" 2020-04-16 16:49:31 -07:00
qctecmdr
f205d5a440 Merge "cnss2: Enable time sync feature for QCA6490" 2020-04-16 16:49:31 -07:00
qctecmdr
ba398e7818 Merge "interconnect: qcom: lahaina: Use the correct binding for qnm_pcie" 2020-04-16 16:49:30 -07:00
qctecmdr
00e20a4709 Merge "netfilter: Include alarm type timer in idletimer" 2020-04-16 16:49:30 -07:00
qctecmdr
04c75d5d9f Merge "defconfig: holi: Enable holi pinctrl" 2020-04-16 16:49:29 -07:00
qctecmdr
0f383d5ad2 Merge "cnss2: Remove improper runtime PM enablement checks" 2020-04-16 16:49:29 -07:00
qctecmdr
1ddf3853b2 Merge "defconfig: Enable header tests for Lahaina GKI" 2020-04-16 11:22:40 -07:00
qctecmdr
8c3d768ae8 Merge "msm: cvp: Fix NULL pointer error when DEBUG_FS is disabled" 2020-04-16 11:22:40 -07:00
qctecmdr
8e57ec125a Merge "mhi: core: Cache last processed event ring element" 2020-04-16 11:22:39 -07:00
qctecmdr
79cec43dde Merge "mhi: core: Add OOB and DB mode event IPC log and count" 2020-04-16 11:22:39 -07:00
qctecmdr
64091379ee Merge "msm: kgsl: Don't populate the OPP table if it already exists" 2020-04-16 01:40:57 -07:00
qctecmdr
c11b140de7 Merge "ASoC: compress: Avoid race condition in compress drain" 2020-04-16 01:40:57 -07:00
qctecmdr
232c301b54 Merge "usb: f_fs: Clear OS Extended descriptor counts to zero in ffs_data_reset()" 2020-04-16 01:40:57 -07:00
qctecmdr
69c989254f Merge "dt-bindings: clock: Update clock ids of GCC for SHIMA" 2020-04-16 01:40:56 -07:00
qctecmdr
b9651440c2 Merge "usb: dwc3-msm: Revert back to power_supply_by_name() lookup" 2020-04-16 01:40:56 -07:00
qctecmdr
6f2e87c346 Merge "sched: Improve the scheduler" 2020-04-16 01:40:54 -07:00
qctecmdr
37d0a368db Merge "clk: qcom: clk-alpha-pll: Add support for Fabia print registers" 2020-04-15 20:35:59 -07:00
qctecmdr
b448ce7bd1 Merge "arm64: defconfig: Enable LLCC driver" 2020-04-15 20:35:59 -07:00
qctecmdr
6e44585f72 Merge "defconfig: Add initial defconfig fragments for Holi" 2020-04-15 20:35:58 -07:00
qctecmdr
13aa3f4764 Merge "msm: sps: Fix the SPS_DBG macro definitions" 2020-04-15 20:35:58 -07:00
qctecmdr
f4464ff43e Merge "ANDROID: serdev: restrict claim of platform devices" 2020-04-15 20:35:58 -07:00
qctecmdr
5d44961440 Merge "memshare: Rectify sourcing memshare driver for compiling" 2020-04-15 20:35:57 -07:00
qctecmdr
6dfa423a35 Merge "phy: ufs: Add set_mode callback for RUMI UFS PHY driver" 2020-04-15 15:21:57 -07:00
qctecmdr
1abff4a10a Merge "cnss2: Add SRAM mem dump for debug" 2020-04-15 15:21:57 -07:00
qctecmdr
2b861979ae Merge "msm: adsprpc: retrieve table index directly from context ID" 2020-04-15 15:21:56 -07:00
qctecmdr
1ab68dd612 Merge "dt-bindings: iio: Update PMIC5 ADC support" 2020-04-15 15:21:56 -07:00
qctecmdr
c4687c841e Merge "trace: Make ion.h work with KERNEL_HEADER_TEST" 2020-04-15 15:21:56 -07:00
qctecmdr
7bafe03443 Merge "cnss2: Avoid blocking target to reboot or shutdown" 2020-04-15 15:21:55 -07:00
Jordan Crouse
789e044344 msm: kgsl: Don't populate the OPP table if it already exists
If we query the OPP table when it doesn't exist we get an error. If
we populate it again with the same operating points we get an error.
So just skip the table create if it already exists and go with
whatever we have.

Change-Id: Ic0dedbad3d5bd24b35867a82873a6ece555d8314
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-04-15 08:58:40 -06:00
qctecmdr
7e5cfaa6da Merge "net: Indicate whether a socket is a transparent socket" 2020-04-15 04:57:01 -07:00
qctecmdr
172d9b116d Merge "msm: cvp: Re-classification of traces for CVP_DBG" 2020-04-15 04:57:00 -07:00
qctecmdr
fc6304ea75 Merge "defconfig: Enable voltage cooling device for lahaina" 2020-04-15 04:56:59 -07:00
qctecmdr
df03fe156f Merge "um: x86_64: Remove the FRAME_WARN config option" 2020-04-15 04:56:59 -07:00
qctecmdr
2cb2471819 Merge "irqchip: add snapshot of msm_show_resume_irq" 2020-04-15 04:56:58 -07:00
qctecmdr
7367818d85 Merge "usb: dwc3-msm: Use PROP_INPUT_CURRENT_LIMIT to for vbus_draw" 2020-04-15 04:56:57 -07:00
Alistair Delva
09f64ec442 ANDROID: serdev: restrict claim of platform devices
Make the fallback path for claiming platform devices trigger only if a
new module parameter is specified:

  serdev_ttyport.pdev_tty_port=ttyS2

Bug: 146517987
Change-Id: Ibf331ad6e6d8712a405921530f217f7122428b13
Signed-off-by: Alistair Delva <adelva@google.com>
Git-commit: 3a97aabe4f
Git-repo: https://android.googlesource.com/kernel/common/
Signed-off-by: Akash Asthana <akashast@codeaurora.org>
2020-04-15 09:59:14 +05:30
Can Guo
4ebbe15e53 phy: ufs: Add set_mode callback for RUMI UFS PHY driver
This change adds the missing set_mode callback for RUMI UFS PHY driver.

Change-Id: Ib67ebf63690a1d01172d4e9c9a0c253a8595f5fb
Signed-off-by: Can Guo <cang@codeaurora.org>
2020-04-14 18:44:45 -07:00
Hemant Kumar
d8c5bb77e0 mhi: core: Add OOB and DB mode event IPC log and count
Add IPC verbose log to print OOB and DB mode event and
the door bell ring status. Include the DB ring status
in data channel queue API. Add OOB/DB mode counter.
This helps to identify how long MHI host took to ring
the doorbell and how many times these events are getting
triggered. Reset mode_change count in debugfs show API
in order to track this for a given use case.

Change-Id: I2215554bff6d66098a8c7d01f587c1d726443181
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2020-04-14 18:00:25 -07:00
Hemant Kumar
10f4c14b87 mhi: core: Handle RSC minimum credit requirement
After getting OOB driver checks for transfer ring empty
condition and rings the channel ring doorbell without
making sure if there are minimum 8 TREs queued for
GSI to perform DMA. Otherwise there is a possibility of
Host ringing doorbell after OOB with same write pointer
which was already processed in polling mode.

Change-Id: Idda28aadbd1af9b5857db71d98237ef4761427bd
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2020-04-14 18:00:11 -07:00
Bhaumik Bhatt
855fb63bd5 mhi: core: remove firmware loader worker thread
Remove unused firmware loader worker thread as MHI has moved
on to using pre-existing worker thread in order to serialize
the process.

Change-Id: I71349c97680ec1c0bf17e8f37ef8b046487a2b19
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
2020-04-14 18:00:07 -07:00
Bhaumik Bhatt
0bba6b1af5 mhi: core: check for special events at mission mode entry
In some cases, the special purpose event scheduler may not run
if the interrupt comes close to mission mode entry point and if
no suspend/resume activity follows. Do a check to see if any
pending events need to be processed.

Change-Id: Ic3bf22562f250ec4bb46c14f58617c3b0d5de883
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
2020-04-14 17:59:58 -07:00
Bhaumik Bhatt
e3dc5ad381 mhi: core: prioritize handling special purpose events
Some device requested special purpose events can take a long
time to get processed on host. Fix that by moving to dedicated
worker thread.

Change-Id: Ibfe7c56b85cb58b9ee67e41ea1139702d475ffee
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
2020-04-14 17:59:47 -07:00
Hemant Kumar
b5aa51711d mhi: core: Handle firmware load through state worker
Upon power up driver queues firmware worker thread if ee is in PBL.
Firmware worker is blocked with a timeout until state worker gets a
chance to run and unblock firmware worker. In case state worker gets a
chance to run after firmware worker timed out results into endpoint
boot up failure. Fix this issue by directly handling firmware loading
from state worker thread.

Change-Id: Id28c5a3eaa3b8075a7eb0185f7e08f21174e1d0d
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2020-04-14 17:58:38 -07:00
Jack Pham
8f6813196f usb: dwc3-msm: Revert back to power_supply_by_name() lookup
commit af34613293 ("usb: dwc3-msm: Get usb power_supply from
device tree") changed the power_supply_get_by_name() to
get_by_phandle(), however this does not work if the device
pointed to by the phandle registers multiple power_supply
objects (including battery & wireless as is the case for
QTI PMICs) as we are not guaranteed to get back the USB psy.

Hence revert back to using power_supply_get_by_name() for
the named "usb" psy. We can keep using the "qcom,usb-charger"
DT property but just treat it as boolean instead so that we
can support USB controllers that may not be tied to a charger.

Change-Id: Ic7e4c58b096b0d6210cd55f1ff6edf21ffc5b4b1
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2020-04-14 17:43:50 -07:00
Shaleen Agrawal
21fd79c76e sched: Improve the scheduler
This change is for general scheduler improvements.

Change-Id: Icd64897b7ad5fb8fa5afc418aaca48bdfefca2ef
Signed-off-by: Shaleen Agrawal <shalagra@codeaurora.org>
2020-04-14 16:56:11 -07:00
Jordan Crouse
7d29ebb091 defconfig: Enable header tests for Lahaina GKI
Enable KERNEL_HEADER_TEST and for basic sanity testing on kernel headers.

Change-Id: Ic0dedbad786a8ee23a236298e79ad592d92b4193
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-04-14 16:40:51 -06:00
Jordan Crouse
e99d0d6492 soc: qcom: hyp_core_ctl: Move the trace file to the local directory
The hyp_core_ctl trace file uses a structure that is only defined
internally in the file so it does not pass KERNEL_HEADER_TEST in the
global header location. Since it is only used by this one file it
can be safely moved to the local directory.

Change-Id: Ic0dedbad4285ffcc750839ebc673029193733437
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-04-14 16:40:51 -06:00
Jordan Crouse
575fcd24c2 trace: Make ion.h work with KERNEL_HEADER_TEST
Add #<include/device.h> to the ion.h trace file to resolve an undefined
struct warning.

Change-Id: Ic0dedbad134147cc1d02a3d8a8f4fd9a7920b77b
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-04-14 16:40:50 -06:00
Jordan Crouse
706624fee0 includes: Make headers work with KERNEL_HEADER_TEST
Fix up a number of headers to work with KERNEL_HEADER_TEST ahead
of turning it on by default.

Change-Id: Ic0dedbaddba2fa62ec60d93bf3e4ef06ededa4cc
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-04-14 16:40:49 -06:00