mach-msm: mpdecision: restructure locks, add delay

The new delay allows the CPU to come up before any other action is taken.
This prevents fast plugging and also ensures the CPU hotplug process
is really done, before trying to unplug it again (or plug it).

The new locks are more efficient, and only used if necessary.

Change-Id: I0d8ae8a19f16c90cf776f0e701dfe8007099c018
Signed-off-by: showp1984 <showp1984@gmail.com>
mach-msm: mpdecision: pause if CPU is unplugged outside of mpdecision

This fixes cpu wars if something else tries to control the cpus.
default delay: 10000ms

Change-Id: If61ce3c1317ae362c323e1b0b8bfc5bfff47defc
Signed-off-by: showp1984 <showp1984@gmail.com>
mach-msm: mpdecision: change early_suspend_level to blank_screen

Change-Id: I1dbb39575981f6b901b351a77e5319adeda29216
Signed-off-by: showp1984 <showp1984@gmail.com>
mach-msm: mpdecision: don't start immediately

Change-Id: I49c1b1f35005ffa19916d0aacd3163f1d29eddde
Signed-off-by: showp1984 <showp1984@gmail.com>
mach-msm: mpdecision: show cpumask after up/down

Change-Id: Ib1b77347f54323a15c22b9af688148f0f57fabce
Signed-off-by: showp1984 <showp1984@gmail.com>
mach-msm: mpdecision: always set the suspend var

Change-Id: Id10a033a1ad8417b14a86cbfd7189ab04333f474
Signed-off-by: showp1984 <showp1984@gmail.com>
mach-msm: mpdecision: remove up/down delay, our default delay is large enough

Change-Id: I869e95bd9c37fddb0d348789f5f665f17fbe38f8
Signed-off-by: showp1984 <showp1984@gmail.com>
mach-msm: mpdecision: add email to (c)

Change-Id: Ieffa72c3ecf0846f19d29211469530d9ec4c5254
Signed-off-by: showp1984 <showp1984@gmail.com>
mach-msm: mpdecision: fix foreign hotplug/unplug detection

Signed-off-by: showp1984 <showp1984@gmail.com>

Conflicts:

	arch/arm/mach-msm/msm_mpdecision.c

Change-Id: I69defaccefd7e142beaf9b77ca5b6950ad7534e0
mach-msm: mpdecision: show how long the cpu was online

Change-Id: I2ee8a96baef29d9e72f952a155ed008ce226bd5e
Signed-off-by: showp1984 <showp1984@gmail.com>
mach-msm: mpdecision: rename msm_mpdec_suspend to msm_mpdec_cpudata

Since this is being used for more than suspend stuff the old name
just isn't accurate anymore.

Change-Id: I119159b5124aafbd23dfcbf88ab478d2d1f42e13
Signed-off-by: showp1984 <showp1984@gmail.com>
mach-msm: mpdecision: add sysfs interface

Change-Id: Ic79683cb23ee49bddda1a75f70dcb7951f6bb943
Signed-off-by: showp1984 <showp1984@gmail.com>