Commit graph

892,382 commits

Author SHA1 Message Date
Pratham Pratap
026280fcfa usb: phy: snps: Return error if driver fails to enable power
Currently driver is not returning any error from the error
handling path if driver fails to enable power for PHY.
This patch adds a check and returns error if the driver
actually fails to set_voltage or fails to enable a particular
regulator.

Change-Id: I5427690602b6152151adee71c6388ce836ab90c6
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
2020-12-01 11:32:20 -08:00
Hemant Kumar
d948568a1f usb: phy: snps: Ensure VDDA regulator is put in HPM
To properly ensure that the vdd regulator is put in the correct
operating mode, it needs to have a call to regulator_set_load()
prior to being enabled. This is crucial for platforms where the
HS PHY is the only consumer of the regulator as it could be
inadvertently left in LPM mode and cause the PHY to not function
properly.

Change-Id: I87815c60f044d854ecc75ac6039fd80c2d3197aa
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2020-11-30 23:51:08 -08:00
Aniket Randive
c03a607b0c ARM: dts: msm: Add macros for QMP USB register offsets on SA8155
Add macro definitions in a dt-bindings header file for all
the QMP USB DP and USB UNI PHY register offsets.

Change-Id: Id04ab6faede01471196d06d6729f97fb1076119f
Signed-off-by: Aniket Randive <arandive@codeaurora.org>
2020-11-24 12:29:46 +05:30
qctecmdr
7af2b002ef Merge "msm: ADSPRPC: Add start and end timer for map and buffer" 2020-11-21 17:20:53 -08:00
qctecmdr
95990aa497 Merge "soc: qcom: glink_probe: Defer SSR unregister" 2020-11-21 17:20:53 -08:00
qctecmdr
6cfa244955 Merge "mhi: core: Disable preemption while processing data events" 2020-11-21 11:50:56 -08:00
qctecmdr
9be27828f5 Merge "mm: memory_hotplug: migration failure info of a page under DEBUG_VM" 2020-11-21 11:50:56 -08:00
qctecmdr
aa06537841 Merge "cnss2: Check device status before suspending PCIe bus" 2020-11-21 11:50:56 -08:00
qctecmdr
41a072792c Merge "net: Kconfig changes to enable sfe feature" 2020-11-21 06:18:44 -08:00
qctecmdr
44d57bb97f Merge "scsi: ufs: update pm_lvl during probe only when current pm_lvl is invalid" 2020-11-21 06:18:44 -08:00
qctecmdr
1f4310e460 Merge "defconfig: sdxlemur: Enable CONFIG_SPMI_MSM_PMIC_ARB{_DEBUG}" 2020-11-21 06:18:43 -08:00
qctecmdr
5183c6e616 Merge "dm verity: correcting logic used with corrupted_errs counter" 2020-11-21 06:18:43 -08:00
Sarannya S
5078b14d69 soc: qcom: glink_probe: Defer SSR unregister
Calling SSR unregister for other peripherals from glink_ssr device remove
call back results in deadlock if multiple SSRs happens in parallel.

SSR unregister is defer to other worker to avoid notifier SRCU deadlock.

Change-Id: Ifa5c461201eec4b4beb8bf405bd0a2904a2cc90f
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
Signed-off-by: Sarannya S <sarannya@codeaurora.org>
2020-11-20 18:41:30 +05:30
Jeya R
e42e8c386e msm: ADSPRPC: Add start and end timer for map and buffer
Get kernel time during start and end of map create
to keep track of time taken to create map. The time
variables are added as member of map struct. Same
time variables are added for buffers also.

Change-Id: I6454f5b60bec1a24a43ea1b7539ec45ba5358f2e
Acked-by: Ekansh Gupta <ekangupt@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
2020-11-20 04:53:23 -08:00
qctecmdr
6a4a49544d Merge "msm: net: Add support to packet threshold events." 2020-11-20 00:08:15 -08:00
qctecmdr
370af6a367 Merge "usb: dwc3: Resume parent before resuming child device while in host mode" 2020-11-20 00:08:14 -08:00
qctecmdr
871acc5263 Merge "mmc: host: Handle config dependencies for cqhci crypto" 2020-11-20 00:08:14 -08:00
Aman Gupta
4c85ebff25 net: Kconfig changes to enable sfe feature
Shortcut forward Engine (SFE) is a software packet accelerator
It depends on packet tuple entries based on conntrack information
The change adds its config entry in net Kconfig.

