tamsui: merge changes from upstream board:msm7627a
This commit is a squashed update of the following commits
where they apply to board-msm7x27a:

Change-Id: I02db5485d38bead0efa87cb6ace07243e33dd757
msm: cpr: Save latest frequency and voltage for debug: https://github.com/joebonrichie/android_kernel_sony_msm7x27a/commit/bc687d7a858ec0d14b16b9587bd0cc33e84d9de6
msm: platsmp-8625: cleanup macro names: https://github.com/joebonrichie/android_kernel_sony_msm7x27a/commit/a28152a26a4a1a83f32bc47f4156b0aae2dab36c
msm: board-7627a: Add power driver platform data for 8x25Q: https://github.com/joebonrichie/android_kernel_sony_msm7x27a/commit/60cf9ea1ac29a83d53a82552b460ea6a98077681
board: 7627a: Update the GDFS residency values to optimal value: https://github.com/joebonrichie/android_kernel_sony_msm7x27a/commit/d1bd5990445e46e947eb2e9e6f0ea78369998d51
msm: Rip out fmem related memory adjustments: https://github.com/joebonrichie/android_kernel_sony_msm7x27a/commit/531eb02a9a36c8936b71f912d4a2977aa2f42024
msm: board7627a: Make CAMERA/MM use CMA heap: https://github.com/joebonrichie/android_kernel_sony_msm7x27a/commit/7ca2e67d4343da7986709019e84b3483a7a8c3e4
msm: board-msm7x27a: Add one ION heap for audio from bootloader memory: https://github.com/joebonrichie/android_kernel_sony_msm7x27a/commit/ffb43d37c17ddc3cf1b76b92a903ac8083d30595
msm: board7627a: Allocate CMA region in lowmem: https://github.com/joebonrichie/android_kernel_sony_msm7x27a/commit/aabf98a4493e453dfd4ba846d9233af39a22a285
msm: board7627a: bring CMA regions even lower: https://github.com/joebonrichie/android_kernel_sony_msm7x27a/commit/9954a207f6603e440df18822fc07535fbbf3f9fb
msm: board-7627a: Remove pmem from 7627a/8625: https://github.com/joebonrichie/android_kernel_sony_msm7x27a/commit/e1fe7d9b2d7bff67e0be6539820f4bc582c74459
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: Ia6c09487e92d1ee4e8d1d22a6273034b22272a2f
msm: qdsp5: Memset stack buffer allocation.

This is needed to avoid garbage data in uninitialized variables.

Change-Id: I2ef43f64b1d31e88bc2435169632c2efc4fb9f88
CRs-Fixed: 553262
Signed-off-by: Mohammad Johny Shaik <mjshai@codeaurora.org>
msm: qdsp5: memset stack buffer allocation.

This is needed to avoid garbage data in uninitialized variables.

Change-Id: Ib3362ae4bc9453e16eb6951a6e2829e4a0decb8e
CRs-Fixed: 554300
Signed-off-by: Mohammad Johny Shaik <mjshai@codeaurora.org>
msm: qdsp5: memset stack buffer allocation.

This is needed to avoid garbage data in uninitialized variables.

Change-Id: I061e7373c05d0239e2c0cb53c71a9ca1cebe6fc8
CRs-Fixed: 554317
CRs-Fixed: 554822
CRs-Fixed: 554844
CRs-Fixed: 556206
CRs-Fixed: 556792
CRs-Fixed: 556786
CRs-Fixed: 556782
CRs-Fixed: 556223
CRs-Fixed: 556219
CRs-Fixed: 556217
CRs-Fixed: 556216
CRs-Fixed: 556212
Signed-off-by: Mohammad Johny Shaik <mjshai@codeaurora.org>
msm: adsp: Avoid preemption during driver registration

Prevent the scenario where platform_driver_register(adsp)
is called first but kworker from RPC router preempts it
before it finishes driver register.

CRs-Fixed: 448408
Change-Id: I2022200413fb77a073e10bd19b8fff82a3e3d46e
Signed-off-by: Kaushal Kumar <kaushalk@codeaurora.org>