tokenring: delete all remaining driver support

This represents the mass deletion of the of the tokenring support.

It gets rid of:
  - the net/tr.c which the drivers depended on
  - the drivers/net component
  - the Kbuild infrastructure around it
  - any tokenring related CONFIG_ settings in any defconfigs
  - the tokenring headers in the include/linux dir
  - the firmware associated with the tokenring drivers.
  - any associated token ring documentation.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

Conflicts:
	net/802/tr.c

Signed-off-by: renderbroken <zkennedy87@gmail.com>
Revert "ARM: SoC: convert MSM to SMP operations"

This reverts commit 9dc8d93a22e027ee42af2ba5686b3c3cb5df38f4.

Revert "ARM: smp: remove wrapper functions"

This reverts commit b124a348242bd2fa3a7637c8c5f706e8b94caa14.

Revert "ARM: smp: Make SMP operations mandatory"

This reverts commit a5b7c15b29ac4e4a5e18723aa0206043e660d556.

There are no functional advantages that justify diverging from
caf branches.
PM: devfreq: Define tunables with a static scope

https://github.com/myfluxi/kernel_msm/commit/a77252e3458ee23a404837c983bef74e7f1767ba

Conflicts:
	drivers/devfreq/governor_conservative.c

Signed-off-by: renderbroken <zkennedy87@gmail.com>
msm: hotplug: Readd suspend max cpus and frequency options

We had this ages ago.

Dorimanx note:
this is full merge but in other locations.

https://github.com/myfluxi/kernel_msm/commit/d19b137942899073170e44fb661cdb38d0d2afff
drivers: video: Separate LCD notifier define
Signed-off-by: renderbroken <zkennedy87@gmail.com>
msm: hotplug: Use load dependent update rates
msm: hotplug: Fix another derp
msm: hotplug: Add suspend_defer_time

* suspend/resume helpers, now we can control suspend delay.
* As name suggest, suspend takes are place after some
  delay when screen is turned off. Default - 5 seconds.
* If user resumes device before suspend_defer_time seconds,
  all cores go online as before but suspend work is
  canceled and rescheduling is not done.
* If screen is turned off and suspend_defer_time is exceeded,
  all sibling cores shut down as before. While resuming,
  all cores go online for downlock duration and hotplug
  resumes working.

* Restructure msm_hotplug_mutex and suspended variables.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>

Dorimanx note:
I have merge all! just with small changes, and adaptations.

Thanks @neobuddy89 i like your style! chat free with me in github :)

https://github.com/neobuddy89/hammerhead_kernel_caf/commit/1beb0b36fdb507f138c4c9275ee4e1f1f48c7c1b
MSM HOTPLUG: Allow to use work delay on Suspend using Power/early suspend.
MSM HOTPLUG: optimize suspend/resume functions. Read More.

Mods based on neobuddy89 source.

*Set LCD Notify and main suspend/resume if set in config.
*If kernel has none of the 3 supported suspend/resume structures,
do not use any suspend/resume functions.
*Optimize defines to MAX shrink in code :)

Thanks to neobuddy89
https://github.com/neobuddy89/hammerhead_kernel_caf/commit/310f1e1411c32704dc449debd163396f0f71fa1c
MSM HOTPLUG: increase DEFAULT_FAST_LANE_LOAD to 120.

My CPU's going crazy on idle, always jump to max and all enabled.

after setting DEFAULT_FAST_LANE_LOAD to 120, now calm as should.
LINARO fixes for better ARM support. + small code corrections. by @bruce2728

https://github.com/bruce2728/kernel_lge_d802/commit/97280f182e1fbd1e36300727ae0ce50efa7f153f
https://github.com/bruce2728/kernel_lge_d802/commit/eee1f26f35502ca2f0fb3424309de7aea53d2c94

Conflicts:
	arch/arm/boot/compressed/Makefile
	net/bluetooth/hci_conn.c

Signed-off-by: renderbroken <zkennedy87@gmail.com>
Disable SCHED CORE Trace CRAP.

Conflicts:
	kernel/sched/core.c

Signed-off-by: renderbroken <zkennedy87@gmail.com>
cpu-boost: Lower plug_boost_freq to 384MHz, raise sync_freq to 787MHz, and lower input_boost_freq to 600MHz
These values are more conservative than before.

Signed-off-by: renderbroken <zkennedy87@gmail.com>
Revert "msm: kgsl: Add new API's to track device mutex owner"

This reverts commit 04925f285206b2c2795c6c16dfc1f9a6d29a5426.

Conflicts:
	drivers/gpu/msm/adreno.c
	drivers/gpu/msm/kgsl_iommu.c

Signed-off-by: renderbroken <zkennedy87@gmail.com>
msm: hotplug: Add missing ifdef for mutex

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
cpufreq: cpu-boost: Implement additional checks

* Return early without calculations if last
  input_boost_work is pending.
* Disable input boost if input_boost_freq value is
  less than or equal to min possible frequency.
* Disable hotplug boost if plug_boost_freq value is
  less than or equal to min possible frequency.
* When we check for current frequency greater than
  boost frequency, also check if boost is removed
  properly or not. If not, do so.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
msm: hotplug: Shrink ifdef usage

* There is no functional change in this commit.
* Add #ifdef wherever required for compilation.
* Shrink where it is already used.
* Reposition suspend_defer_time attribute.

https://github.com/dorimanx/Dorimanx-LG-G2-D802-Kernel/commit/0610ec687e802bc1f2ca94acc6ff19565a202d41

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>

Conflicts:
	arch/arm/mach-msm/msm_hotplug.c

Signed-off-by: renderbroken <zkennedy87@gmail.com>
Revert "tokenring: delete all remaining driver support"

This reverts commit d59cc7a047fcd5f32f089dee73894d8d75f2b352.
Revert "msm: kgsl: Add new API's to track device mutex owner" Missed Merge?

This reverts commit 04925f285206b2c2795c6c16dfc1f9a6d29a5426.

Conflicts:
	drivers/gpu/msm/adreno.c
	drivers/gpu/msm/kgsl_iommu.c

Signed-off-by: renderbroken <zkennedy87@gmail.com>