ARM: disable preemption in machine_shutdown

Since the smp call to stop the other cpus are handled in those
cpus in interrupt context, there's a potential for those smp
handlers to interrupt threads holding spin locks (such as the
one a mutex holds).  This prevents those threads from ever
releasing their spin lock, so if the cpu doing the shutdown
is allowed to switch to another thread that tries to grab the
same lock/mutex, we could get into a deadlock (the spin lock
call is called with preemption disabled in the mutex lock code).

To avoid that possibility, disable preemption before doing the
smp_send_stop().

Change-Id: I7976c5382d7173fcb3cd14da8cc5083d442b2544
Signed-off-by: Mike J. Chen <mjchen@google.com>
codinaxxx:Fix audit
abb-POnKey: implement PowerOn Key emulator

My PowerOn Key is going to break, so i have to add this workaround.
Besides, we prepare the API for other mods like sweep2wake, touch2wake...

Signed-off-by: cocafe <cocafehj@gmail.com>
abb-ponkey: add API for POnKey emulator

Signed-off-by: cocafe <cocafehj@gmail.com>
Proportional Rate Reduction for TCP.

This patch implements Proportional Rate Reduction (PRR) for TCP.
PRR is an algorithm that determines TCP's sending rate in fast
recovery. PRR avoids excessive window reductions and aims for
the actual congestion window size at the end of recovery to be as
close as possible to the window determined by the congestion control
algorithm. PRR also improves accuracy of the amount of data sent
during loss recovery.

The patch implements the recommended flavor of PRR called PRR-SSRB
(Proportional rate reduction with slow start reduction bound) and
replaces the existing rate halving algorithm. PRR improves upon the
existing Linux fast recovery under a number of conditions including:
  1) burst losses where the losses implicitly reduce the amount of
outstanding data (pipe) below the ssthresh value selected by the
congestion control algorithm and,
  2) losses near the end of short flows where application runs out of
data to send.

As an example, with the existing rate halving implementation a single
loss event can cause a connection carrying short Web transactions to
go into the slow start mode after the recovery. This is because during
recovery Linux pulls the congestion window down to packets_in_flight+1
on every ACK. A short Web response often runs out of new data to send
and its pipe reduces to zero by the end of recovery when all its packets
are drained from the network. Subsequent HTTP responses using the same
connection will have to slow start to raise cwnd to ssthresh. PRR on
the other hand aims for the cwnd to be as close as possible to ssthresh
by the end of recovery.

A description of PRR and a discussion of its performance can be found at
the following links:
- IETF Draft:
    http://tools.ietf.org/html/draft-mathis-tcpm-proportional-rate-reduction-01
- IETF Slides:
    http://www.ietf.org/proceedings/80/slides/tcpm-6.pdf
    http://tools.ietf.org/agenda/81/slides/tcpm-2.pdf
- Paper to appear in Internet Measurements Conference (IMC) 2011:
    Improving TCP Loss Recovery
    Nandita Dukkipati, Matt Mathis, Yuchung Cheng

Signed-off-by: Nandita Dukkipati <nanditad@...gle.com>
Signed-off-by: cocafe <cocafehj@gmail.com>
fs/sync: add fsync controller

Signed-off-by: cocafe <cocafehj@gmail.com>
abb-codec: ABBamp audio v2.0b

Audio control module for ST-Ericsson AB850x codec

Credit:
Aditya Patange (Adi_Pat@xda)

Signed-off-by: cocafe <cocafehj@gmail.com>
abb-codec: ABBamp audio v2.1b

ShortCir configuration
Enable HsOscEn
Earpiece Digital Gain
ClassD HighPass Gain
ClassD White Gain

Signed-off-by: cocafe <cocafehj@gmail.com>
abb-codec: ABBamp audio v2.3b

Add mic2(phone,not HSmic) gain.
Optimize volume tables

Next:
Might add ANC stuff
And HSmic gain

Signed-off-by: cocafe <cocafehj@gmail.com>
abb-codec: ABBamp audio 2.4

Enable HsPullDown
Disable HsGainFade
Disable HsShortcir

Simple sysfs entry inputs: (enable/disable -> on/off)

Signed-off-by: cocafe <cocafehj@gmail.com>
abb-codec: optimize anagain3 store

Signed-off-by: cocafe <cocafehj@gmail.com>
random: entropy tweaks are all the rage nowadays

use nonblocking for all.  Read this web page:
http://lwn.net/Articles/489734/ - WIP

commit d19e78c01870bc32e40862b50881bb30fe046933 1 parent 709ec23
maxl authored a day ago voku committed in 12 hours

Signed-off-by: cocafe <cocafehj@gmail.com>
abb-regu: add VOTG sysfs interface

Enable/disable power supply for OTG only.

Signed-off-by: cocafe <cocafehj@gmail.com>
`drivers/power: merge ab8500 chargalg driver

Signed-off-by: cocafe <cocafehj@gmail.com>

Conflicts:
	drivers/power/abb_chargalg.c