Change dmesg print for ddr cap frequency driver.
Change-Id: I2d660f51596dc6c309ad932b543c7c030b1b04cb
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
When the device operates in full speed mode, the CONNECTSPD field
vaue is 1. Using bitwise & operator on this value for super speed
check results in full speed being erroneously calculated as super
speed. Fix this by comparing the absolute value of CONNECTSPD for
super speed check.
Change-Id: I2bf497748f621b1982aecda55a9a280d93f84858
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
With the default DPOLICY_BG discard thread is ioaware, which prevents
the discard thread from issuing the discard commands. On low RAM setups,
it is observed that these discard commands in the cache are consuming
high memory. This patch aims to relax the memory pressure on the system
due to f2fs pending discard cmds by changing the policy to DPOLICY_FORCE
based on the nm_i->ram_thresh configured.
Change-Id: I01b692df6f0ecdf92e316d3cea764d87d5f73ffe
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
On virtualization platform, cpu frequency is controlled by host.
Enable fake cpufreq driver for guest.
Change-Id: Ief774fede1c2a5bf5db62b28a53d3650c4d5854d
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
When creating a timeline allocate an ID but don't populate the slot
with the timeline pointer until we are done initializing the timeline.
This avoids a race if somebody tries to free the same identifier before
the create operation is complete. Also, correct kgsl_timeline_by_id
function by doing idr_find and refcount increase under same lock. This
eliminates the chance that a timeline will be destroyed while somebody
is still using it.
Change-Id: Id894baac1bbd6042f668ea4afca39fae3b5a2d86
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
The change is for general scheduler improvement.
Change-Id: Ib5d58c23d3a67a81d682e08e58f308e5c659a7f8
Signed-off-by: Kishore Sri venkata Ganesh Bolisetty <bsrivenk@codeaurora.org>
Check PCIE link status before accessing MHI registers at DRV
resume to overcome NOC error.
Change-Id: I796e22797d91fba69e258addd0a73b04a7146d80
Signed-off-by: Vivek Pernamitta <vpernami@codeaurora.org>
Applications have no chance to destroy timelines if crash. This change
could clean isolated timelines.
Change-Id: If15a5b8f5f45c6c6b051fcaea81bf51c2bc7aa64
Signed-off-by: Kasin Li <donglil@codeaurora.org>
Touch uses gpio as irq in LA. As per latest change from pinctrl,
wakeup bit is disabled/enabled when disable_irq/enable_irq is called.
During transtion from LA to LE, disable_irq is called leading to
wakeup bit getting disabled and in LE Touch interrupts does not come.
So, use disable_irq_wake to disable Touch interrupts while transition
from LA to LE and use enable_irq_wake to enable back Touch interrupts
while transition from LE to LA.
Change-Id: I288bfbd26be9ff1da1b7e14104f98338eb8d8715
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
Select REGMAP_IRQ for wcd937x and later targets.
Change-Id: I791d26a5ed7690bbe9df638bd85fd4f7c59050f0
Signed-off-by: Rutvik Patel <prutvikr@codeaurora.org>
Do integer overflow check on the length of buffer
to be copied before copying to the buffer.
Change-Id: I425861170125fb3069739af84975c4893462624e
Acked-by: Chenna Kesava Raju <chennak@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>`