Revert "cpufreq: interactive: revert to 07.06.2014"

This reverts commit 6057d524034e11dd8fa3cf381d9c92fe208f0139.
cpufreq: interactive: use cputime64_t

u64 arrays aren't implemented yet
block: Reserve only one queue tag for sync IO if only 3 tags are available

In case a device has three tags available we still reserve two of them
for sync IO. That leaves only a single tag for async IO such as
writeback from flusher thread which results in poor performance.

Allow async IO to consume two tags in case queue has three tag availabe
to get a decent async write performance.

This patch improves streaming write performance on a machine with such disk
from ~21 MB/s to ~52 MB/s. Also postmark throughput in presence of
streaming writer improves from 8 to 12 transactions per second so sync
IO doesn't seem to be harmed in presence of heavy async writer.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
cpufreq: Break out early when frequency equals target_freq

Many drivers keep frequencies in frequency table in ascending
or descending order. When governor tries to change to policy->min
or policy->max respectively then the cpufreq_frequency_table_target
could return on first iteration. This will save some iteration cycles.

So, break out early when a frequency in cpufreq_frequency_table
equals to target one.

Testing this during kernel compilation using ondemand governor
with a frequency table in ascending order, the
cpufreq_frequency_table_target returned early on the first
iteration at about 30% of times called.

Change-Id: Iea687ce8006d622d1a951561087b856b50ba05c2
Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
ARM: 7928/1: kconfig: select HAVE_EFFICIENT_UNALIGNED_ACCESS for CPUv6+ && MMU

Modern ARM CPUs can perform efficient unaligned memory accesses in
hardware and this feature is relied up on by code such as the dcache
word-at-a-time name hashing.

This patch selects HAVE_EFFICIENT_UNALIGNED_ACCESS for these cores and
reworks the kconfig select logic for DCACHE_WORD_ACCESS to use the new
symbol.

Change-Id: I2d6474e99fec6aa940cc2f3d2cd2e6a0c4ca636a
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
ARM: kconfig: don't select HAVE_EFFICIENT_UNALIGNED_ACCESS if is janice

if i'm not wrong, janice cannot boot on gcc 4.7+ with this

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
LiveOPP: Enable 100MHz by default

Lower power consumption
Author: @cocafe
misc: Clean up warnings

Signed-off-by: cocafe <cocafehj@gmail.com>
Initramfs naming STE --> u8500
cpufreq: interactive: fix wrong tunables

since we aren't using extended cpufreqs, switch this up a bit.

Change-Id: Iafa0fceafd8985635928b9ef3be176ae038a5b45
Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
fix initramfs reference

Change-Id: I30b5e9aea4e9c5fbaf755f4fea5b78310ed4c91c
Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
cpufreq: interactive: fix conflict in naming of early_suspend

Change-Id: I84f8127973077185247d88a1c8c95e34544a060a
Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
ARM: mach-ux500: move suspend hotplugging to separate hotplug driver

Change-Id: Ifa4ac375f496c1eeb84342445463bcd0a4c9a065
Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
u8500_hotplug: limit cpu frequency to 800mhz on suspend

Change-Id: I1572b076c82a512d73e7e7897c08775d63bef31f
Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
fs: add universal exfat driver

this is much more updated and universal than the current exfat driver. furthermore, it should be in fs.

Change-Id: Iee912807399d5aae5ff43d252810c97782251241
Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
drivers: remove old exfat driver

Change-Id: I94eef7ac6ae9dd3b7e84a31450d1c0a17db085e8
Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
ARM: mach-ux500: Kconfig: fix incorrect u8500_hotplug option

Change-Id: Id6abc0d1317247d7febf53fa98837d661c4230b2
Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
defconfigs: enable new exfat driver and u8500 hotplug driver

Change-Id: If584b8f9966af70720424318f190db53b3fdd203
Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
u8500_hotplug: fix derps

Change-Id: I263da83076bf2e1ca5023bff0237823aaaffd9a5
Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
Reserve one more step for 1250 MHz

We enabled 100 MHz by default and we need one more step reserved to fit every freq step