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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>