aries | p1: drivers: add backoff

Change-Id: Ibdcbcd442e7993818940a20a1c6a45d3b0281d03
aries | p1: config: add backoff driver support

Change-Id: I8d4bbae72efd62dd0b152d1a75a3b73f8adaa063
Merge "aries | p1: drivers: add backoff" into android-4.4
Merge "aries | p1: config: add backoff driver support" into android-4.4
p1: config: use a complete defconf

just bring back the complete defconfig list
for P1 GSM variants and use it as a pattern.

this file is automatically generated.

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I4e2f72b569be34d1a5f67fdfbba2b3626f92a5ef
aries: config: use a complete defconf

just bring back the complete defconfig list for
galaxys and galaxysb aries variants and use it as a pattern.

this file is automatically generated.

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: Iaf0526161fc70214e78c5135a81fd9e4b7a4bee4
aries | p1: drivers: apanic: respect kernel defconf

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I45ab35f2a77aae910c6ee4e738bafe3b96c7516c
p1: config: use tiny rcu

This option selects the RCU implementation that is
designed for UP systems from which real-time response
is not required.  This option greatly reduces the
memory footprint of RCU.

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: Ic27561955d5dbbc4a1f69603e45e68a756a06d34
p1: config: remove ram console driver

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I30e9fe984e070c13338cbd13792bdc210aa414dd
p1: config: remove ion driver

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I3b303a14c18ac0de153518ecba02d44b731c2ee3
aries: config: use tiny rcu

This option selects the RCU implementation that is
designed for UP systems from which real-time response
is not required. This option greatly reduces the
memory footprint of RCU.

Change-Id: Ifed0677b1660f3dc68a934dfa61ed17c6a0cc996
Signed-off-by: Humberto Borba <humberos@gmail.com>
aries: config: remove ram console

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: Ia4f72931e98c9b7d9d0c60d46292b74f97db5812
aries: config: remove ion

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: Ib2a162cef9e43c7fac5e08f379a1523de9bfb8bb
aries | p1: drop s3c_fb's buffers back to 2

It's not necessary. So the reason is just conserve
RAM memory by dropping it back to 2 as it was used
on stock versions.

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I50392a08c5af45704fe02362cb2d49308366ad24
aries | p1: config: build zram as external module

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I6b044c0fa2b84e6ca4f85489d89c324d3ca4c070
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
aries | p1: staging: android: squashed commits for ram console

Fix ram console driver

Revert "Revert "staging: android: ram_console: honor dmesg_restrict""

This reverts commit b67b735f53f5b1b153188ae57880d43d1e8fc377.

Revert "persistent_ram: Fix buffer size clamping during writes"

This reverts commit d7c4ea24dbe04c621c0f10be0cab238e5f9177c6.

Revert "android: persistent_ram: Allow specifying ecc parameters in platform data"

This reverts commit 4de04f8991ceb97a883344f9e4f22769a1e58c3f.

Revert "android: persistent_ram: Include ecc_size when calculating ecc_block"

This reverts commit b3054f5a11130f7e527052687b50f1d2dc02f81c.

Revert "android: ram_console: use platform_device_register"

This reverts commit 2296d7c2d0fd29357937bbdddd744c142c8739e5.

Revert "staging: android: fix mem leaks in __persistent_ram_init()"

This reverts commit be666cf68f3620b1a1dcbd36cb26e218825d2497.

Revert "android: make persistent_ram based drivers depend on HAVE_MEMBLOCK"

This reverts commit 90aeefcddadf931bb04964a4ff75dcc11e9c2395.

Revert "android: persistent_ram: move persistent_ram.h back to include/linux"

This reverts commit 70ff87db6108ffca2feefed88ec584734c028949.

Revert "android: persistent_ram: fix printk size_t warning"

This reverts commit 97cc280e06640516f6f95cb5cbf700b262e3825a.

Revert "android: persistent_trace: fix section mismatch warning"

