RyzenAdj icon indicating copy to clipboard operation
RyzenAdj copied to clipboard

Doesnt Work With secure boot

Open fnyaker opened this issue 2 years ago • 3 comments

Hi I know it kinda sounds dumb but, with secure boot enabled and kernel in lockdown mode, ryzenadj doesnt work. Will there be a chance that it will get integrated in the mainline kernel ?

fnyaker avatar Apr 09 '24 19:04 fnyaker

I think zero chance here. You may check https://github.com/FlyGoat/RyzenAdj/issues/231 for other workarounds.

FlyGoat avatar Apr 10 '24 09:04 FlyGoat

i see ,it works, but it is still a security flaw, did amd released something that can allow tweaking the cpu on linux? some kind of exposing the management engine with a "socket", and make possible editing cpu values via /sys/class configs ?

fnyaker avatar Apr 26 '24 13:04 fnyaker

@MARTINrichard05 As a kernel maintainer I would say zero chance for mainline kernel to accept such thing. All power management stuff are meant to be handled by ACPI and AMD PMF. We are basically bypassing those standard interfaces in RyzenAdj. Building our own out of tree kernel module is possible, but you still have to get the module signed to load on lockdown kernel.

Honestly I don’t understand what’s the point here. Using RyzenAdj means you are a pro user who understand what you are doing, then for sure you can manage your system integrity.

FlyGoat avatar Apr 26 '24 18:04 FlyGoat