Change-Id: Ied018e83e26f69682590989242b333754f367556
Signed-off-by: Aman Gupta <amangupt@codeaurora.org>
2020-11-19 21:43:13 -08:00
Nitin Rawat
3b52295bc6 scsi: ufs: update pm_lvl during probe only when current pm_lvl is invalid
As per current code, pm_lvl is read from DT on every probe
during system resume after suspend.

Therefore, rpm_lvl and spm_lvl updated by sysfs will be overwritten
with the pm_lvl read from DT during probe after resume from
system suspend.

To avoid this read pm_lvl from DT only when current pm_lvl
is invalid or during the first ufs probe after boot.

Change-Id: I059d574a81d0e0f7cee8b6492e495819579a2d4c
Signed-off-by: Nitin Rawat <nitirawa@codeaurora.org>
2020-11-20 10:29:02 +05:30
qctecmdr
6151ff0c6a Merge "defconfig: enable QGKI & GKI apis of msm_performance driver" 2020-11-19 20:09:40 -08:00
Subbaraman Narayanamurthy
0d4a229e92 defconfig: sdxlemur: Enable CONFIG_SPMI_MSM_PMIC_ARB{_DEBUG}
Enable SPMI debug bus driver which is useful for writing to PMIC
peripheral registers over debug bus on devices when the fuse is
not blown. While at it, enable CONFIG_SPMI_MSM_PMIC_ARB as well
explicitly though it's selected for sdxlemur already.

Change-Id: I8d04c96efcdb089f8950e57fd1b152cd1cc5a84f
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2020-11-19 20:01:42 -08:00
qctecmdr
e0f5b51058 Merge "clk: qcom: clk-debug: Add support for debug clock API's" 2020-11-19 14:10:19 -08:00
qctecmdr
d4154e6672 Merge "pinctrl: qcom: Add support for Monaco SoC pin control" 2020-11-19 14:10:18 -08:00
qctecmdr
815d09f601 Merge "net: Changes to support Shortcut Forward Engine" 2020-11-19 14:10:17 -08:00
qctecmdr
1d6b783303 Merge "bridge: Add bridge API to access the bridge slave port" 2020-11-19 14:10:16 -08:00
qctecmdr
e61a99a64e Merge "msm: kgsl: Disable gpu_llc flags by default" 2020-11-19 14:10:16 -08:00
qctecmdr
f74ca3bb50 Merge "arm64: defconfig: Enable CRYPTO_SHA1_ARM64_CE algorithm" 2020-11-19 14:10:16 -08:00
Yue Ma
5d627425fd cnss2: Check device status before suspending PCIe bus
Avoid suspending PCIe bus from QMI send put path if device is
already down.

Change-Id: I3ac7e37af3f81ec9f4ad8ae84de111a730a1f90f
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2020-11-19 12:11:08 -08:00
Hemant Kumar
2f8b47007a mhi: core: Disable preemption while processing data events
If data processing of an event is scheduled out because core
is busy handling multiple irqs, this can starves the processing
of MHI M0 state change event on another core. Fix this issue by
disabling irq on the core processing data events.

Change-Id: I4d784d2c343d4a9c50741f3e72df4c373993ae79
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2020-11-19 10:38:55 -08:00
qctecmdr
a8aba15775 Merge "usb: dwc3: add DWC3_CONTROLLER_PULLUP event" 2020-11-19 10:34:33 -08:00
qctecmdr
ac721dc63f Merge "defconfig: sdxlemur: Enable writeable thermal zone trips" 2020-11-19 10:34:32 -08:00
qctecmdr
5c6fcbcc1b Merge "msm: ipa4: mhi qmap flow control pipe definitions for LE" 2020-11-19 10:34:32 -08:00
qctecmdr
15d2f647b5 Merge "defconfig: arm64: Enable DDR cooling device for lahaina" 2020-11-19 10:34:32 -08:00
qctecmdr
6f437f7519 Merge "usb: dwc3: Add support for nominal elastic buffer" 2020-11-19 10:34:31 -08:00
Charan Teja Reddy
9c71673f9e mm: memory_hotplug: migration failure info of a page under DEBUG_VM
Put the migration failure info of a page under DEBUG_VM as most of
the times this info is not required.

