msm: cpufreq: increase priority of thread that increases frequencies

When the cpufreq governors request for increase in frequency from kworker
threads, there is chance that the kworker thread is cpu starved due to
other high priority threads, leading to undesirable increase in frequency
ramp-up latency. Add the calling thread to SCHED_FIFO policy when
requesting for increase in frequency and restore back to original policy
after ramp-up is completed.

Change-Id: Ie4fa199b7f9087717cb94dfcc2eddea27cc0012b
Signed-off-by: Narayanan Gopalakrishnan <nargop@codeaurora.org>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
Revert "Revert "msm: cpufreq: Always update frequency limits when core is online""

This reverts commit 3af775a07829cbd3e183863883175ab21b20e510.
Revert "Revert "msm: cpufreq: Configure WQ for higer priority""

This reverts commit 4cdc8bbf5d765e3ea500d41b3377bf75e3873fe1.
Revert "Revert "msm: cpufreq: Relax constraints on "msm-cpufreq" workqueue""

This reverts commit 9cb7e97e6efa5727f3f7bfa2ad176dacd9f92ed5.
Revert "Revert "msm: cpufreq: Ensure cpufreq change happens on corresponding CPU""

This reverts commit 3f5922cec627e71c3cacfe6d1d768b855a7cf0a8.
Revert "Revert "msm: cpufreq: Add support for CPU clocks and msm-cpufreq device""

This reverts commit 26e114f45e21464a62453939a0f6bf75410b1ace.
Revert "Revert "msm: cpufreq: Update frequency index""

This reverts commit b5c8fc7353628e68d3f7ecfbb362086a39777e67.