cpufreq: move get idle time functions to cpufreq.c

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
cpufreq: ondemand: adapt to the get cpu idle time function changes.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
cpufreq: interactive: squash the whole driver code from HH, making some adjustments due to older Kernel version and non-MSM chip.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
omap4-common: squash activating scu speculative linefills & enabling full zeros write mode & tuning the values to fit the changes WITHOUT double linefill
OMAP2+: clock: Fix DPLL clock rounding

Function omap2_dpll_round_rate() succeeds only if it can find exact frequency.
But in current implmentations there are some frequencies that can't be rounded.
Function iterates frequencies that always lower than requested one.
For example 550MHz can be obtain from 38.4MHz reference by M=1375 and N=96,
but the closest MN pair that is tried is 1374/96.

It happens because of flooring scaled_rt_rp variable insted of rounding.
This patch should fix the issue.

Change-Id: Iceadcc695ac3376372b2fdaf29afe8f9454b891f
Signed-off-by: Taras Kondratiuk <taras@ti.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
OMAP2+: clock: Round clock to the closest possible frequency.

Currently clock is always rounded to frequency that is <= required.
It leads to not the best divider selection if requested frequncy is
slightly lower than the closest possible frequency.

This patch makes the best possible divider to be choosen.

Change-Id: I732dbf3e2c910b041434ded0df78dd6f85b7c7f4
Signed-off-by: Taras Kondratiuk <taras@ti.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
i think this needs applied as well
fs: import f2fs from git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git (branch dev)

Up-to-date with
git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git @26a7fca93f169a974685bb87c4b559d3d4372699
(f2fs: deactivate inode page if the inode is evicted)

Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
fs: rework f2fs
fs: rework f2fs
fs: rework f2fs
fs: rework f2fs
f2fs: support 3.0

Initial patches by Now Computing, fixes for latest mainline f2fs by arter97

Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
defconfig enabling new stuff
NO SR

Conflicts:
	arch/arm/configs/nuked_defconfig
ram: merge ram timings from pattyboi, ziyann and freshgiammi

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Merge branch 'pattyboi-nightlies' into nightlies
writeback: Fix occasional slow sync(1)

In case when system contains no dirty pages, wakeup_flusher_threads()
will submit WB_SYNC_NONE writeback for 0 pages so wb_writeback() exits
immediately without doing anything. Thus sync(1) will write all the
dirty inodes from a WB_SYNC_ALL writeback pass which is slow.

Fix the problem by using get_nr_dirty_pages() in
wakeup_flusher_threads() instead of calculating number of dirty pages
manually. That function also takes number of dirty inodes into account.

CC: stable@vger.kernel.org
Reported-by: Paul Taysom <taysom@chromium.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
init: debug: bye bye

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
input: goodbye external vars

It's a bad practice to access the extern vars instead of get functions
exported through a header file. Let's start by killing the last_input_time
on both governors and include the header.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>