Linux 3.0.64 -> 3.0.101

Conflicts:
	net/ipv4/ping.c
set up build environment
cpufreq: CPU Clock & Voltage Control
https://github.com/gokhanmoral/siyahkernel-sgs3/commits/master-3.0.31/drivers/misc/cpu_undervolting.c
mc1n2: Add interface for volume registers
ld9040: Add adjustable gamma levels

Conflicts:
	drivers/video/samsung/ld9040.c
power: sec_battery_u1: Add charge current interface
cypress: add bln & blnww, led voltage control, dynamic brightness
Based on gokhanmoral's implementation:
https://github.com/gokhanmoral/siyahkernel3/tree/master-3.0.31/drivers/input/keyboard/cypress

Conflicts:
	drivers/input/keyboard/cypress/cypress-touchkey.c
block: Add support for reinsert a dispatched req

Add support for reinserting a dispatched request back to the
scheduler's internal data structures.
This capability is used by the device driver when it chooses to
interrupt the current request transmission and execute another (more
urgent) pending request. For example: interrupting long write in order
to handle pending read. The device driver re-inserts the
remaining write request back to the scheduler, to be rescheduled
for transmission later on.

Add API for verifying whether the current scheduler
supports reinserting requests mechanism. If reinsert mechanism isn't
supported by the scheduler, this code path will never be activated.

Change-Id: I5c982a66b651ebf544aae60063ac8a340d79e67f
Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
block: add support for Linux 3.0.x for reinsert a dispatched req
block: Add API for urgent request handling

This patch add support in block & elevator layers for handling
urgent requests. The decision if a request is urgent or not is taken
by the scheduler. Urgent request notification is passed to the underlying
block device driver (eMMC for example). Block device driver may decide to
interrupt the currently running low priority request to serve the new
urgent request. By doing so READ latency is greatly reduced in read&write
collision scenarios.

Note that if the current scheduler doesn't implement the urgent request
mechanism, this code path is never activated.

Change-Id: I8aa74b9b45c0d3a2221bd4e82ea76eb4103e7cfa
Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
block/blk-core: add support for Linux 3.0.x for urgent request handling
block: Update ROW I/O scheduler
cpufreq: nightmare governor
cpufreq: hyper governor
cpufreq: intellidemand governor
cpufreq: neox governor
lib/string & lib/memcpy: use GNU implementation
cpufreq: nightmare: fix build
cpufreq: cpufreq_notify_utilization
scheduler: compute time-average nr_running per run-queue

Compute the time-average number of running tasks per run-queue for a
trailing window of a fixed time period. The detla add/sub to the
average value is weighted by the amount of time per nr_running value
relative to the total measurement period.

Change-Id: I4b1fa8fee82a549889560ceded4b94bdb811671d
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/108070
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ryan Wong <ryanw@nvidia.com>
Tested-by: Ryan Wong <ryanw@nvidia.com>