This reverts commit 0fc8317ccf0fb5116c39d2b1d5b726f891a7ef45.

Revert "android: persistent_ram: fix section mismatch in clients"

This reverts commit b9a5ad6d975a237758f6689b2cc7a02089c05e21.

Revert "android: persistent_trace: ftrace into persistent_ram"

This reverts commit 5a4a85a5c0258dae4695cea20f7981b617583fcb.

Conflicts:
	drivers/staging/android/Makefile

Revert "Staging: android: ram_console.c:"

This reverts commit cf9962a74fc58e948e5c622ff05c0aa89e2933e4.

Revert "staging: ram_console: Fix section mismatches"

This reverts commit e082be20f0d6bd0514e970383ac24781902cb3a0.

Revert "staging: android: ram_console: honor dmesg_restrict"

This reverts commit c6ee022c93ab62d63bfe88fccc3bdbb06641fc85.

Revert "staging: android: ram_console: fix crash in ram_console_late_init"

This reverts commit 3e5b951e0976781c1564ff5d712d436197262ba7.

Revert "staging: android: persistent_ram: add notrace to persistent_ram_write"

This reverts commit 0ae53a57502c327156c2abfb29d5877a4cf3c014.

Revert "staging: android: persistent_ram: make persistent_ram_write atomic"

This reverts commit 3595e0b2fe7171e09c94cd505560e88baaeb513d.

Revert "staging: android: persistent_ram: handle reserving and mapping memory"

This reverts commit d50c0765034c46f4d1f61eb20127611e14fdb620.

Revert "staging: android: persistent_ram: refactor ecc support"

This reverts commit 48d79adb00e2a07c2d1e4ace14139bc7d7b64803.

Revert "staging: android: ram_console: split out persistent ram"

This reverts commit ff2bd2ac26346f517f3817cd95fb1bfc4ed922f0.

Revert "staging: android: ram_console: drop verbose ram_console support"

This reverts commit ef8e4e20abaab2dbab9300ecb70195a33f0e7d93.

Revert "staging: android: ram_console: drop early buffer support"

This reverts commit 28fde660b2e9c73acdfd53ce8aacd239bb1047d1.

Revert "staging: android: ram_console: move footer strings"

This reverts commit b4de4a2ab603c4afba280f80914b34aa48d2e877.

Revert "Staging: android: ram_console: Use resource_size function"

This reverts commit 31aceb4f344ec880b9145daf5c5775b9c888aef3.

Revert "staging: android: ram_console use kmemdup instead of kmalloc"

This reverts commit f8970276d4356cdf5258ee1ce04b7d672a9f8df3.

Revert "staging: android/ram_console: Don't build on arches w/o ioremap"

This reverts commit 8ae77d1e8f17e0e2311057fe7dffe78061804048.

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I4c3e0c46bbd525fe3bc7e163ac00477f08078311
Revert "aries: config: remove ram console"

This reverts commit 2d54543ea1e33a9bbaf80485b0db69b1c039becd.

Change-Id: I0c2221f1c5f322bfb67a112045d59400179b95db
Revert "p1: config: remove ram console driver"

This reverts commit e771da67a65c9ffe234605284e2585a1559cb1b0.

Change-Id: I9e2badb3bc3b9f144113f7c5236f5f406c3d547f
aries | p1: gpu: pvr: squashed commits

revert PVR driver updates

it boots up but the performance is very poor. It seems to be
something on the driver.

Fix:
<6>[   44.513857] PVR_K: (FAIL) SGXInit: Incompatible driver DDK revision (2198402)/device DDK revision (2112805).

Commits:

Revert "aries | p1: gpu: pvr: bypass compat check if version is same"

This reverts commit 2e072d9638638f8d1a83649ea67526f00086c3ef.

Revert "aries | p1: gpu: pvr: Update to DDK 1.8@2198402"

This reverts commit 152104dac6af6028f4ab0ee6a5dd5969dac1b971.

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I38e6875c2bf37dee55886b0cdc8c7cb36d1f5928