Commit graph

78 commits

Author SHA1 Message Date
erpalma
fa66ea1033 handle EIO errno when reading/writing MSRs (fix #242) 2021-03-19 19:22:06 +01:00
erpalma
27feba1a71 better cpu detection (fix #243) 2021-03-19 19:17:19 +01:00
erpalma
03fd246825 Print a warning if different MSR values are read. Fix #231 2020-12-22 09:46:17 +01:00
erpalma
1fd44fdc30 Add allow_writes=on to the MSR module parameters. Workaround for #206, #215 and #228 2020-12-22 09:45:49 +01:00
erpalma
99148e27f0 switched to a more readable key/value structure for accessing MSR 2020-12-22 09:12:59 +01:00
Bastian Köcher
b0e1dd9920 Adds more Comet Lake identifiers
This adds the CPU identifier used by i7-10875H.
2020-10-12 23:59:02 +02:00
Hayden Briese
320243dafe Added 'Autoreload' config option 2020-08-11 16:16:20 +10:00
Hayden Briese
7b20337840 Set HWP mode when reloading 2020-08-11 10:07:27 +10:00
hbriese
49efc27c1e Merge branch 'master' into reload_when_modified
Updated branch to master
2020-08-11 10:05:24 +10:00
Hayden Briese
8187202fba Ability to restore HWP mode to 'default' 2020-08-09 17:13:51 +10:00
hbriese
8d598f524c Set undervolt & icc max on reload 2020-08-09 14:18:51 +10:00
hbriese
46a062e14d Don't reload changes when the config file has been deleted 2020-08-07 17:12:18 +10:00
hbriese
dfdda3b1b7 Reload config when modified 2020-08-07 16:58:36 +10: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