linux-uconsole/kernel/power
Lukasz Luba 9580671a65 UPSTREAM: PM: EM: Add a flag indicating units of power values in Energy Model
There are different platforms and devices which might use different scale
for the power values. Kernel sub-systems might need to check if all
Energy Model (EM) devices are using the same scale. Address that issue and
store the information inside EM for each device. Thanks to that they can
be easily compared and proper action triggered.

Suggested-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Quentin Perret <qperret@google.com>
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

(cherry picked from commit c250d50fe2)
Bug: 171409184
Change-Id: Ie6dc51db1e431b7287ed986114ce2f5b6732bd3b
Signed-off-by: Rishabh Bhatnagar <quic_rishabhb@quicinc.com>
2021-03-02 17:34:28 -08:00
..
autosleep.c PM / wakeup: Show wakeup sources stats in sysfs 2019-08-21 00:20:40 +02:00
console.c
energy_model.c UPSTREAM: PM: EM: Add a flag indicating units of power values in Energy Model 2021-03-02 17:34:28 -08:00
hibernate.c Power management updates for 5.10-rc1 2020-10-14 10:45:41 -07:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
main.c notifier: Fix broken error handling pattern 2020-09-01 09:58:03 +02:00
Makefile Merge faa392181a ("Merge tag 'drm-next-2020-06-02' of git://anongit.freedesktop.org/drm/drm") into android-mainline 2020-06-12 15:13:27 +02:00
power.h notifier: Fix broken error handling pattern 2020-09-01 09:58:03 +02:00
poweroff.c kernel/power: constify sysrq_key_op 2020-05-15 14:53:20 +02:00
process.c ANDROID: power: add vendor hooks for try_to_freeze fail 2021-02-04 23:55:59 +00:00
qos.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
snapshot.c kernel/: fix repeated words in comments 2020-10-16 11:11:19 -07:00
suspend.c Merge dd502a8107 ("Merge tag 'core-static_call-2020-10-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-mainline 2020-10-21 12:04:36 +02:00
suspend_test.c PM: sleep: Switch to rtc_time64_to_tm()/rtc_tm_to_time64() 2019-12-20 09:58:08 +01:00
swap.c PM: hibernate: flush swap writer after marking 2021-02-03 23:28:40 +01:00
user.c block-5.10-2020-10-12 2020-10-13 12:12:44 -07:00
wakelock.c PM / wakeup: Show wakeup sources stats in sysfs 2019-08-21 00:20:40 +02:00
wakeup_reason.c ANDROID: power: Export log_{suspend_abort,abnormal_wakeup}_reason 2020-08-25 00:32:03 +00:00