Closed programmingzor closed 3 years ago
Linux 5.9 and 5.10 started to remove msr support. Maybe a fopen / fgets / strstr at "Write to unrecognized MSR" would be required on /var/log/kern.log, to detect if the operation was succesfull, or the kernel blocked the call alltogether.
Setting /sys/module/msr/parameters/allow_writes to on at runtime seems to work for now also.
/sys/module/msr/parameters/allow_writes
on
Linux 5.9 and 5.10 started to remove msr support. Maybe a fopen / fgets / strstr at "Write to unrecognized MSR" would be required on /var/log/kern.log, to detect if the operation was succesfull, or the kernel blocked the call alltogether.