To trigger WLAN host initiated WLAN FW recovery, platform driver
needs to have service notifier handle. Service notifier handle is
obtained only when service locator locates the WLAN user PD. If
service locator doesn't locate the WLAN user PD then service
notifier handle can be NULL. Add sanity check to make sure PDR is
enabled in platform driver before triggering PD restart.
Change-Id: I5524060cc1f4bfff7faf7f3736455beb73801f4a
CRs-fixed: 2012995
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
If two sensors are connected to the same CCI bus they start to
write to this bus asynchronously. In some cases first sensor
will start to write to the bus whle the second sensor call
cci init function. Such race condition causes cci queue timeout
To avoid such race condition cci init needs to be protected
with queue mutexes.
Change-Id: Ie8acf1c6543475a5b0b494c826d4af47573d0db3
Signed-off-by: Iliya Varadzhakov <ivarad@codeaurora.org>
If MHI failed to queue the buffer, do not attempt to re-queue.
Instead wait for transfer completion event and restart
the UL queue.
Change-Id: Id57db52e0eb2e5930ec228a920d109fef941389f
CRs-Fixed: 1055681
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
On memory stress conditions, host could
fails to allocate memory on atomic context.
Schedule a background worker to allocate
memory in such conditions.
CRs-Fixed: 1037593
Change-Id: Ia48b31622fcb043d31d197fab0a84ab40fc5c0ba
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
The debug message does not accurately describe the reason
for rmnet to reschedule the request.
CRs-Fixed: 1016968
Change-Id: I49fa6a0dbdd9dec7a36f5705b9e8d27bc7352286
Signed-off-by: Tony Truong <truong@codeaurora.org>
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
Add the QTimer property to the device tree so that the GPU
can access the QTimer value.
Change-Id: I868724a07d209f5cfe8a7901cf56585818dc71d2
Signed-off-by: Jonathan Wicks <jwicks@codeaurora.org>
Map the GPU QTimer area as a global into the GPU
IOMMU so that the GPU can access the QTimer.
Change-Id: If50bd36681123adde7e3a37644c41316f101154c
Signed-off-by: Jonathan Wicks <jwicks@codeaurora.org>
Enable the DRM KMS/GPU driver for the mediabox configuration.
Change-Id: Ic0dedbadf5d12793c13563059872d2970bea8398
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Enable the various settings to enable A540 DRM/GPU driver on
msm8998.
Change-Id: Ic0dedbadf7d4dbaaa75c24dde64ff13faf1283b9
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Add memset of adm open v5 and v6 structure before
value assignment to avoid warning of uninitialized stack.
CRs-fixed: 1112462
Change-Id: I18681f6b191e96118fde9ae774d105dc6b677858
Signed-off-by: Derek Chen <chenche@codeaurora.org>
Avoid retry logic in swr_startup API as it results
in speaker mute on sdm660 external codec.
CRs-Fixed: 2012814
Change-Id: Ic8876fd6e62081253a46e4e896d154043d5170db
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
"No Snoop" for RX transactions was previously set as a WA for a
PCIe HW issue. As the PCIe HW issue is fixed, the WA no longer
required.
Removal of the "No Snoop" bit will allow enabling DMA coherency
when SMMU is enabled.
Change-Id: I2030ea7182316ae18483ffb79d0a1de4d90f2fda
Signed-off-by: Maya Erez <merez@codeaurora.org>
Save the previous satates of HVX . enable or disable
hvx only if the previous state is different from current state.
Change-Id: I24081d1fccff17a0da26ff213df056c7a1cb6388
Signed-off-by: Senthil Kumar Rajagopal <skrajago@codeaurora.org>
if WARN() is called under spinlock, it will lead crash due to
watchdog timeout. Hence fix it by releasing spinlock before calling
WARN(). And also check cdev->config is NULL or not before calling
WARN().
Change-Id: Iebd00932b94164e9f40aa6126a2352437b1141ed
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Update actuator cci master for aux camera sensor of
SDM660 QRD device.
Change-Id: I9426b6cad5ed162f086b434950d2c854a9ba5223
Signed-off-by: Kui Wang <kuiw@codeaurora.org>
Enable config ARM64_STRICT_BREAK_BEFORE_MAKE to detect
break-before-make violations in set_pte and print a warning.
Change-Id: Idb7f5a7a1e46b6738659931188e143acd31a7ffa
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
There is no bound check on dual_hw_ms_cmd->num_src,
which is coming from userspace
num_src is used as the limit for the for loop.
The max num_src can hold is 255 (type uint8_t).
This implies that i can go upto to 254.
However dual_hw_ms_cmd->input_src can only hold 5 bytes.
So, we may acces out of bound array.
CRs-Fixed: 2006169
Change-Id: If5927e06e70cce4afb0ae9f2cdfec80f76f83771
Signed-off-by: Senthil Kumar Rajagopal <skrajago@codeaurora.org>
TPDM driver is allocating memory for TPDM datasets at two places which
leads to a memory leak issue.
Fix this issue by getting rid of one allocation call.
Change-Id: I9ac26cabe09dcbabeafd5a14aa85fc59a966d4dd
Signed-off-by: Saranya Chidura <schidura@codeaurora.org>
Thermal clients will be monitoring thermistors for
temperature mitigations. Add emmc_therm support for PM660.
Change-Id: I71f109a3a99b5d962c7101f348141a4cae921a8d
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>