Revert "ASoC: wcd9xxx: add device_reset functions for taiko and tapan"

This reverts commit 99e85ca537c0e4ed954a6522c8d7f5cba14148cf.
block: do not notify urgent request, when flush with data in flight

MMC device driver implements URGENT request execution with priority
(using stop flow), as a result currently running (and prepared) request
may be reinserted back into I/O scheduler. This will break block layer
logic of flushes (flush request should not be inserted into I/O scheduler).

Block layer flush machinery keep q->flush_data_in_flight list updated with
started but not completed flush requests with data (REQ_FUA).

This change will not notify underling block device driver about pending
urgent request during flushes in flight.

Change-Id: I8b654925a3c989250fcb8f4f7c998795fb203923
Signed-off-by: Konstantin Dorfman <kdorfman@codeaurora.org>
Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
Request based dm-crypt

dm-crypt provides bios based device mapper module. dm-crypt
operates on packets with 512 bytes size which is not effiicent
way for HW based crypto blocks. dm-req-crypt is developed to
address this. dm-req-crypt works on requests which carry upto
512KB of data for unmerged requests.

Change-Id: I479230b2f0c1ab2e2a1ddb84947ebaf0629dff8c
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>

Conflicts:
	block/blk-core.c
	drivers/md/dm.c
	include/linux/blk_types.h
scsi: turn off wait scan module

Change-Id: I69e41466d268b77abbd5b8f47638cf9128d529e4
defconfig: misc updates, enable HW encryption

Change-Id: I78480f76349b76f4a44a143131b8149397a331e2
Full Linaro -O3

Change-Id: I81b547af30cbe179a670f538127bf1f5507c7ba0
Signed-off-by: Lens-F <tnoah12@gmail.com>
Makefile: we're not armv5, we have neon-vfpv4, etc.

Change-Id: I5729c15fedeed8fa42e0ff6796846255a2f41f84
dm: updating crypto algorithm used by dm-req-crypt

dm-req-crypt uses AES-XTS algorithm implemented by HW crypto
engine. Crypto driver renamed the aes-xts algorithm to avoid
conflict with SW based implementation of AES-XTS. dm-req-crypt
must use the new name for AES-XTS provided by crypto driver.

Change-Id: I286b6435af33fd64673c7c1af4bb2447f3115868
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
dm: Adding support of AES 256 bits in dm-req-crypt

dm-req-crypt currently uses AES 128 bit. Updating dm-req-crypt
to use AES 256 bit instead.

Change-Id: I2e8a4484b25496d53f1f9aa83ec6c0ed7b947901
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
dm: Clean up dm-req-crypt

dm-req-crypt defines optional functions from device mapper. These
functions are not required for dm-req-crypt. dm-req-crypt has few
memory de-allocation issues. This change removes unnecessary
functions and fixes memory deallocation issues as well.

Change-Id: Id36bd13989940ce41571a8a10277730048df6f6d
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
slimbus: Optimize overclocking of master component

* Change root frequency to optimal value (11 was default)
* Add 44khz and 48khz to default SLIM RATES

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Lens-F <tnoah12@gmail.com>
Makefile: Sheldon Cooper presents Fun With Flags

Change-Id: I557f8cc2ada7f28c9fe3b40df7abd7165fe6b59c
sched/fair: increase latency and granularity values

Signed-off-by: Lens-F <tnoah12@gmail.com>
sched/fair: improve fairness efficiency

Measured using hackbench:

PRE-patch :      4.542422684 seconds time elapsed   ( +-  47.40% )
POST-page :      2.389409991 seconds time elapsed   ( +-  47.40% )

Which shows a significant improvement of ~47.40%

**Original Patch showed significant graphical slowness on wakeup**
Lets raise the granularity period and see if that fixes the issues we were seeing with initial patch.

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Lens-F <tnoah12@gmail.com>
Makefile: slight cleanup

Change-Id: I2f62ae307e3c78d07e0f821b665fc9492b5f615e
ARM: 7493/1: use generic unaligned.h

Signed-off-by: Luis Cruz <ljc2491@gmail.com>
Signed-off-by: Lens-F <tnoah12@gmail.com>
PM: devfreq: Fix simple_ondemand crashing on startup

simple_ondemands private data must be set to NULL, otherwise we would
run into a NULL pointer in kgsl_devfreq_get_dev_status().

Change-Id: I6cc6a8b11e3b58b8c3e3c26d43ee36949cf62351

Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: Lens-F <tnoah12@gmail.com>
CHROMIUM: allow clocksources to be selected earlier during boot

Global and per-CPU timers ought to be initialized once SMP initialization
is complete.  Although the clocksources associated with these timers may
not be registered until later in the boot process, they should be ready
to go once registered.  We'd like to stop using the super low-resolution
boot clocksource (jiffies) as soon as possible since devices may rely on
accurate timekeeping while being brought up during boot, so move
clocksource_done_booting() to arch_initcall time so that we can switch
to a higher-resolution clocksrouce earlier in the boot process.

TEST=Pit and Lumpy both still boot reliably.  Boot time on Pit improves
considerably:
Before: [    3.032967] VFS: Mounted root ...
After:  [    1.855936] VFS: Mounted root ...
Lumpy boot time improves very slightly:
Before: [    1.786347] VFS: Mounted root ...
After:  [    1.754297] VFS: Mounted root ...

Signed-off-by: Lens-F <tnoah12@gmail.com>
cpufreq: stockdemand: add stock caf ondemand with some enhancements

Signed-off-by: Lens-F <tnoah12@gmail.com>

Conflicts:
	arch/arm/configs/lemur_defconfig

Change-Id: I70ebc7915e999068fe03a1b6cd6c334a3186f7af