diff options
author | CyrIng <labs@cyring.fr> | 2024-03-20 12:25:18 +0100 |
---|---|---|
committer | CyrIng <labs@cyring.fr> | 2024-03-20 12:25:18 +0100 |
commit | 49e4e2bc812f0a10467a00a6f9fb2c06e860a760 (patch) | |
tree | 0e18062412b27812541321c036bf9768debb31e9 | |
parent | 87db6caf65482f179b75ea2a9f5182c4b5f35675 (diff) |
[CR][AMD] Make sure not to mask Thermal Trip event
-rw-r--r-- | x86_64/corefreqk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/x86_64/corefreqk.c b/x86_64/corefreqk.c index 110e95d..9051f32 100644 --- a/x86_64/corefreqk.c +++ b/x86_64/corefreqk.c @@ -15777,7 +15777,7 @@ static void Core_AMD_Family_17h_ThermTrip(CORE_RO *Core) Core->PowerThermal.Events[eSTS] = \ (Bit64)ThermTrip.THERM_TP << LSHIFT_THERMAL_STS; } - Core->PowerThermal.Events[eSTS] = \ + Core->PowerThermal.Events[eSTS] |= \ (Bit64)ThermTrip.CTF_THRESHOLD << LSHIFT_CRITIC_TMP; } |