gpu control: if freq chnages, reset corresponding voltage delta

Change-Id: Ieb8a46a77029b7a22135130f0c7291d36a0fdae0
note2 devices: restore adbd from samsung source

Change-Id: I1b895131da0a11ee36e46300b7e7b2a2f53da733
version 1.8.5

Change-Id: I1a86d312997341c3590f0fd8ddffc12c074bb379
re-calibrate proximity on boot

Change-Id: I4f262d7a8f4611ba8942e1399c9694505cc3d3c8
n7100 source drop
n7100 source drop: sound

Change-Id: Icc7576cddb4a51dc09304a4013582749a0e04cc9
n7100 source drop: all remaining sub folders: net ... virt
update omnirom initramfs

Change-Id: I1d6fc4fe2f76c236e03c99b8871fb447c71d5648
defconfigs: enable SEC_OOM_KILLER

Change-Id: Iad405c430ea4f33e3ee8ad5965133eff9fe1a3f2
renamed libs folder + added sensor libs from samsung to note2 initramfs + new version

Change-Id: I63ddd439100fc3877f1e2eee274b769eee60b918
re-added wrongly deleted fstab.smdk4x12.2 to t0lte sammy initramfs

Change-Id: Id2a427e10e9026855bce8128f1237b31c1d8d9ba
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, even though there are dirty inodes in
the system.  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.

Change-Id: Ic90f80a31bb866b7628143b8b013871f83d05c13
Signed-off-by: Jan Kara <jack@suse.cz>
Reported-by: Paul Taysom <taysom@chromium.org>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
cpufreq: Add cpu-boost driver

When certain bursty and important events take place, it might take a while
for the current cpufreq governor to notice the new load and react to it.
That would result in poor user experience. To alleviate this, the cpu-boost
driver boosts the frequency of a CPU for a short duration to maintain good
user experience while the governor catches up.

Specifically, this commit deals with ensuring that when "important" tasks
migrate from a fast CPU to a slow CPU, the frequency of the slow CPU is
boosted to be at least as high as the fast CPU for a short duration.

Since this driver enforces the boost by hooking into standard cpufreq
ADJUST notifiers, it has several advantages:
- More portable across kernel versions where the cpufreq internals might
  have been rewritten.
- Governor agnostic and hence works with multiple governors like
  conservative, ondemand, interactive, etc.
- Does not affect the sampling period/logic of existing governors.
- Can have the boost period adjusted independent of governor sampling
  period.

Signed-off-by: Saravana Kannan <skannan@codeaurora.org>

Change-Id: Ibd814a20043d0aba64ee7637a4a79b9ffa1b0991
cpufreq: Add a sync limit to cpu-boost

Perform frequency synchronization only when source CPU's frequency
is less than sync_threshold, else sync to the sync_threshold.

Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>

Change-Id: I544c414568d4e015b80ce5891dd215275bac95da
cpu boost: backport missing functions from 3.4 (DerTeufel)
reference: http://webcache.googleusercontent.com/search?q=cache:7y4Vnjzxo6wJ:androidfilesgit.org/MaC/android_kernel_jewel/commit/8e9f9bdc0bb75222891cb39389fef6910dcb085d.diff+&cd=1&hl=en&ct=clnk&gl=il

thx to dorimanx for commiting cpu boost to his 3.12 kernel. i would have missed this driver without him

Change-Id: I3cd786129f7eff14bb775194919c803566e07f25
memcontrol: fix samsung breaking CGROUP_MEM_RES_CTLR (DerTeufel)

Change-Id: I4778d425bbb4537a1616c5ec47d93d65e77b3fc0
defconfigs: enable CGROUP_MEM_RES_CTLR and CGROUP_MEM_RES_CTLR_SWAP
google is suggesting to use this, if using zram

Change-Id: I4ed7e204b790b3377f4764eface0030c202be4ee