OSDN Git Service

msm: thermal: Initialize KTM interrupt mode at kernel late init level
authorManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Fri, 9 Mar 2018 11:29:26 +0000 (16:59 +0530)
committerManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Wed, 28 Mar 2018 12:52:38 +0000 (18:22 +0530)
commit255ce53eb8945888a241d2bba2d371071a4af9dc
tree8af08f6d49cfcded39cf4dbbe54d6befdd918fae
parentde111ce20e214694791b10a106f6910f440fec4c
msm: thermal: Initialize KTM interrupt mode at kernel late init level

KTM prolong KTM hotplug mitigation, cpu frequency mitigation etc. till
thermal-engine takes over. It is helping thermal runaway issues during
the boot time from KTM kernel late init level to thermal-engine
starts. Since BCL is also using KTM interface for mitigation, it
delays BCL mitigation till thermal-engine starts. Again target which
has LMH support enables Tj based mitigation very early in the boot.
So there is no risk of thermal runaway issues mentioned above.

Enable KTM interrupt mode mitigation back from kernel late init
itself. This reverts commit <07f3dcfc7f7c> ("msm: thermal: Prolong
KTM mitigation till thermal-engine takesover").

Change-Id: I7e4beaed2dd003c6ed36cc10e4bf003826fad827
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
drivers/thermal/msm_thermal.c