I'm running gentoo-kernel-6.1.60 and while I'm trying to use cpupower (from sys-power/cpupower) I get: modprobe: FATAL: Module msr not found in directory /lib/modules/6.1.60-gentoo-dist-hardened Would be great if you can enable CONFIG_X86_MSR
This is currently explicitly disabled by the hardend-*.config[1]. From what I'm reading[2] the rational for this is because this option allows the root user to modify the kernel at runtime. [1] https://github.com/projg2/gentoo-kernel-config/blob/master/hardened-amd64.config [2] https://www.kicksecure.com/wiki/Hardened-kernel
MSR is disabled on purpose for hardened configs, its a security hole because it can send secret commands deep into the CPU. You can re-enable it if you want CPU telemetry. The cpupower .ebuild should probably be patched to include a CONFIG_CHECK item for needing X86_MSR as a warning.
That's enough to auto-close, thanks.