Revert "mach: Underclocking to 96Mhz"

This reverts commit b9b63bdefec8a1b05d3d21f06205fe174e2267f6.
Revert "CPU OVERCLOCKING: Initial CPU Overclocking for Snapdragon 800 Socs"

This reverts commit dd3de9dda3a513614b14ba46ff2096999a138542.
msm8974: oc to 2534.4Mhz & uc to 96Mhz

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>

Conflicts:
	arch/arm/mach-msm/Kconfig
	arch/arm/mach-msm/acpuclock-8974.c
acpu: fix under/over-volting and under clock voltage on lower pvs ids

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>

Conflicts:
	arch/arm/mach-msm/acpuclock-krait.c
acpuclock-8974: New L2 OC Implement

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
acpuclock-8974: OC CPU to 2.88 GHz

* This is the highest I could go and not get an RR so here is where we'll stay

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
Add SIO and FIOPS i/o schedulers

Conflicts:
	block/Makefile
block: row: add magic values.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
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>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
deadline: Allow 0ms deadline latency, increase the read speed

Change a timer compare from after to after-equals, thus allowing
0 timeout and making deadline schedule FIFO.

Signed-off-by: xiaobing tu <xiaobing.tu@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: flar2 <asegaert@gmail.com>
block: V(R) I/O scheduler

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
Block: ZEN IO Scheduler

* Because everyone needs a little ZEN in their kernel!

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
block: FIFO IO Scheduler

* As if the other ones weren't enough...

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
Missing Lines

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
block/partitions: optimize memory allocation in check_partition()

Currently, sizeof(struct parsed_partitions) may be 64KB in 32bit arch, so
it is easy to trigger page allocation failure by check_partition,
especially in hotplug block device situation(such as, USB mass storage,
MMC card, ...), and Felipe Balbi has observed the failure.

This patch does below optimizations on the allocation of struct
parsed_partitions to try to address the issue:

- make parsed_partitions.parts as pointer so that the pointed memory can
  fit in 32KB buffer, then approximate 32KB memory can be saved

- vmalloc the buffer pointed by parsed_partitions.parts because 32KB is
  still a bit big for kmalloc

- given that many devices have the partition count limit, so only
  allocate disk_max_parts() partitions instead of 256 partitions always

Signed-off-by: Ming Lei <ming.lei@canonical.com>
Reported-by: Felipe Balbi <balbi@ti.com>
Cc: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>