msm: board-msm7x27a: Increase Idle timeout

For 7x27a and 7x27, clocks are controlled by modem. To improve stability,
reduce number of interactions to modem to turn on and off GPU clocks.

Change-Id: Ia335960a6a139cd2fbe787d1dbe910e8e7a66f3f
CRs-Fixed: 339805
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
msm_fb: display: Wait for VSYNC if HDMI connected

Before unsetting and reallcating the pipes, a wait of
one VSYNC is required to avoid mixer getting same pipe
allocated. But in case the HDMI cable is disconnected,
external VSYNC would not be received and the primary
display would not respond. To avoid this, wait during
unset is done only if the HDMI cable is connected.

CRs-fixed: 352950
Change-Id: I416dfbdf5c6d82023781cc8fdbfdb0021898fd18
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
ipsec: be careful of non existing mac headers

Niccolo Belli reported ipsec crashes in case we handle a frame without
mac header (atm in his case)

Before copying mac header, better make sure it is present.

Bugzilla reference:  https://bugzilla.kernel.org/show_bug.cgi?id=42809

Reported-by: Niccolò Belli <darkbasic@linuxsystems.it>
Tested-by: Niccolò Belli <darkbasic@linuxsystems.it>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

CRs-Fixed: 344300
Signed-off-by: Jin Hong <jinh@codeaurora.org>
(cherry picked from commit 6329bf0a03811f4644a4c8d50bf241f6db6f19b5)

Conflicts:

	include/linux/skbuff.h

Change-Id: I062e7540bdeb8b2fa1c7b57e8a6d07a01b95d0a6
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
Merge "ipsec: be careful of non existing mac headers" into gingerbread_rel
Merge "msm_fb: display: Wait for VSYNC if HDMI connected" into gingerbread_rel
thunderg: revert the wifi fix.
thunderg: increase max_speed_delta_khz and max_axi_khz.
thunderg: WIFI PM = FAST.
thunderg: smartassV2 governor changes.
USB: f_mass_storage: Disable write cache support
As part of mode sense CBW command, communicate to the
host that write cache support is enabled and due to this
during the write commnd, the host is asking for FUA and
because of this write performance is degrading. Hence during
mode sense command, intimate the host that write cache is not
supported.

(cherry picked from commit a2da2c4)

Change-Id: I6ec66ff11181eeb70d62d31b7ddfbbf87880a885
CRs-Fixed: 278310
Signed-off-by: Chiranjeevi Velempati <cvelempa@codeaurora.org>
sched_fair: Remove cpu from nohz idle set if not active

    Currently, when determining which cpu should do load balancing in nohz
    mode, we still consider cpus that have been hotremoved. This is a
    problem because, if we decide to try and move the load balancing to a
    hotremoved cpu, we will spin and stop doing load balancing at all. This
    will also make us cease doing any idle power collapse until the cpu has
    been brought back online.

    Fix this by removing a cpu from the nohz idle mask if we find that it
    isn't active when we consider it for load balancing.

    Change-Id: I93a86fdcab88964a452cb3f38e4815db13d0ee6c
    CRs-Fixed: 290042
    Signed-off-by: Jeff Ohlstein <johlstei@codeaurora.org>
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>
ADD: Speed tweak in jhash
Merge branch 'gingerbread_rel' of git://codeaurora.org/kernel/msm into gingerbread_rel
cpufreq: backport cpufreq code from 3.0rc6 kernel.
Update network interface
Fix compiling and changes for smartassV2 governor.

Fix compiling (2/2)