66 Commits

Author SHA1 Message Date
cryobry
7ac6c775a6 Merge upstream 2020-11-09 10:48:40 -05:00
erpalma
88216b119a add Comet Lake to the list of supported cpus (fix #150) 2020-02-20 10:30:08 +01:00
erpalma
e897f95385 add logging to indicate that throttled is disabled in config file (fix #173) 2020-02-20 10:10:50 +01:00
Pedro Nariyoshi
d118ddc0a3 Remove extra line to make PR cleaner 2020-01-29 10:29:56 -05:00
Pedro Nariyoshi
f2ee9ed38d Implement Disable_BDPROCHOT 2020-01-29 10:27:05 -05:00
Pedro Nariyoshi
b5e52c03f4 Parse Disable BDPROCHOT option 2020-01-29 09:53:21 -05:00
erpalma
763e948882 reworked logging, now supports log to file (fix #152 and #139) 2019-11-26 17:41:26 +01:00
erpalma
c89c12475a Relaxed checks for /dev/mem access. Fix #136 2019-09-06 09:34:22 +02:00
erpalma
6e54199a2b Add a check for mismatched CORE/CACHE undervolt values (see #130, #133) 2019-08-20 11:31:22 +02:00
erpalma
1008af57c9 fix PL2_Duration_S parsing + set Clamp Mode bit (16) to the boot value (thanks Andrea Arcangeli) 2019-07-12 15:09:54 +02:00
erpalma
95aa5b1e02 new HWP handling (see #121) 2019-06-10 12:13:26 +02:00
erpalma
952128dc21 code formatting 2019-04-16 16:50:17 +02:00
erpalma
74937fdee5 use dbus method in HWP if available 2019-04-11 18:07:24 +02:00
erpalma
be756a1f86 Add IccMax override feature 2019-03-06 12:26:37 +01:00
erpalma
33f0412bea typo, fix #102 2019-02-18 10:44:56 +01:00
erpalma
56a91aaf6f fix logging to systemd and switch to stderr for warning and fatal 2019-01-24 08:52:56 +01:00
erpalma
25eabce346 Add more power detection methods 2019-01-21 16:54:40 +01:00
erpalma
4972b29a19 add fatal/warning error handler 2019-01-21 16:54:23 +01:00
erpalma
5ce7af6463 add experimental code to check if the hardware is compatible with the tool 2018-12-27 14:00:20 +01:00
erpalma
d2361431cb error handling cleanup 2018-12-27 13:58:16 +01:00
erpalma
c7e292e282 add power profile-based undervolting (fix #79) 2018-12-11 11:40:23 +01:00
erpalma
668f023868 print the actual power source (AC/BATTERY) in --monitor mode 2018-12-11 11:08:30 +01:00
erpalma
003278cafd typo.... (bad day) 2018-11-07 16:26:55 +01:00
erpalma
5a96b88944 try to load configs modules + decode gzip output (see #67) 2018-11-07 16:21:54 +01:00
erpalma
0189170a40 fix #66 2018-11-07 11:24:17 +01:00
erpalma
8677de6f96 add some more monitoring stuff: Vcore, Package, Graphics and DRAM power consumption 2018-11-07 11:19:23 +01:00
erpalma
57faf388e9 debug leftover 2018-11-06 12:15:04 +01:00
erpalma
9636a5de83 add realtime monitoring of throttling causes 2018-11-06 12:10:52 +01:00
erpalma
105f87c0ff switch to black formatter 2018-11-06 11:07:54 +01:00
erpalma
76e097663c further kernel config checks, related to #65 2018-11-06 11:06:03 +01:00
tSte
b8ef7b72e5 Update MSR access debug message; Update readme 2018-11-06 07:11:37 +01:00
erpalma
301a57aa0f fix a bug caused by args swap 2018-09-20 09:48:01 +02:00
erpalma
f10c269c9a built-in cpu usage calculation + drop psutil dependency 2018-09-11 17:14:01 +02:00
erpalma
8ef50d57ce config values can be commented out to disable (fix #51) 2018-09-03 17:07:00 +02:00
erpalma
494ea7f595 Sysfs_Power_Path can now be set in the config file (#48) 2018-09-01 10:10:49 +02:00
erpalma
ee5399e854 add some colors to debug mode 2018-08-30 14:12:48 +02:00
erpalma
23730180f0 show undervolt planes values in mV in debug 2018-08-30 14:00:44 +02:00
erpalma
f7cb2e4bd4 fix #38 2018-08-22 12:07:42 +02:00
erpalma
2e7646d824 code format 2018-08-22 12:07:14 +02:00
DEvil0000
d779ecd0ca adding a lot more debug output and some minor refactoring 2018-08-21 19:56:50 +02:00
erpalma
456579a969 add more debug info 2018-08-14 15:21:15 -07:00
erpalma
04b68a1428 remove unused import 2018-08-14 15:16:20 -07:00
erpalma
0dcf7c1cdb fix typo 2018-08-14 15:15:33 -07:00
erpalma
ed06353021 add debug option to check the written values 2018-08-13 15:44:18 -07:00
erpalma
a463f753ee read msr from a single cpu unless otherwise needed 2018-08-13 15:43:29 -07:00
erpalma
015f3feedd moved checks before the loop for efficiency
de-hardcode the CPU critical temperature by reading from the MSR
2018-08-13 14:40:18 -07:00
erpalma
1d521818e5 more pythonic ;) 2018-08-13 14:37:42 -07:00
erpalma
063bc0c5aa just refactoring 2018-08-13 14:27:47 -07:00
DEvil0000
ce4f836a20 add some checks and read msrs 2018-08-07 14:16:08 +02:00
DEvil0000
7002abf303 add function to readmsr values 2018-08-06 11:52:04 +02:00