Blacklist k10temp on AMD Zen machines

This commit is contained in:
Erwin Boskma 2024-10-02 12:12:44 +02:00
parent 5a4cde64ac
commit dbc235cdbf
Signed by: erwin
SSH key fingerprint: SHA256:OCinH/khuGY1LA9RG8YLM8GNH6C1DDXBdy3SNE+I5Hw
2 changed files with 13 additions and 4 deletions

View file

@ -133,6 +133,9 @@
"zenpower"
"nf_nat_ftp"
];
blacklistedKernelModules = [
"k10temp"
];
kernelParams = [ "amd_pstate.shared_mem=1" ];
extraModulePackages = with config.boot.kernelPackages; [
cpupower

View file

@ -146,7 +146,6 @@
# Use the systemd-boot EFI boot loader.
boot = {
kernelPackages = pkgs.linuxPackages_6_10;
initrd = {
availableKernelModules = [
"nvme"
@ -158,15 +157,22 @@
];
kernelModules = [ "dm-snapshot" ];
};
# NVIDIA driver is broken with Linux 6.11
kernelPackages = pkgs.linuxPackages_6_10;
kernelModules = [
"kvm-amd"
"apple-mfi-fastcharge"
"zenpower"
];
extraModulePackages = with config.boot.kernelPackages; [
zenpower
cpupower
blacklistedKernelModules = [
"k10temp"
];
extraModulePackages = with config.boot.kernelPackages; [
cpupower
zenpower
];
loader = {
systemd-boot = {
enable = true;