Commit graph

879,496 commits

Author SHA1 Message Date
qctecmdr
3a82802e7b Merge "mhi: core: handle pm error state transition within fast suspend/resume" 2020-03-24 05:33:16 -07:00
qctecmdr
7b19902e1e Merge "bus: mhi_netdev: Free background memory pool during memory free" 2020-03-24 01:37:30 -07:00
qctecmdr
238ae416ca Merge "mhi: core: Synchronize time sync operation and removal" 2020-03-24 01:37:29 -07:00
qctecmdr
876ef7a93a Merge "mhi: core: fix fast forward recycling of event rings" 2020-03-24 01:37:29 -07:00
qctecmdr
bccba79c9f Merge "fbdev: core: Initialise structure to prevent kernel information leak" 2020-03-24 01:37:28 -07:00
qctecmdr
f7f07211e0 Merge "dwc3-msm: Check usb role switch status" 2020-03-23 15:12:36 -07:00
qctecmdr
8537059a43 Merge "mhi: core: Add NULL check in debugfs show callback" 2020-03-23 15:12:35 -07:00
Bhaumik Bhatt
6f55f77a77 mhi: core: handle pm error state transition within fast suspend/resume
During fast suspend/resume, the power management states in MHI
can change to any error state. Allow for it by re-checking and
handling it such that pm states are not lost or over-written in
the process.

Change-Id: I264ae096d20b9752837624dc3a4b3ea6131ad9a6
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
2020-03-23 13:29:32 -07:00
Bhaumik Bhatt
d0a4940862 mhi: core: fix fast forward recycling of event rings
Some low priority event rings operate on a fast forwarding
mechanism where only the latest event is processed and the rest
are skipped. The recycle API only handles updating the
context write pointer in sequence which causes an out of bounds
doorbell issued to the device due to mismatched values. Add
another API to support handling updates for context write
pointer separately with the fast forwarding use case.

Change-Id: If628b49e063d14920fe734ebd113c9c4c733204b
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
2020-03-23 12:58:23 -07:00
Bhaumik Bhatt
cf2a299dea mhi: cntrl: qcom: disable boot logger after forced suspend
Prioritize handling of forced suspend/resume cycle at mission
mode entry and disable boot logger channel after the cycle has
completed to avoid race conditions.

Change-Id: Iddc3d560fa687399434cc8ad51c08509ddfadf70
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
2020-03-23 12:56:24 -07:00
Bhaumik Bhatt
fc22a3ea18 bus: mhi_netdev: Free background memory pool during memory free
Fix freeing the background memory pool to avoid kmemleak as
part of freeing the memory pool.

Change-Id: I29c9d972295900bd0b97c8ab8ee73d668e05a59f
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
2020-03-23 12:53:03 -07:00
Hemant Kumar
1092885dc8 mhi: core: Add NULL check in debugfs show callback
Upon external soc power down mhi controller context pointer
is set to NULL. If debugfs query is issued at that time it
results into NULL pointer dereference. Fix the issue by adding
a NULL check in debugfs show callback for event and channel.

Change-Id: I8c947bc6c42e80c625bf06c17e73368d2195a2bb
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2020-03-23 12:47:06 -07:00
Hemant Kumar
ad557197eb mhi: core: Synchronize time sync operation and removal
If time sync is requested by user space when endpoint is shutting
down dev_wake count gets incremented. This is causing assert when
shutdown API checks the dev_wake count and it is still non-zero.
Fix this issue by protecting time sync API and removal of time sync
under tsync_mutex. This helps to take care of a race condition when
time sync is requested while time sync remove in progress and also
makes sure that dev_wake count becomes zero when time sync remove
is done to prevent assert condition.

Change-Id: I4e758611613e541537dd900306aa81dd3b4a9f3a
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2020-03-23 12:43:16 -07:00
Mayank Rana
0d9ddf2e82 dwc3-msm: Check usb role switch status
If extcon handler is present and dpdm regulator is absent, current
code starts USB state machine without checking usb role switch status.
This results into USB PHY being reset while ADSP firmware is performing
charger detection. This may result into wrong/invalid charger detection
instead of SDP causing no USB enumeration. Fix this issue by checking
usb role switch status before kicking USB state machine.

Change-Id: Ic25083a74ac867eeb3869588c3060e6bf05e4007
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2020-03-23 10:44:22 -07:00
qctecmdr
d548095fbb Merge "defconfig: lahaina: Enable PRIORITIZE_OOM_TASKS" 2020-03-23 09:48:51 -07:00
qctecmdr
96cd181257 Merge "arm64: defconfig: Enable Atmel touchscreen on Lahaina" 2020-03-23 06:12:36 -07:00
qctecmdr
71f2d78136 Merge "msm: ipa: remove ipa and gsi from kernel" 2020-03-23 06:12:36 -07:00
qctecmdr
4a1a3d75a4 Merge "radio: RTC6226: correctly cleanup videodev" 2020-03-23 06:12:36 -07:00
qctecmdr
b7cf7a3061 Merge "arm64: defconfig: enable QPNP AMOLED regulator driver on Lahaina" 2020-03-23 06:12:35 -07:00
qctecmdr
14e3df3b94 Merge "msm: kgsl: use correct load bit value for rbbm perf counter" 2020-03-23 06:12:35 -07:00
qctecmdr
b2632f07d9 Merge "qseecom: Proper handling of unmapping dmabuf" 2020-03-23 06:12:35 -07:00
qctecmdr
e81c5e69bb Merge "defconfig: enable QRNG as a GKI module" 2020-03-23 02:28:05 -07:00
qctecmdr
31e175e3fb Merge "arm: defconfig: Disable serial device bus" 2020-03-23 02:28:04 -07:00
qctecmdr
738fdf4fd1 Merge "slimbus: Add changes to make slimbus GKI compliant" 2020-03-23 02:28:04 -07:00
qctecmdr
3547b7bac6 Merge "devfreq: update sampling window timer limit" 2020-03-23 02:28:04 -07:00
Puranam V G Tejaswi
e6c6009305 msm: kgsl: use correct load bit value for rbbm perf counter
The load bit value used for RBBM_PERFCTR_RBBM_0 is incorrect.
Correct the load bit so that the saved value is loaded into the
desired counter.

