blu_plug: Dynamic hotplug driver for hammerhead
Squashed, based on dyn_hotplug by stratosk
Improvements, fixes, changes and ported to hammerhead by eng.stk <eng.stk@sapo.pt>
defconfig: enable blu_plug
cpufreq: create a helper function to get CPU utilization. Picked from @stratosk

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
blu_plug: improvements and fixes
* Driver recode and rework
* Improve suspend/resume routines
* Improve load calculations and plu/unplug routines
* Better work and queue management
* Fix merge derps and unplug if down_timer_cnt is set lower than up_timer_cnt thanks @kagwind
* Use original stratosk load calculation, link to cpu governor
* Add debug stuff
* Add min_cpu_offscreen tunable
* Other  misc. that I forgot ;p
blu_plug: Tune initial values, down_timer_cnt can't be lower than up__timer_cnt, missing bits, small fixes
blu_plug: Do not offline a cpu if it's boosted by cpu-boost
Revert "bluactive: let's try and live without the idle notifier and rely on the timer instead."

This reverts commit 5905f0a010bfd2b23d31d82e1923c262e6a511c6.
net/l2tp: don't fall back on UDP [get|set]sockopt

The l2tp [get|set]sockopt() code has fallen back to the UDP functions
for socket option levels != SOL_PPPOL2TP since day one, but that has
never actually worked, since the l2tp socket isn't an inet socket.

As David Miller points out:

  "If we wanted this to work, it'd have to look up the tunnel and then
   use tunnel->sk, but I wonder how useful that would be"

Since this can never have worked so nobody could possibly have depended
on that functionality, just remove the broken code and return -EINVAL.

Reported-by: Sasha Levin <sasha.levin@oracle.com>
Acked-by: James Chapman <jchapman@katalix.com>
Acked-by: David Miller <davem@davemloft.net>
Cc: Phil Turnbull <phil.turnbull@oracle.com>
Cc: Vegard Nossum <vegard.nossum@oracle.com>
Cc: Willy Tarreau <w@1wt.eu>
Cc: stable@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Change-Id: Iccb3384e7090e8c7cbcd717c12465c45d22c4393
Signed-off-by: flar2 <asegaert@gmail.com>
[PATCH] netlink: add signed types

Signed types might be needed in NL communication from time to time
(I need s32 in team driver), so add them.

Change-Id: Icc6c8286a1d55313fcc7993d8b02267fe1ef2bdc
CRs-Fixed: 677858
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
zlib: clean up some dead code

Cleanup unused `if 0'-ed functions, which have been dead since 2006
(commits 87c2ce3b9305 ("lib/zlib*: cleanups") by Adrian Bunk and
4f3865fb57a0 ("zlib_inflate: Upgrade library code to a recent version")
by Richard Purdie):

 - zlib_deflateSetDictionary
 - zlib_deflateParams
 - zlib_deflateCopy
 - zlib_inflateSync
 - zlib_syncsearch
 - zlib_inflateSetDictionary
 - zlib_inflatePrime

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Revert "[backport] sched_rt: Upstream fixes"

This reverts commit caefe4a66ee1ae0b9a7299275dab4b5dee346960.
blu_plug: Set up_threshold to 70, let's try without  jiffies
blu_active: SInce we got blu_plug, let's rename and keep it linear
blu_active: let's add the file, shall we?
backlight dimmer: change back min level to 5, so it's safe for everyone
blu_plug: add max_freq_screenoff, reworked suspend/resume, misc fixes
Merge remote-tracking branch 'm/kk4.4' into code_blue-beta