Revert "mm/pagewalk.c: walk_page_range should avoid VM_PFNMAP areas"

This reverts 7244c108264b441a703f5b446d17a627da50af00 as it
caused crazy memory corruption.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
cpufreq: ondemand: Remove sync thread feature

This is redundant and racy, we are syncing cpu frequencies
in cpu-boost.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
ASoC: msm: qdsp6v2: Release IPA mapping

When DSP has a SMMU associated with it, audio driver will allocate
(KVA)kernel virtual address and (IPA)intermediate physical
address.When freeing memory audio driver should release IPA and KVA
mappings. Change fixes the issue where IPA mapping was not released

Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Revert "ASoC: wcd9xxx: introduce headphone impedance detection support"

This reverts commit 6b60b959231f48817bc9974d05ddad4d582060aa.
Revert "ASoC: wcd9xxx: fix class H controller driver to handle concurrency"

This reverts commit 7a75715f631bda60281e46dc12f346b9c71b42a7.
Revert "ASoC: wcd9320: Update buck control and mode registers"

This reverts commit 92b8e5e766743afbe3a5349ca5638cfff8b193d2.
Revert "ASoC: wcd9xxx: Apply class H parameters based on impedance"

This reverts commit 5b283b8c9e8118080cfd31dd8dc359a630dc4941.
Revert "ASoC: wcd9xxx: Enhance class H controller to support dynamic CP voltage"

This reverts commit 13fae1aaf381893b522e50465daba5f332018503.
cpufreq: Break out early if freq equals to target_freq

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
cpufreq: create a helper function to get CPU utilization. Picked from @stratosk

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
mako_hotplug: instead of calculating the load every sample (which is kinda expensive) we can use the governors load calculation instead of trying to recreate the same thing (adding unecessary overhead). Also cleanup some code.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
cpufreq: export the cpu load across cores to the policy struct. On Performance governor let's emulate a constant 100% load (in this Kernel's case it will make all cores online, which is kinda the purpose of a performance governor isn't it?).

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
cpufreq: Initial CPU utilization should be 0

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
msm: thermal: improve some codes.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Merge branch 'nightlies' of github.com:franciscofranco/hammerhead into nightlies