mirror of
https://github.com/erpalma/throttled.git
synced 2026-01-28 03:14:21 +01:00
Set default MCHBAR for more CPU families
Added MCHBAR_BASE 0xFEDC0001 as default for Alder Lake -HX, S and Tiger Lake
This commit is contained in:
parent
19a1d1ca41
commit
ccc25f0371
|
|
@ -690,7 +690,7 @@ def power_thread(config, regs, exit_event, cpuid):
|
|||
except CalledProcessError:
|
||||
warning('Please ensure that "setpci" is in path. This is typically provided by the "pciutils" package.')
|
||||
warning('Trying to guess the MCHBAR address from the CPUID. This MIGHT NOT WORK!')
|
||||
if cpuid in ((6, 151, 2), (6, 154, 3)):
|
||||
if cpuid in ((6, 140, 1),(6, 141, 1),(6, 151, 2),(6, 151, 5), (6, 154, 3),(6, 154, 4)):
|
||||
MCHBAR_BASE = 0xFEDC0001
|
||||
else:
|
||||
MCHBAR_BASE = 0xFED10001
|
||||
|
|
|
|||
Loading…
Reference in a new issue