Add pm-qos latency(i.e CPU-CLUSTER-WFI-LEVEL latency + 1) to be voted
by USB driver to allow only WFI during peak data transfers for msmfalcon
to improve performance.
Change-Id: I40a86a062910253401dc4a59f7ae84c518eebb5e
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
When allocate buffer is used we allocate one huge buffer
with offsets instead of allocating multiple small buffers.
During cache invalidate we pass this big buffer and the
size passed is the size of this big buffer. This causes
performance issue. Instead we now pass the actual offsetted
buffer and smaller individual buffer size for invalidation.
CRs-Fixed: 1096624
Change-Id: Ifad386882e4a404b1e455cc3e11ae0e820d2a577
Signed-off-by: Vaibhav Deshu Venkatesh <vdeshuve@codeaurora.org>
Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
Add required changes to enable to vote for PM_QOS_LATENCY based on
number of interrupts fired during certain duration.
Change-Id: I92ace85ee7fd40c3f33f1b9f7bdd32469d990d84
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Add support for torch mode capability on msm8998 skuk board.
Change-Id: I6d59c7804d0dac5087e9b0e6c4a0cdacb5ddf3db
Signed-off-by: Pengfei Liu <pengfeiliu@codeaurora.org>
Enable context aware dcvs for A512 GPU to handle the commands
from multiple contexts properly. Also enable quirks applicable
for A512.
Change-Id: If51734ae27add47a856ca378faf11e54b81e4dcf
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
Msmtriton reuses msmfalcon coresight device tree
file. Remove the turing-cti node which is not present
in msmtriton.
Change-Id: I67081ccaf7d8c7943f9b2614454d01da77ad7724
CRs-fixed: 1094175
Signed-off-by: Amey Telawane <ameyt@codeaurora.org>
Copying the flash initialization parameters from userspace memory to
kernel memory and in turn checking for the validity of the flash
initialization parameters pointer sent from userspace.
CRs-Fixed: 1091603
Change-Id: I17d57016c254fb6628844a152b0e7d45c0b23b2d
Signed-off-by: Sureshnaidu Laveti <lsuresh@codeaurora.org>
The current gfx ldo driver supports only corner based regulator
operations. The gfx ldo(LDO300) regulator in msmfalcon is CPR
managed and requires support for voltage based regulator operations.
Add voltage based regulator operations for msmfalcon.
CRs-Fixed: 1068294
Change-Id: I510c2fe7f763c8d44c67794c889c687df60398d7
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
Critical interrupt can also get triggerred by FSM health monitoring
logic. Add support to handle this case as well. Program cycle
completion monitoring logic registers.
Change-Id: Ibf74e3cbdb8a7b54cfb93334de6992eda553e7e5
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
In diagfwd_buffers_init() change the memory allocation to
from GFP_ATOMIC to GFP_KERNEL.
This patch also replaces spinlock with mutex to enable device
to go into sleep mode.
Change-Id: I8ea299a4287401a0a01ff7bbdd86c37ccd138480
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
Values stored in etm are lost across power collapse.
Enable the jtag fuses properly that helps in proper
selection of ETM register save/restore.
CRs-fixed: 1056777
Change-Id: I1cbc343ab33a8e639c4aedf0c5e0323f5730a13f
Signed-off-by: Amey Telawane <ameyt@codeaurora.org>
After SSR, observe tones heard with high volume.
compander and hph_mode mixer controls are reset
in post reset callback which will not be in
sync with userspace settings. Avoid reset of
compander and hph_mode controls in post reset
callback.
CRs-Fixed: 1010471
Change-Id: Iacb3e27a35027037613e82e483b10b635d492a75
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Fix a race condition where stream off is triggerred
from userspace at the same time when FD driver
executing interrupt workqueue handler. If streamoff
is completed before workqueue handler, workqueue
handler may access memroy that was released
during streamoff which may lead to crash.
Change-Id: I9650f21d35ab6bfb9030848eac139ab1accc176e
CRs-Fixed: 1093918
Signed-off-by: Pavan Kumar Chilamkurthi <pchilamk@codeaurora.org>
Update slope and offset coefficients for charger die
temperature to compensate for temperature compensation.
Change-Id: Id95a65cefc25174eaf2bcd9b3d97fd8d3e632adb
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>