Re: [PATCH] thermal: re-calculate k_po/k_pu when update sustainable power

2015-12-29 Thread kbuild test robot
Hi Leo, [auto build test ERROR on thermal/next] [also build test ERROR on v4.4-rc7 next-20151223] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

[PATCH] thermal: re-calculate k_po/k_pu when update sustainable power

2015-12-29 Thread Leo Yan
k_po/k_pu are in essence ratio values compared with sustainable power. So when update sustainable power, we can recalculate k_po/k_pu simply with below formula: sustainable_power(new) k_p(new) = -- * k_p(old) sustainable_power(old)

Re: [PATCH] thermal: re-calculate k_po/k_pu when update sustainable power

2015-12-29 Thread kbuild test robot
Hi Leo, [auto build test ERROR on thermal/next] [also build test ERROR on v4.4-rc7 next-20151223] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

[PATCH] thermal: re-calculate k_po/k_pu when update sustainable power

2015-12-29 Thread Leo Yan
k_po/k_pu are in essence ratio values compared with sustainable power. So when update sustainable power, we can recalculate k_po/k_pu simply with below formula: sustainable_power(new) k_p(new) = -- * k_p(old) sustainable_power(old)