Revert "smdk4412: update sound soc and codecs "
Revert "defconfig: enable jrcu"
mali: fix voltages
busfreq: tweaks
n_tty: Fix n_tty_write crash when echoing in raw mode

The tty atomic_write_lock does not provide an exclusion guarantee for
the tty driver if the termios settings are LECHO & !OPOST.  And since
it is unexpected and not allowed to call TTY buffer helpers like
tty_insert_flip_string concurrently, this may lead to crashes when
concurrect writers call pty_write. In that case the following two
writers:
* the ECHOing from a workqueue and
* pty_write from the process
race and can overflow the corresponding TTY buffer like follows.

If we look into tty_insert_flip_string_fixed_flag, there is:
  int space = __tty_buffer_request_room(port, goal, flags);
  struct tty_buffer *tb = port->buf.tail;
  ...
  memcpy(char_buf_ptr(tb, tb->used), chars, space);
  ...
  tb->used += space;

so the race of the two can result in something like this:
              A                                B
__tty_buffer_request_room
                                  __tty_buffer_request_room
memcpy(buf(tb->used), ...)
tb->used += space;
                                  memcpy(buf(tb->used), ...) ->BOOM

B's memcpy is past the tty_buffer due to the previous A's tb->used
increment.

Since the N_TTY line discipline input processing can output
concurrently with a tty write, obtain the N_TTY ldisc output_lock to
serialize echo output with normal tty writes.  This ensures the tty
buffer helper tty_insert_flip_string is not called concurrently and
everything is fine.

Note that this is nicely reproducible by an ordinary user using
forkpty and some setup around that (raw termios + ECHO). And it is
present in kernels at least after commit
d945cb9cce20ac7143c2de8d88b187f62db99bdc (pty: Rework the pty layer to
use the normal buffering logic) in 2.6.31-rc3.

js: add more info to the commit log
js: switch to bool
js: lock unconditionally
js: lock only the tty->ops->write call

References: CVE-2014-0196
Reported-and-tested-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[bwh: Backported to 3.4: output_lock is a member of struct tty_struct]

Change-Id: I11d1685056e18f107c970fbe2cab5176ca3a91c4
defconfig: add missing dynamic fsync
Additional memset fix for gcc 4.8
cpufreq: disable nightmare governor
it's stuck at 800mhz
initramfs: keep modules out of ramdisk and put them into kernel zip
smdk4412: Provide available freq sysfs for exynos.

Needed for the frequency slider in Performance Settings to work properly.

Change-Id: If01258234d216a1ee37fb7b090c012b3d6cd09be
smdk4412: Update WiFi drivers from 1.61.47 --> 1.61.58

Change-Id: Ief531690aad2776090dd11198b8512424360726c

Conflicts:
	drivers/net/wireless/bcmdhd/Makefile
cpufreq_conservative: Improve support for micro idle accounting

The minimum samplerate calculations of the current conservative
implementation assume that there is not micro idle accounting present,
however, we do have that capability in our idle estimates.  As a result,
we can support lower polling intervals just like ondemand does.

Change-Id: I134027f28abd8e76ee8212685572272b1ddaa872
Signed-off-by: Andrew Dodd <atd7@cornell.edu>
Makefile: add optmization levels
build: switch to linaro gcc 4.9.1 built by Christopher83
http://forum.xda-developers.com/showthread.php?t=2098133
post-init: fix BLN lib not being installed
fs/dcache.c: adaptive vfs_cache_pressure on suspend / resume
low vfs_cache pressure values save battery while idle, while
a low value also causes stutter with longer up times.
https://github.com/boype/kernel_tuna_kk44/commit/2fee28ba640e7df458f8977596b9f8407c35a3ae