Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1302477
| From | Leo Yan <leo.yan@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 0/4] thermal: re-calculate k_po/k_pu when update sustainable power |
| Date | 2016-01-06 09:50 +0100 |
| Message-ID | <qNRX5-7a9-11@gated-at.bofh.it> (permalink) |
| References | <qNRNo-763-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi all, On Wed, Jan 06, 2016 at 04:30:19PM +0800, Leo Yan wrote: > k_po/k_pu are two proportional term constants and essentially they have > fixed ratio compared with sustainable power. In current implementation, > k_po and k_pu are absolute value after calculation and cannot represent > the ratio relationship with sustainable power; as a result, when change > sustainable power we cannot smoothly change proportional term constant. > > So this patch series introduces k_po_ratio and k_pu_ratio, which > represent the ratio value compared against sustainable power. Also add > sys file system nodes for them for easily update them from userspace and > update a bit in documentation. > > Changes from v1: > * According to Eduardo' comments, move code from thermal_core to > power_allocator file > * According to Daniel's review, v1 will introduce accumulated rounding > errors; v2 patches can dismiss this issue > > Leo Yan (4): > thermal: power_allocator: rework proportional parameter > thermal: power_allocator: change k_pu_ratio/k_po_ratio as percentage > thermal: add sys node for k_pu_ratio/k_po_ratio > thermal: power_allocator: document k_pu_ratio/k_po_ratio > > Documentation/thermal/power_allocator.txt | 15 +++++++++++---- > drivers/thermal/power_allocator.c | 18 ++++++++++++------ > drivers/thermal/thermal_core.c | 23 +++++++++++++++++++++-- > include/linux/thermal.h | 4 ++-- > 4 files changed, 46 insertions(+), 14 deletions(-) Sorry for confusion. I recognized I used duplicated version number, please drop this series; I will send a new v3 series. Thanks, Leo Yan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 0/4] thermal: re-calculate k_po/k_pu when update sustainable power Leo Yan <leo.yan@linaro.org> - 2016-01-06 09:40 +0100 [PATCH v2 2/4] thermal: power_allocator: change k_pu_ratio/k_po_ratio as percentage Leo Yan <leo.yan@linaro.org> - 2016-01-06 09:40 +0100 [PATCH v2 1/4] thermal: power_allocator: rework proportional parameter Leo Yan <leo.yan@linaro.org> - 2016-01-06 09:40 +0100 [PATCH v2 3/4] thermal: add sys node for k_pu_ratio/k_po_ratio Leo Yan <leo.yan@linaro.org> - 2016-01-06 09:40 +0100 [PATCH v2 4/4] thermal: power_allocator: document k_pu_ratio/k_po_ratio Leo Yan <leo.yan@linaro.org> - 2016-01-06 09:40 +0100 Re: [PATCH v2 0/4] thermal: re-calculate k_po/k_pu when update sustainable power Leo Yan <leo.yan@linaro.org> - 2016-01-06 09:50 +0100
csiph-web