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>
This change will not request for gpio_free if the gpio_request
is not called for a particular gpio.
Change-Id: I39bedb3495d59334ea61953eaeb8ccf59d6633f8
Signed-off-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>