Change-Id: I798f0bef9c558a272c6aa94424236d8f65f801dd
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
2020-11-19 21:33:52 +05:30
qctecmdr
a1702cebeb Merge "spi: spi-msm-geni: Clear the RX fifo if FIFO has data after timeout" 2020-11-19 06:55:49 -08:00
qctecmdr
2113e65f7b Merge "drivers: thermal: qmi_sensor: Add support for extended sensor list" 2020-11-19 06:55:48 -08:00
qctecmdr
376dd78d67 Merge "defconfig: Enable USB BAM on sdxlemur" 2020-11-19 03:06:15 -08:00
qctecmdr
bba65054f1 Merge "mm: Kconfig: Add support for config size of purging vmap_area" 2020-11-19 03:06:14 -08:00
qctecmdr
5cc19bc1b5 Merge "sched: Fix "releasing a pinned lock" lockdep warning" 2020-11-18 22:31:08 -08:00
qctecmdr
d9b738bc54 Merge "ion: Check for valid vmids for msm system heap" 2020-11-18 22:31:07 -08:00
qctecmdr
2da0027008 Merge "msm: ipa3: Define ipa_get_wdi_version method" 2020-11-18 22:31:07 -08:00
qctecmdr
4a9a5a5300 Merge "pci: msm: Dump PCIe registers to debug linkdown" 2020-11-18 22:31:07 -08:00
Kishore Sri venkata Ganesh Bolisetty
0162da5ac7 defconfig: enable QGKI & GKI apis of msm_performance driver
CONFIG_MSM_PERFORMANCE_QGKI will enable full functionality of
msm_performance driver on QGKI and minimal functionality on
GKI.

Change-Id: Ie2a2184c9390d904532c4d659d02562c93b7e725
Signed-off-by: Kishore Sri venkata Ganesh Bolisetty <bsrivenk@codeaurora.org>
2020-11-18 09:42:16 -08:00
Ravi Kumar Siddojigari
b649934e08 dm verity: correcting logic used with corrupted_errs counter
Current logic on handling corrupted_errs countes is not considering
DM_VERITY_MAX_CORRUPTED_ERRS limit so correcting the logic.

Change-Id: Ide3f3e6b9d8bec8f02cbb5a72b7d0935bcd87826
Signed-off-by: Ravi Kumar Siddojigari <rsiddoji@codeaurora.org>
2020-11-18 17:25:18 +05:30
qctecmdr
6dd629487f Merge "mmc: core: Add debug enhancement logs" 2020-11-18 01:48:37 -08:00
qctecmdr
070943a3f7 Merge "fsa4480: Resolve euro usb analog headset detect issue after PDR" 2020-11-18 01:48:37 -08:00
Sachin Grover
3c775579c0 arm64: defconfig: Enable CRYPTO_SHA1_ARM64_CE algorithm
This is to enable SHA-1 digest algorithm (ARMv8 Crypto Extensions).

Change-Id: I04146376bbd22682f729f1617ab4dfaae3beda24
Signed-off-by: Sachin Grover <sgrover@codeaurora.org>
2020-11-18 01:14:22 -08:00
Vaibhav Agrawal
ab87b60fa7 mmc: host: Handle config dependencies for cqhci crypto
Add and remove the needed depedencies in the cqhci
crypto drivers on the CONFIG_MMC_CQHCI_CRYPTO
config. This is needed to make driver successfully
compile as a module and be gki compatible.
Add module license and module description for
cqhci-crypto and cqhci-crypto-qti drivers.

Change-Id: I0da29a7d19d2f2606f5c85316ab47c6df73e66d7
Signed-off-by: Vaibhav Agrawal <vagrawa@codeaurora.org>
2020-11-18 00:38:44 -08:00
Pavankumar Kondeti
c83a851f7d sched: Fix "releasing a pinned lock" lockdep warning
WALT requires both src and dst runqueue locks to be held
during migration. So a double_lock_balance() is added
in move_queued_task() before calling set_task_cpu(). However,
releasing the src rq lock, which is pinned is giving a
lockdep warning. Fix this by unpinning the lock before
calling double_lock_balance.

Change-Id: I64dec0701b3467185cf53f311ebb521c6a822e88
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2020-11-18 08:58:35 +05:30