add kernel-based msm thermal management
thanks to MikeC84, faux123, and coolexe