arm: Remove no-longer-required RCU_NONIDLE wrapper

Commit 21111be8 "ARM: Fix negative idle stats for offline cpu" moved call
to cpu_die() to occur outside of rcu_idle_enter()/rcu_idle_exit() section.
As a result, the RCU_NONIDLE() wrapper to complete() call in
arch/arm/kernel/process.c:cpu_die() is no longer required (and is
technically incorrect to have). Removing RCU_NONIDLE() wrapper also removes
this warning seen during CPU offline:

[Note: Below message has been edited to fit 75-char per line limit.
Insignificant portions of warning message has been removed in each line.]

------------[ cut here ]------------
WARNING: at kernel/rcutree.c:456 rcu_idle_exit_common+0x4c/0xe0()
Modules linked in:
(unwind_backtrace+0x0/0x120) from (warn_slowpath_common+0x4c/0x64)
(warn_slowpath_common+0x4c/0x64) from (warn_slowpath_null+0x18/0x1c)
(warn_slowpath_null+0x18/0x1c) from (rcu_idle_exit_common+0x4c/0xe0)
(rcu_idle_exit_common+0x4c/0xe0) from (rcu_idle_exit+0xa8/0xc0)
(rcu_idle_exit+0xa8/0xc0) from (cpu_die+0x24/0x5c)
(cpu_die+0x24/0x5c) from (cpu_idle+0xdc/0xf0)
(cpu_idle+0xdc/0xf0) from (0x8160)
---[ end trace 61bf21937a496a37 ]---

Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
Change-Id: I721e6b20651674e6f6f584cf8d814af00b688c91
ARM: hw_breakpoint: enable HAVE_HW_BREAKPOINT feature flag

HAVE_HW_BREAKPOINT was disabled temporarily from commit
480a82f59712136b51ee5ca05c4f22c1738010c5. Issue not seen with the
latest kernel hence re-enable the feature and fix merge issue from
previous kernel upgrade.

Change-Id: Ia6e7e8282c848dd73108e4d951b3375bb7caa63c
CRs-Fixed: 460454
Signed-off-by: Jin Hong <jinh@codeaurora.org>
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Revert "msm_fb: display: remove background invert alpha option for alpha drop pipe"

This reverts commit 0119007a18aae8a8fb43f4320509bda161da4167.

CRs-fixed: 461574
Change-Id: Ia768030ec859a4ff38549686936789413826df32
Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>

Conflicts:
	drivers/video/msm/mdp4_overlay.c
msm: camera: Set event data stat buffer to NULL after freeing

Set stats buff event data to NULL after dequeuing & freeing
the event to avoid possibility of freeing the data again.

Change-Id: Iba069ff3d118b276694ebfa04af2b03e454a8583
CRs-Fixed: 463130
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
usb: smd: Call smd_close API from workqueue context

smd_close API cannot be called from ATOMIC context, hence move
it from interrupt context to workqueue context.

Change-Id: I9e8ca633f170b48b82f1ead50068b8c7fde5ccff
CRs-Fixed: 419610
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
msm_fb: display: prepare clocks before enable AHB clock

Clocks need to be prepared before enabled and unprepared after
clock disabled.

CRs-fixed: 466843
Change-Id: I5180c98a2c5fd4bd867272ee1d2bf274ff15d215
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
msm: apq8064: remove device registration of touchscreen FET on MTP

This power FET does not exist on apq8064 MTP and registration of
its platform device conflicts with usage of pmic gpio-23 for other
purposes on the MTP target.

Change-Id: I37d679ea9d984579ebb27d3acd6002d4d579c9b4
Signed-off-by: Joel King <joelking@codeaurora.org>
Merge "msm: sglte2: prevent early bootup of the external qsc modem"
Merge "msm: mdm: add a parameter for the name used to register for SSR"
Merge "msm: ipc: Security updates to IPC Router"
Conflicts:
	arch/arm/mach-msm/ipc_socket.c
	arch/arm/mach-msm/msm_ipc_router_security.c
	arch/arm/mach-msm/msm_ipc_router_security.h
msm: sglte2: add restart orders for combined SSR

The two external modems need to be restarted together because
of the uart connection between them.

Change-Id: I376f29f1049e56b32e883783e5963cf98b322bb1
Signed-off-by: Joel King <joelking@codeaurora.org>
defconfig: msm8960: Enable IPC Router Security feature

This feature will enforce the security policies as configured by the
user-space security script.

Change-Id: I641df5b996c7774c1a1c96bc554846360f2863a3
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
net: rmnet_usb: Block open until a response is received from MDM

commit 131eb4b6 (net: usb: Add MUX support in embedded rmnet driver)
has changed the behavior of port open.  Earlier the port open is
unblocked only after receiving notification available response on
the corresponding interface.  This commit unblocks the open immediately
after the corresponding interface probe is completed.  This is causing
functional failures at higher level.

Revert back to the old mechanism for non-muxed ports till the root
cause is identified.

CRs-Fixed: 469465
Change-Id: I2b53b3cac4d73f19ec4c9b1bc6f4ed18afbfabae
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
msm: camera: Fix for properly configuring AXI bus when using dual_enabled mode

When lp_mode=0 and dual_enabled=1, the msm_camio_bus_scale_cfg API is not
called in axi_start() i.e. the AXI bus is not configured properly

Change-Id: Ifca9ca97ea21b8442ae801802e38d7d98433ba97
CRs-Fixed: 458802
Signed-off-by: Krupal Divvela <kdivvela@codeaurora.org>

Conflicts:
	drivers/media/video/msm/vfe/msm_vfe32.c
msm: camera: Set mctl client to NULL after destroy

After ion client is destroyed, mctl client is set
to NULL to avoid possibility of invalide client reuse.

Change-Id: Iacd752608affa2f17706d449200ad3fb9b650090
CRs-Fixed: 466520
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
gpu: ion: Align va address to biggest buffer size

Align the virtual address to the max buffer size to
allow IOMMU mappings at the biggest buffer size.

Change-Id: I74ba665c1782e2f0631274766c5caeeb192224e0
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
usb: gadget: u_ether: Fix memory corruption in TX path

When data aggregation is enabled, multiple skb buffers are copied
into a single USB request buffer.  When ever a USB request queue
is failed, make sure that req->length is reset to 0.  Otherwise
when the same request is used again, the stale length field is used
to access the request buffer.  This would lead to memory corruption.

The xmit function keeps the partial request at the beginning of the
queue.  Always put the idle request at the back of the queue.

CRs-Fixed: 469436
Change-Id: Idcd31e667b0bf261ab9a88f4a34464ccdf503e1b
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>