Change-Id: Id0c8cb65061ce061ae342f62576ea020553e0f80
Signed-off-by: Puranam V G Tejaswi <pvgtejas@codeaurora.org>
2020-03-23 12:40:01 +05:30
qctecmdr
e0adc58147 Merge "input: misc: qcom-hv-haptics: Add support for V2 HW module" 2020-03-22 22:28:30 -07:00
qctecmdr
d851cf4b5a Merge "soc: qcom: spcom: allow commands for not connected channel" 2020-03-22 22:28:30 -07:00
qctecmdr
aa78dee76c Merge "defconfig: lahaina-qgki: enable qoslat driver" 2020-03-22 22:28:30 -07:00
Liam Mark
08bb7dfade defconfig: lahaina: Enable PRIORITIZE_OOM_TASKS
Enable support for prioritizing the tasks which are killed by the OOM
killer in order to ensure that higher priority tasks (oom_score_adj < 0)
aren’t killed unless there are no other low priority tasks to consider.

Change-Id: I32a82c65146a3c9679e5e7f69ce36aaf1de9155a
Signed-off-by: Liam Mark <lmark@codeaurora.org>
2020-03-22 21:41:44 -07:00
qctecmdr
d6066552e9 Merge "usb: misc: Add USB super speed re-driver support" 2020-03-22 18:51:20 -07:00
qctecmdr
d1687a9807 Merge "defconfig: lahaina-gki: Enable interconnect debugfs test nodes" 2020-03-22 15:13:44 -07:00
qctecmdr
344e8b0e69 Merge "cnss2: Add debugfs support to send WFC call status QMI message" 2020-03-22 15:13:43 -07:00
qctecmdr
6f6eca97d9 Merge "cnss2: Serialize driver unload and idle restart" 2020-03-22 15:13:43 -07:00
qctecmdr
80e708b33b Merge "power: supply: qti-battery-charger: Initialize pmic_glink_client_data" 2020-03-22 15:13:43 -07:00
qctecmdr
b592907498 Merge "PM / devfreq: memlat: fix suspend/resume calls to devfreq_monitor" 2020-03-22 15:13:42 -07:00
qctecmdr
6c710cb348 Merge "msm: kgsl: Make OOB timeouts easier to debug" 2020-03-22 09:47:50 -07:00
qctecmdr
42372239bf Merge "msm: adsprpc: Validate smmu device is created before using it" 2020-03-22 05:55:58 -07:00
qctecmdr
2402446736 Merge "spmi: spmi-pmic-arb: make interrupt support optional" 2020-03-22 05:55:57 -07:00
qctecmdr
20f88c8444 Merge "msm: kgsl: Print always on counters if HFI timed out" 2020-03-22 05:55:57 -07:00
qctecmdr
fbc834683e Merge "arm64: defconfig: Enable QCOM_MEM_BUF on genericarmv8-64" 2020-03-22 02:18:35 -07:00
qctecmdr
5f0a70d39e Merge "arm64: defconfig: Enable BFQ io scheduler on lahaina" 2020-03-22 02:18:34 -07:00
qctecmdr
cd58436e82 Merge "cnss2: Add support for bus bandwidth scale" 2020-03-22 02:18:34 -07:00
qctecmdr
12ead59441 Merge "msm: adsprpc: increase max number of concurrent remote sessions" 2020-03-22 02:18:34 -07:00
Amir Levy
d16c99c721 msm: ipa: remove ipa and gsi from kernel
IPA driver moved to techpack. Remove IPA and GSI folders
from kernel. IPA framework layer replaces IPA driver in the
kernel.

Change-Id: I7a46345db4e2bc6e68f7633dfb4ff8fec5d62668
Signed-off-by: Amir Levy <alevy@codeaurora.org>
2020-03-22 10:30:54 +02:00
qctecmdr
7b0820081a Merge "mm: oom_kill: Support further prioritization of OOM kills" 2020-03-21 22:18:23 -07:00
qctecmdr
eed9635975 Merge "iommu/arm-smmu: Add implementation specific device group matching" 2020-03-21 22:18:23 -07:00
qctecmdr
1db0113172 Merge "mm/Kconfig: Remove dependency on QCOM_MEM_OFFLINE for movable zone" 2020-03-21 22:18:22 -07:00
qctecmdr
ba58d064b5 Merge "soc: qcom: spcom: fix pr_err() missing "name" parameter" 2020-03-21 18:35:33 -07:00
qctecmdr
3d41a73b02 Merge "soc: qcom: spcom: return EINTR on wait interrupted" 2020-03-21 18:35:33 -07:00