add Comet Lake to the list of supported cpus (fix #150)
This commit is contained in:
@@ -77,6 +77,7 @@ supported_cpus = {
|
|||||||
'Kaby Lake (R)': (0x8E, 0x9E),
|
'Kaby Lake (R)': (0x8E, 0x9E),
|
||||||
'Coffee Lake': (0x9E,),
|
'Coffee Lake': (0x9E,),
|
||||||
'Cannon Lake': (0x66,),
|
'Cannon Lake': (0x66,),
|
||||||
|
'Comet Lake': (0xA6,),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -530,8 +531,8 @@ def set_hwp():
|
|||||||
|
|
||||||
def set_disable_bdprochot():
|
def set_disable_bdprochot():
|
||||||
# Disable BDPROCHOT
|
# Disable BDPROCHOT
|
||||||
cur_val = readmsr(0x1FC,flatten=True)
|
cur_val = readmsr(0x1FC, flatten=True)
|
||||||
new_val = (cur_val & 0xFFFFFFFFFFFFFFFE)
|
new_val = cur_val & 0xFFFFFFFFFFFFFFFE
|
||||||
|
|
||||||
writemsr(0x1FC, new_val)
|
writemsr(0x1FC, new_val)
|
||||||
if args.debug:
|
if args.debug:
|
||||||
|
|||||||
Reference in New Issue
Block a user