support for Goldmont Plus

This commit is contained in:
Andreas Abel
2022-01-08 00:53:37 +01:00
parent 9c12de2c70
commit 6e55106bf5
5 changed files with 552 additions and 5 deletions

View File

@@ -272,8 +272,6 @@ if readFile('/sys/devices/system/cpu/smt/active').startswith('1'):
print('Note: Hyper-threading is enabled; it can be disabled with "sudo ./disable-HT.sh"', file=sys.stderr)
prevNMIWatchdogState = readFile('/proc/sys/kernel/nmi_watchdog').strip()
print(prevNMIWatchdogState)
print(prevNMIWatchdogState != '0')
if prevNMIWatchdogState != '0':
writeFile('/proc/sys/kernel/nmi_watchdog', '0')